Narrow Linux: Linux kernel code developed by Linus Torvalds
Generalized Linux: Linux distribution operating system developed by Linux manufacturers based on Linux kernel
• 1968 Multics project
• UNIX was born in 1970
• Rewrite UNIX in C language in 1973
• In 1975, Bell Labs allowed universities to use UNIX
• Character Linus Torvalds
• Version 0.0.1 in 1991
• Version 0.0.2 in 1992
• Version 1.0 in 1994
• 2003 version 2.6
• Red Hat Linux: Red Hat Linux (Enterprise Edition + Free Edition CentOS)
• SuSE Linux: a more mature operating system
• Debian Linux: The interface is very beautiful, and personal edition users use it more
• Red Flag Linux: Red Flag Linux
• Blue Point Linux: Blue Point Linux
• ubunt* Linux: The interface is very beautiful, currently the most used Linux in the domestic personal version
• Linux-based server
• Embedded
Smart home appliances, Karaoke VOD system, banking system...
Low cost, Linux operating system is free
Open source, find loopholes in the first time and solve loopholes. The system can be customized.
Security is good. Linux has adopted many security measures, including control of read and write permissions and core authorization.
The so-called virtual machine is to use the virtual machine software to virtualize a virtual system (Linux) operating environment in our real machine operating system (host machine).
The installation process (omitted), after the installation is complete, the effect is shown in the following figure:
Tips:
1 ) Use a bridged network: the virtual machine ip is in the same network segment as the local machine, the local machine and the virtual machine can communicate through ip, the virtual machine can be connected to the network when the local machine is connected to the network, and the virtual machine can communicate with other hosts in the network segment. This mode is often used in server environment architecture.
2 ) Use network address translation (NAT): The virtual machine can be connected to the network and communicate with the local machine, but cannot communicate with other hosts in the local network segment.
3 ) Use host-only mode network: the virtual machine cannot be connected to the network, communicate with the machine, and cannot communicate with other hosts in the network segment of the machine.
Tips: If the capacity of the host is sufficient, choose 20GB
The next step is to complete the installation directly.
Tips: After the virtual machine is started, if you want to return to my computer, you can use the shortcut key Ctrl+Alt.
Tips:
Click here to automatically create them-done
Click Finish-accept changes
Click on network and hostname
Click the button to turn on automatic network connection
Set the host name (optional)
Click finish
Tips: Set the root password. If the password is less than 8 digits, you will be prompted to press "Finish" twice to confirm, and the installation will continue. Set a simple password during the learning phase
Click create user
Set password-click finish
Complete configuration-reboot
Click License Information
Check I agree to the license agreement-complete
Click to complete the configuration
Click on the upper left corner-click on the computer
Tips:
/bin: System command directory, storing system commands, such as ls, mkdir commands
/boot: system boot directory, boot files, boot files
/dev: system device directory, hard disk and CD-ROM are all under this directory /dev/cdrom
/etc: System configuration file directory
/home: user's home, non-administrator accounts have their own home in the /home directory
/lib: library file directory, there are two types of libraries: *.so suffix dynamic library files, *.a suffix static library files
/lib64: Library file directory
/media: multimedia directory, CD-ROM and floppy drive
/mnt: mount directory, such as /mnt/udisk
/opt: third-party program directory, qq and wps software are usually placed in this directory
/proc: memory directory
/root: The home directory of the super administrator
/run: Save to the effective system information file before the next boot. For example, /var/run/utmp contains the information of the currently logged in user.
/srv: The data directory that needs to be accessed after the service is started. For example, the webpage data that the www service needs to access is stored in /srv/www
/sbin: s is the abbreviation of super, which stands for super, super command directory, specially used by root administrators
/sys: The directory is similar to /proc. It is a virtual file system that mainly records information related to the core of the system, and information about modules currently loaded into the system.
/tmp: temp abbreviation, stands for temporary directory
/usr: /usr: application storage directory. When installing the Linux software package, it is installed by default to the /usr/local directory
/var: A frequently changing directory, web files and database files are usually placed in this directory
Anywhere on the desktop-right click
Click to open in the terminal-see the following interface
ls: Display all files in the current directory
Related options:
l: list abbreviation, which means to display all files in a list
a: the abbreviation of all, which means to display all files (including hidden files)
pwd: Display the current working directory
cd: Jump to the specified directory
cd + path: jump to the specified directory
cd …: Jump to the upper level directory
cd + ~: Jump to your own home, ordinary users jump to the /home/username directory, super administrator/root
clear: Clear screen instruction
logout: Exit instruction
shutdown: shutdown command
su: Switch user
halt: Shut down immediately
reboot: reboot immediately
2、 operation result
Recommended Posts