Previous words
This article will detail the installation of Linux system centOS7 under virtual machine
Preparatory work
"System Download"
Before installing the centOS7, first download the appropriate version on the official website
Then, select a link to download and
"Virtual machine Configuration"
Next, the virtual machine needs to be configured
1. Create a new virtual machine
After you open virtual machine vmware, click New Virtual Machine
、
2. Typical Configuration
After the following screen appears, select Typical, click Next
3. Create a blank hard drive
Select "Install operating system later" and click "Next"
4. Select the operating system version
"Guest operating System" select "Linux", "Version" select "CentOS 64-bit", then click "Next"
5. Mounting position
Enter a custom "virtual machine name", click "Browse" button, select the location of the virtual machine file save, click "Next"
6. Disk capacity
Set the maximum disk capacity to 20G, and set the disk to split into multiple files, click "Next"
7. Custom Hardware
When the following interface appears, click Custom Hardware to configure the hardware
8. Network Card settings
Switch the tab to the network adapter, set the network mode to bridge mode, and check the replication physical network connection Status
9. ISO settings
Switch the tab to CD/DVD (IDE), select Use ISO image file, find the downloaded ISO file address
10. Click Finish
System Installation
1. Turn on the virtual machine power
Click the turn on this virtual machine button
2. Select the installation
Move the mouse to the area displayed by the virtual machine, and then click the left button when the mouse becomes a hand, so that the virtual machine gets the focus. Using the keyboard's up and down arrow buttons, select "Install CentOS 7" option, the font color is white to select, press ENTER to install
3. Language selection
Next, the language selection screen is displayed, select Simplified Chinese, and click Continue
4. Installation Information
Next, go to the Installation Information Summary screen, click Software Selection
5. Software Selection
If you are using a cloud server configuration, it is best to select the infrastructure server and click Finish
6. Mounting position
Back to the Installation Information Summary screen, click Install location
7. Automatic Partitioning
Select the local standard disk and select Auto Partition, click Finish
8. Network and host name
Go back to the Installation Information Summary screen, click Network and host name
9. Network Configuration
After switching the network from off to on, click Done
10. Start the installation
After you return to the installation Information Summary screen, click Start Installation
11. User Settings
Enter the user settings interface, the root password can not be set immediately, you need to wait until the bottom of the installation bar progress is completed before you can
12. Root Password
Click the root password to enter the root password interface, enter the password, click Done
13. Automatic Installation
After returning to the interface, wait patiently for the system to install
12. Complete Installation
After the installation is complete, the following screen appears, click Restart
13. Automatic Entry
After rebooting, there will be two operating systems to choose from, you can choose the first item, or you can wait for a period of time to automatically enter the first item. After entering, as shown below
14, enter the user name, password
User name is root, password for self-set password
15. Enter Ifconfig to see the IP address of the host where the Linux resides.
At this point, the Linux system installation is complete, also can be normal internet
Xshell Configuration
Next, the Xshell is configured to connect to the host remotely via Xshell. Because the Xshell software is easy to install, we will not repeat
1. After opening the software, click New under File to create a new connection
2. Configuration
Name is a custom name, host address Enter the IP address obtained by Ifconfig under the Linux system, the port number remains 22, click OK
3. Connection
Then, the following window appears, select the session name you just created, click Connect
4. Enter the user name root
5. Enter the password
6, after the successful connection, the following interface appears
This allows the server to be remotely operated through the Xshell software.
Problems
Problem: CentOS7 does not have network configuration options with Setup
Explanation: In CentOS 7, Setup already has no network setup functionality. To configure the network is very simple, in the installation interface has been, just switch the network connection from off to on
Of course, it can also be installed by Nmtui.
1. Use the Nmtui command to enter the network configuration
2, according to the interface, click Edit, enter
3. Set to Auto get
4. Click Back to return to the Web editing screen and activate the link.
Installation of Linux system centOS7 under virtual machine and configuration of Xshell software