CentOS Stream 8 手工搭建 OpenStack V 版(01基础环境设置)
要在 CentOS Stream 8 上手工搭建 OpenStack V 版,您需要依照以下步骤进行基础环境设置:
步骤 1:安装 CentOS Stream 8
步骤 2:更新系统
# yum update
步骤 3:配置网络
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.1.100
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=8.8.8.8
DNS2=8.8.4.4
步骤 4:禁用 NetworkManager
# systemctl stop NetworkManager
# systemctl disable NetworkManager
# systemctl start network
# systemctl enable network
步骤 5:配置主机名
# vi /etc/hostname
步骤 6:重启服务器
# reboot
完成上述步骤后,您的 CentOS Stream 8 系统的基础环境设置就完成了。接下来,您可以继续进行 OpenStack 的安装和配置。
TOP