标签:云计算测试实验-openstack-icehouse-compute节点初始化
#个人一点习惯,不关掉点什么总觉的有点不顺畅。
service iptables stop
chkconfig iptables off
setenforce 0
vi /etc/sysconfig/selinux
getenforce
Permissive
vi /etc/sysconfig/network-scripts/ifcfg-eth0
vi /etc/sysconfig/network-scripts/ifcfg-eth1
#关掉对networkmanager的依赖,改上static
hostname
vi /etc/hosts
192.168.100.10 controller
192.168.100.20 compute
cd /etc/yum.repos.d/
ll
rm -rf *
vi yum.repo
[centos]
name=centos
baseurl=ftp://192.168.100.10/centos
gpgcheck=0
[iaas]
name=iaas
baseurl=ftp://192.168.100.10/iaas/iaas-repo
gpgcheck=0
yum clean all
yum makecache
ping -c 4 controller
ping -c 4 compute
yum install ntp -y
vi /etc/ntp.conf
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst
restrict 192.168.100.10
server 192.168.100.10
service ntpd restart
chkconfig ntpd on
ntpstat
ntpq -p
yum install MySQL-python -y
yum install yum-plugin-priorities openstack-utils openstack-selinux -y
yum upgrade -y
本文出自 “茉莉爱学习” 博客,请务必保留此出处http://molilinzi.blog.51cto.com/8282931/1657716
记一次云计算测试实验-openstack-icehouse-compute节点初始化
标签:云计算测试实验-openstack-icehouse-compute节点初始化
原文地址:http://molilinzi.blog.51cto.com/8282931/1657716