Centos7 configuration in detail

1 VMware Stage

Here Insert Picture Description
Here Insert Picture Description
The next step will be direct
Here Insert Picture Description
Here Insert Picture Description
direct way next:
Here Insert Picture Description
Here Insert Picture Description
network type selection:
Here Insert Picture Description
Direct all the way next
Here Insert Picture Description
direct way next, using the recommended it
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

2 Centos7 stage

Click to open this virtual machine to enter the configuration page
Here Insert Picture Description

2.1 Select Language

Here Insert Picture Description

2.2 Select a region and time

Here Insert Picture Description
Here Insert Picture Description

2.3 Select the type of operating system

Here Insert Picture Description
Here Insert Picture Description

2.4 Selecting partition

Here Insert Picture Description
Here Insert Picture Description
Click doneafter the partition came manually configure interfaces
Here Insert Picture Description
are created /boot区、swap交换分区、根分区/
Notes: Linux system is the simplest partitioning scheme:

  • Sub- /bootregion, to 200M, /bootput 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 than 2G. Then this space is arranged two times the size of the memory.
  • All space for the /(root partition)
    Here Insert Picture Description

2.5 Network Configuration

Here Insert Picture Description
Here Insert Picture Description

2.6 configuration root password

Here Insert Picture Description
Here Insert Picture Description

3 Centos7 modify the configuration

3.1 ip View

ip addr 或者 ip address
Here Insert Picture Description

Firewall 3.2

3.2.1 View firewall status

systemctl status firewalld.service
Here Insert Picture Description
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
Here Insert Picture Description

3.3 modify the hostname

hostnamectlTo view the Host Name:
Here Insert Picture Description
hostnamectl set-hostname 主机名Modify the host name

Published 334 original articles · won praise 186 · views 310 000 +

Guess you like

Origin blog.csdn.net/u012060033/article/details/104206382