CentOS 7
Sponsored Link

OpenStack Icehouse : Pre-Requirements
2014/08/31
 
This is the exmaple of Cloud Computiong by OpenStack.
On this example, Install and configure Keystone, Glance, Nova, Horizon on a server as All-in-One. For other componets, refer to the precondition of the section.
Install some services which some components of OpenStack needs forst on here.
[1]
[2]
Install KVM HyperVisor like here.
It's unnecessarry to set Bridge networking manually, though. ( OpenStack system sets Bridge networking )
[3] Add the repository of Openstack Icehouse and Update the system.
[root@dlp ~]#
yum -y install http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse.rpm

[root@dlp ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/rdo-release.repo

[4] Install MariaDB Server for backend database.
# install from RDO which is added in section [3]

[root@dlp ~]#
yum --enablerepo=openstack-icehouse -y install mariadb-galera-server
[root@dlp ~]#
systemctl start mariadb

[root@dlp ~]#
systemctl enable mariadb

# connect to MariaDB

[root@dlp ~]#
mysql -u root

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 5.5.36-MariaDB-wsrep MariaDB Server, wsrep_25.9.r3961

Copyright (c) 2000, 2014, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

# set root password

MariaDB [(none)]>
set password for root@localhost=password('password');

Query OK, 0 rows affected (0.00 sec)
# set root password

MariaDB [(none)]>
set password for root@'127.0.0.1'=password('password');

Query OK, 0 rows affected (0.00 sec)
# set root password

MariaDB [(none)]>
set password for root@'dlp.srv.world'=password('password');

Query OK, 0 rows affected (0.00 sec)
# delete anonymous user

MariaDB [(none)]>
delete from mysql.user where user='';

Query OK, 2 rows affected (0.00 sec)
# delete IPV6 user if not need

MariaDB [(none)]>
delete from mysql.user where user='root' and host='::1';

Query OK, 2 rows affected (0.00 sec)
MariaDB [(none)]>
select user,host,password from mysql.user;

+------+------------------+-------------------------------------------+
| user | host             | password                                  |
+------+------------------+-------------------------------------------+
| root | localhost        | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |
| root | dlp.srv.world | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |
| root | 127.0.0.1        | *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19 |
+------+------------------+-------------------------------------------+
3 rows in set (0.00 sec)

MariaDB [(none)]>
exit

Bye
[5] Install RabbitMQ, Memcached, Avahi.
# install from EPEL

[root@dlp ~]#
yum --enablerepo=epel -y install rabbitmq-server memcached
[root@dlp ~]#
systemctl start rabbitmq-server

[root@dlp ~]#
systemctl enable rabbitmq-server

# change guest's password

[root@dlp ~]#
rabbitmqctl change_password guest password

Changing password for user "guest" ...
...done.
[root@dlp ~]#
systemctl start memcached

[root@dlp ~]#
systemctl enable memcached

Matched Content
 
Tweet