Ubuntu 22.04
Sponsored Link

OpenStack Zed : Pre-Requirements2022/10/07

 
This is the example of Cloud Computing by OpenStack Zed.
Install some services that some components of OpenStack needs for system requirements on here.
This example is based on the environment like follows.
        eth0|10.0.0.30 
+-----------+-----------+
|   [ dlp.srv.world ]   |
|     (Control Node)    |
|                       |
|  MariaDB    RabbitMQ  |
|  Memcached  Nginx     |
+-----------------------+

[1]
[2]
[3] Configure Openstack Zed repository.
root@dlp:~#
apt -y install software-properties-common

root@dlp:~#
add-apt-repository cloud-archive:zed

root@dlp:~#
apt update

root@dlp:~#
apt -y upgrade

[4] Install RabbitMQ, Memcached, Nginx.
root@dlp:~#
apt -y install rabbitmq-server memcached python3-pymysql nginx libnginx-mod-stream
# add a user to RabbitMQ
# set any password for [password]

root@dlp:~#
rabbitmqctl add_user openstack password

Creating user "openstack" ...
Done. Don't forget to grant the user permissions to some virtual hosts! See 'rabbitmqctl help set_permissions' to learn more.
root@dlp:~#
rabbitmqctl set_permissions openstack ".*" ".*" ".*"

Setting permissions for user "openstack" in vhost "/" ...
root@dlp:~#
vi /etc/mysql/mariadb.conf.d/50-server.cnf
# line 27 : change to the IP address mariadb listens
# * if listen all, specify [0.0.0.0]

bind-address =
10.0.0.30
# line 40 : uncomment and change
# default value 151 is not enough on Openstack Env

max_connections =
500
root@dlp:~#
vi /etc/memcached.conf
# line 35 : change to the IP address memcached listens
# * if listen all, specify [0.0.0.0]

-l
10.0.0.30
# disable default site on Nginx

root@dlp:~#
unlink /etc/nginx/sites-enabled/default
root@dlp:~#
systemctl restart mariadb rabbitmq-server memcached nginx
Matched Content