Chapter -Linux Basics

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_34691097/article/details/102746210

title: Chapter Linux Basics linux entry
categories:

  • Linux
    tags:
  • linux
    abbrlink: 3791945740
    date: 2019-08-05 15:16:47

Getting Started Chapter linux Linux Basics

2.1 Linux Introduction

  • An operating system, free, open source, safe, efficient, stable, high concurrency processing tough.
  • Founder: linus
  • Mascot: penguin tux
  • The main releases: Ubuntu, centOS, Redhat, Suse, Red Flag Linux
  • Major operating systems: windows, linux, Ios, etc.

2.2 Linux and Unix relationship

Chapter Linux Basics VM and Linux systems installed

The installation and use qemu

3.1 Qumu installation

3.2 Create a virtual machine and start

sudo x86_64-softmmu/qemu-system-x86_64 -m 2048 -enable-kvm centos.img -cdrom ./linux-iso/CentOS-7-x86_64-Minimal-1810.iso

Chapter IV Linux Basics Linux directory structure

4.1 tree structure, in the top of the structure is the root directory /, create additional sub-directory under the directory

Classic: ** In the Linux world, everything is a file **

4.2 Directory Structure

/ bin common commands

/ sbin super administrator command

/ home storage of common user directory

/ root system administrator directory

/ lib dynamic library

/ lost + found is usually empty, store some system files after illegal shutdown

/ etc configuration files and subdirectories

/ usr user applications and file storage directory

/ boot boot linux core document

/ dev management device

/ media equipment directory

Do not operate the directory


/ proc system memory map

/ srv store some data to be extracted after the service starts

/ sys The file system is a 2.6 kernel emerging directory where you installed


/ tmp temporary files

/ mnt allows users to temporarily mount other systems

/ opt to install additional software host the placing of a directory, the default is empty

/ usr / local to another host to install additional software installation directory

/ var store things expanding, and it will often be used to modify directories in this directory, logs, etc.

{% asset_img 3.png %}

4.3 summarize

  • linux directory is only one root directory
  • linux directory to store the contents of each are planned
  • linux manage our device in the form of documents, so everything is a file linux
  • Storing the contents of each file directory under linux, have some knowledge

Guess you like

Origin blog.csdn.net/qq_34691097/article/details/102746210