yum -y update
#to install packstack
yum install centos-release-qemu-ev
yum remove mariadb-libs
visudo
enable wheel by uncommenting
#disable selinux
vim /etc/selinux/config
selinux=disabled
#disable Networkmanager and firewalld
systemctl disable NetworkManager firewalld
yum search openstack #look for latest at bottom here its ocata
yum install -y install centos-release-openstack-ocata
yum install -y openstack-packstack
packstack --gen-answer-file=/home/user1/answers.txt
edit the answers.txt
change password=config_default_password=openstack
config_magnum_install=y #for container orchestration
config_keystone_admin_pw=xxxxxx
config_keystone_demo_pw=xxxx
save file
#start packstack installation
packstack --answwer-file=/home/user1/answers.txt
# Devstack on ubuntu
adduser stack
add it to sudo user without password
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
su stack
apt-get install git
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack
vim local.conf
[[local|localrc]]
ADMMIN_PASSWORD=openstack
DATABASE_PASSWORD=openstack
RABBIT_PASSWORD=openstack
SERVICE_PASSWORD=openstack
#to install packstack
yum install centos-release-qemu-ev
yum remove mariadb-libs
visudo
enable wheel by uncommenting
#disable selinux
vim /etc/selinux/config
selinux=disabled
#disable Networkmanager and firewalld
systemctl disable NetworkManager firewalld
yum search openstack #look for latest at bottom here its ocata
yum install -y install centos-release-openstack-ocata
yum install -y openstack-packstack
packstack --gen-answer-file=/home/user1/answers.txt
edit the answers.txt
change password=config_default_password=openstack
config_magnum_install=y #for container orchestration
config_keystone_admin_pw=xxxxxx
config_keystone_demo_pw=xxxx
save file
#start packstack installation
packstack --answwer-file=/home/user1/answers.txt
# Devstack on ubuntu
adduser stack
add it to sudo user without password
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
su stack
apt-get install git
git clone https://git.openstack.org/openstack-dev/devstack
cd devstack
vim local.conf
[[local|localrc]]
ADMMIN_PASSWORD=openstack
DATABASE_PASSWORD=openstack
RABBIT_PASSWORD=openstack
SERVICE_PASSWORD=openstack
No comments:
Post a Comment