OS is centos6.5_x86_64
One, VMware virtual machines
Prepare two machine virtual machines
Second, import third-party installation source
1 [[email protected] ~]# RPM-UVH http://2 [[email protected] ~]# RPM-UVH http://3 [[email protected] ~]# Yum install http:// repos.fedorapeople.org/repos/openstack/eol/openstack-havana/rdo-release-havana-7.noarch.rpm
Third, configure the host file
1 [Email protected] ~]# vi/etc/hosts 2 127.0. 0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 3 172.16. 1.1 4 172.16. 1.2 Node
Four, configure the IP address (self-check data bar)
Five, close SELinux(self-check data bar)
Vi. Modification of/etc/sysctl.conf parameters
1 [Email protected] ~]# vi/etc/sysctl.conf2 13 [[email protected] ~]# Sysctl-p
Vii. Installing an NTP server
1#vi/etc/ntp.conf2 -Restrict172.16.0.0Mask255.255.0.0nomodify Notrap3 A#server0. rhel.pool.ntp.org4 at#server1. rhel.pool.ntp.org5 -#server2. rhel.pool.ntp.org6 *Server127.127.1.07------------------8 # service NTPD start9# Chkconfig NTPD on
Eight, configure the installation of MySQL
(1). Install MySQL Service
[[email protected] ~]# yum-y install MySQL mysql-server mysql-python
(2). Modify the MySQL configuration file:
1 # Vi/etc/my.cnf [mysqld] 2 datadir=/var /lib/mysql socket=/var /lib/mysql/mysql.sock user=mysql 3 # disabling Symbolic-links is recommended to prevent assorted security Risks Symbolic-links=0 0.0 . 0.0 #设置监听IP地址0. 0.0 . 0 5 [Mysqld_safe] Log-error=/var /log/mysqld.log pid-file=/var /run/mysqld/mysqld.pid
(3). Start the Mqsql service, set the boot from boot
1 [[email protected] ~]# service mysqld start2 [[email protected] ~]# chkconfig mysqld on
(4). Modify the MySQL password to passwd
' passwd '
IX. Installation and Configuration Qpid service
(1). Install Qpid Service
[Email protected] ~]# yum-y install qpid-cpp-server memcached
(2). Modify the/etc/qpidd.conf configuration file and set Auth to No
1 [[email protected] ~]# vi/etc/qpidd.conf23
3). Start the Qpid service, set the boot up
1 [[email protected] ~]# service Qpidd start2
(4). Installing the OpenStack Toolkit
[email protected] ~]# Yum install-y openstack-utils
|-----------------------------------------------------------------|
| This is the end of the prep work. We're going to start installing |
|-----------------------------------------------------------------|
OpenStack Pre-prep work