OpenStack Caracal : Pre-Requirements2024/04/05 |
This is the example of Cloud Computing by OpenStack 2024.1 Caracal.
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 Caracal repository. |
root@dlp:~# apt -y install software-properties-common root@dlp:~# add-apt-repository cloud-archive:caracal root@dlp:~# apt update root@dlp:~# apt -y upgrade |
[4] | Install RabbitMQ, Memcached, Nginx. |
root@dlp:~#
vi /etc/hosts # add an entry of this host # * add it even if it has been added in DNS entry 10.0.0.30 dlp.srv.world
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
systemctl restart mariadb rabbitmq-server memcached nginx
|
Sponsored Link |
|