Article Directory
1 VMware Stage
The next step will be direct
direct way next:
network type selection:
Direct all the way next
direct way next
, using the recommended it
2 Centos7 stage
Click to open this virtual machine to enter the configuration page
2.1 Select Language
2.2 Select a region and time
2.3 Select the type of operating system
2.4 Selecting partition
Click done
after the partition came manually configure interfaces
are created /boot区、swap交换分区、根分区/
Notes: Linux system is the simplest partitioning scheme:
- Sub-
/boot
region, to 200M,/boot
put the boot files. - Sub-swap (swap space)
swap
, look at the total size of memory, if enough memory space necessary to set this too. If the memory is less than2G
. Then this space is arranged two times the size of the memory. - All space for the
/
(root partition)
2.5 Network Configuration
2.6 configuration root password
3 Centos7 modify the configuration
3.1 ip View
ip addr 或者 ip address
Firewall 3.2
3.2.1 View firewall status
systemctl status firewalld.service
See the green of the word mark active(running)
, indicating that the firewall is turned on state
3.2.2 turn off the firewall
systemctl stop firewalld.service
3.2.3 turn off the firewall boot from Kai
systemctl disable firewalld.service
3.3 modify the hostname
hostnamectl
To view the Host Name:
hostnamectl set-hostname 主机名
Modify the host name