First, installation steps:
1. Create a new virtual machine
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A16% 3a53.png?version=1&modificationdate=1459480849000&api=v2 "/>
2. Enter the virtual machine name
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A17% 3a42.png?version=1&modificationdate=1459480849000&api=v2 "/>
3. Select Memory
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A17% 3a52.png?version=1&modificationdate=1459480849000&api=v2 "/>
4. Select the operating system
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A18% 3a1.png?version=1&modificationdate=1459480849000&api=v2 "/>
5. Allocating CPU, kernel book
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A18% 3a14.png?version=1&modificationdate=1459480849000&api=v2 "/>
6. Set the virtual disk size
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A18% 3a44.png?version=1&modificationdate=1459480849000&api=v2 "/>
7. Select the installed ISO file
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A18% 3a57.png?version=1&modificationdate=1459480849000&api=v2 "/>
8. Rename the virtual machine name (followed by the operating system name and three bits after the IP address)
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A19% 3a11.png?version=1&modificationdate=1459480849000&api=v2 "/>
9. Turn on the virtual machine power
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A19% 3a24.png?version=1&modificationdate=1459480849000&api=v2 "/>
10. Open the Virtual machine console
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A19% 3a45.png?version=1&modificationdate=1459480849000&api=v2 "/>
11. Setting the operating system language
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A20% 3a16.png?version=1&modificationdate=1459480849000&api=v2 "/>
12. Set the Software Installation type (minimize installation, without UI), set the partition size of the hard disk, set up the network connection
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A20% 3a24.png?version=1&modificationdate=1459480849000&api=v2 "/>
A. Setting the partition size of the hard disk
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A20% 3a34.png?version=1&modificationdate=1459480849000&api=v2 "/>
B. Set the network connection, host name
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A20% 3a40.png?version=1&modificationdate=1459480849000&api=v2 "/>
C. Set the IP address
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A20% 3a47.png?version=1&modificationdate=1459480849000&api=v2 "/>
D. After setting up, start the network, set the host name
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A20% 3a54.png?version=1&modificationdate=1459480849000&api=v2 "/>
Second, after the installation is complete, modify the relevant configuration information:
0. Set the root password with passwd
1. Make sure that the host name is correct
2. IP a determines that the IP address is correct
3. Curl www.sina.com.cn determines access to the extranet
4. Yum-y Update CentOS
5. Yum-y Install VIM installation Vim installation package
6. Turn off SELinux
Sestatus See the status of SELinux
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A21% 3a6.png?version=1&modificationdate=1459480849000&api=v2 "/>
Use the following edit command to modify the SELinux status to Disabled
Vim/etc/selinux/config
Selinux=disabled
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A21% 3a18.png?version=1&modificationdate=1459480849000&api=v2 "/>
7. Turn off the firewall
Systemctl Stop Firewalld
The firewall does not start automatically after the system restarts
Systemctl Disable FIREWALLD
View current firewall status
Systemctl Status Firewalld
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A21% 3a29.png?version=1&modificationdate=1459480849000&api=v2 "/>
8. Configure time synchronization
Yum-y Install NTP
Vi/etc/ntp.conf
3 Additional time servers
Server s2d.time.edu.cn Iburst #西南地区网络中心
Server s2e.time.edu.cn Iburst #西北地区网络中心
Server s2f.time.edu.cn Iburst #东北地区网络中心
650) this.width=650; "Src=" http://192.168.1.195:8090/download/attachments/5374088/image2016-4-1%2011%3A21% 3a41.png?version=1&modificationdate=1459480849000&api=v2 "/>
9. Start the NTP service
Systemctl Start NTPD
Systemctl Enable NTPD
View status
Ntpq-p
10. Restart reboot
11. View the previously modified status
Systemctl Status Firewalld
Systemctl Status NTPD
Sestatus
CENTOS7 Setup Wizard