Linux installation and directory introduction - Linux learning (1)

Linux Command Line Tricks

Linux background introduction

1. Linux version

  1. Kernel version: www.kernel.org (major version number, minor version number, last version number)
  2. Distributions:
    1. RedHat Enterprise Linux (stable, tested version. Charged)
    2. Fedora (community free version)
    3. CentOS (free, stable version)
    4. Debain, Ubuntu desktop version

2. Linux installation

  1. Install a virtual machine: VirtualBox and VMvare
  2. Install the Linux CentOS operating system on the virtual machine download address
  3. Network connection settings:
    1. Bridge mode: directly connected to the physical network (the virtual host is equivalent to an independent computer)
    2. NAT mode: used to share the IP of the host (external terminals cannot access the virtual machine)
    3. Host-only mode: private network shared with the host (virtual machines cannot access external networks)
  4. Adjust the graphical interface to the command line mode:init 3
  5. User difference: [Ordinary user] $[Super user]#
  6. Common Directory Structure
    1. /Root directory
    2. /root rootuser's home directory
    3. /home/usernameNormal user's home directory
    4. /etcconfiguration file directory
    5. /bincommand directory
    6. /sbinDirectory of administrative commands
    7. /usr/bin/ /usr/sbinOther commands pre-installed on the system
  7. shutdowninit 0

Guess you like

Origin blog.csdn.net/u013795102/article/details/118964903