Installation of Linux and Linux
I. Introduction
Objective: to understand and master the installation process of Linux
Software Environment
- Linux: CentOS7.3
- Virtual Machine: VM12
- Host system: Windows8.0
Ii. Install virtual machines
First, download the VMware Workstation software and install it.
1. Double-click the VM user. A welcome page is displayed.
2. Keep following the next step, set the type to "typical", and click "run" after installation.
The starting interface is like this.
3. Create a Virtual Machine (1) create a new virtual machine, select "typical" for the type, and then click Next
(2) Select the operating system type to be installed and click Next.
(3) Name the Virtual Machine and select the installation location
(4) Specify the disk capacity (default)
(5) custom hardware (default)
Note:
- If your physical machine memory is less than or equal to 4 GB, we recommend that you set the VM memory to 1 GB. Otherwise, the speed of your physical machine will be affected.
- Select the NAT mode for the network adapter, because this network mode has the best compatibility.
3. install Linux OS 1. First, the Black-White welcome page appears.
2. Click the first item. First, select the language to use. Select "Chinese" and "simplified Chinese"
3. Click "continue" and the "installation information Summary" will pop up"
4. Click "installation location". The "installation target location" page appears. Select the "I want to configure partitions" option.
5. Click the "finish" button in the upper left corner. The partition page is displayed.
Click the LVM drop-down menu, select "Standard partition", and click the + button in the lower left corner. In the "Add new mount point" dialog box that appears, set the mount point to/boot, set the expected capacity to 200 MB, abbreviated as 200 MB, and click "add mount point.
Click the + button to add the swap partition. The size is 4 GB.
Click the + button, select "/" as the mount point, leave the expected capacity blank, and click "add mount point". In this way, all the remaining space is allocated to the "/" partition.
Final Partition
6. After you click the "finish" button in the upper left corner, a notification is displayed, as shown in.
7. Click "accept changes" to return to the initial "installation information Summary" interface. Click "Start installation" in the lower right corner to start operating system installation.
You will find that there are two exclamation points on this page. This is because we have not set the password for the ROOT user. the ROOT user is the Super administrator user of the cen tos operating system and the password must be set.
8. Enter the ROOT password setting interface.
9. Click "finish" to return to the previous page.
We found that the two exclamation points have disappeared.
After the system is installed, click "restart" to enter the CentOS7 operating system.
Iv. Q & A and Summary 1. Partition Rules
If you want to work in an enterprise, when you need to install the CentOS operating system, the partition should follow the requirements of the company's leaders. If the leaders do not have requirements, follow the rules described in this article. The details are as follows:
2. Set the ROOT password.
The ROOT user password should be as complex as possible, preferably a combination of uppercase and lowercase letters and numbers. Otherwise, the password may be easily cracked.
3. log on to the Linux operating system.
At the first login, the user name is root, and then enter the previously set ROOT password.
I wish you a pleasant stay in the Linux operating system ~