Linux background introduction
1. Linux version
- Kernel version: www.kernel.org (major version number, minor version number, last version number)
- 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
- Install a virtual machine: VirtualBox and VMvare
- Install the Linux CentOS operating system on the virtual machine download address
- Network connection settings:
- Bridge mode: directly connected to the physical network (the virtual host is equivalent to an independent computer)
- NAT mode: used to share the IP of the host (external terminals cannot access the virtual machine)
- Host-only mode: private network shared with the host (virtual machines cannot access external networks)
- Adjust the graphical interface to the command line mode:
init 3
- User difference: [Ordinary user]
$
[Super user]#
- Common Directory Structure
/
Root directory/root root
user's home directory/home/username
Normal user's home directory/etc
configuration file directory/bin
command directory/sbin
Directory of administrative commands/usr/bin/ /usr/sbin
Other commands pre-installed on the system
- shutdown
init 0