Week 1 - College 1 (OpenStack)
Week 1 - College 1 (OpenStack)
Prerequisites
VMware Workstation:
- VMnet8:
- NAT,
- Gateway (Book uses 192.168.37.2 , but I'm keeping 192.168.65.2 )
- DHCP Scope 192.168.37.128 - 192.168.37.250 , but I'm using .65.
Initial Options:
Custom (Advanced) -> Install OS later -> Linux & Rocky Linux 64-bit
Name: packstack.openstack.local
CPU: leave as is (2/1)
RAM: 11 GB (I use 12.288 )
Network: NAT
Disk: 60GB
Finish
Advanced Options:
Hardware:
Processors: Enable "Virtualize Intel VT-x/EPT or AMD-V/RVI" (bugged)
CD/DVD (IDE): Select "Use ISO image file" and select the Rocky9 ISO
Options:
Time Sync: On
Installing Operating System:
Language: English / English (US)
Time & Date: Europe / Amsterdam
Root Password: Pa$$w0rd
User Creation:
Full name: Quinten
User name: quinten
Make user administrator
Password: Pa$$w0rd
Software Selection: Minimal install / Standard
Installation Destination: Automatic partitioning
Network & Host Name:
ens160: Enable Manual IPv4
Address: 192.168.64.100
Netmask: 24
Gateway: 192.168.64.2
DNS: 192.168.64.2
Turn interface off / on again
Host Name: packstack.openstack.local
Configuring Operating System:
Run the following commands:
# Disable SeLinux
sestatus # Check current status
nano /etc/sysconfig/selinux # Set SELINUX=disabled
reboot now # Reboot the machine
sestatus # Confirm disabled
# Install packages
dnf config-manager --enable crb
dnf install -y centos-release-openstack-caracal
dnf update -y # Update again
dnf install -y openstack-packstack
# Confirm IP Routes
ip route # Default 192.168.64.2, route to .64.0/24
# Modify Network
cd /etc/sysconfig/network-scripts/
nano ifcfg-ens160 # Paste the following
NAME=ens160
DEVICE=ens160
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=yes
ONBOOT=yes
IPADDR=192.168.64.100
PREFIX=24
DNS1=8.8.8.8
GATEWAY=192.168.64.2
OpenStack Dashboard
Shutdown Instances: