One of OpenStack: initialize the environment

We must perform the initialization environment around the node

# Note: To use the node node 7.2

#: Close NetworkManager 

[root @ localhost ~ ] # systemctl STOP NetworkManager 
[root @ localhost ~ ] # systemctl disable NetworkManager 


#: turn off the firewall 

[root @ localhost ~ ] # systemctl STOP firewalld 
[root @ localhost ~ ] # systemctl disable firewalld 


#: Close SELinux 


[root @ localhost ~] # Vim / etc / sysconfig / SELinux 
the SELINUX = Disabled 

#: set the host name 

[root @ localhost ~] # Vim / etc / the hosts 
cobbler.magedu.net 

#: configure a time synchronization 

[root @ localhost ~] # the crontab - E
 * / . 5 * * * * /sbin/ntpdate  ntp.sjtu.edu.cn && /usr/sbin/hwclock  -w

 

Guess you like

Origin www.cnblogs.com/maxuebin/p/11432114.html