OpenStack 认证服务(keystone)安装

发布时间 2023-10-17 19:09:54作者: 代码你敲我不敲

[root@controller ~]# date
Tue Oct 17 18:42:04 CST 2023
[root@controller ~]# openstack --version
openstack 4.0.2
[root@controller ~]# yum install -y upgrade
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
No package upgrade available.
Error: Nothing to do
[root@controller ~]# yum install -y python-openstackclient
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package python2-openstackclient-4.0.2-1.el7.noarch already installed and latest version
Nothing to do
[root@controller ~]# yum install -y openstack-selinux
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package openstack-selinux-0.8.26-1.el7.noarch already installed and latest version
Nothing to do
[root@controller ~]# cat /etc/my.cnf.d/openstack.cnf
[mysqld]
bind-address = 192.168.10.10
default-storage-engine = innodb
innodb_file_per_table = on
max_connections = 4096
collation-server = utf8_general_ci
character-set-server = utf8
[root@controller ~]# yum install -y rabbitmq-server
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package rabbitmq-server-3.6.16-1.el7.noarch already installed and latest version
Nothing to do
[root@controller ~]# systemctl enable rabbitmq-server
[root@controller ~]# systemctl start rabbitmq-server
[root@controller ~]# yum install -y memcached python-memcached
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package memcached-1.5.6-1.el7.x86_64 already installed and latest version
Package python-memcached-1.58-1.el7.noarch already installed and latest version
Nothing to do
[root@controller ~]# vi /etc/sysconfig/memcached
[root@controller ~]# ping 192.168.10.10
PING 192.168.10.10 (192.168.10.10) 56(84) bytes of data.
64 bytes from 192.168.10.10: icmp_seq=1 ttl=64 time=0.013 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl=64 time=0.017 ms
^C
--- 192.168.10.10 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.013/0.015/0.017/0.002 ms
[root@controller ~]# yum repolist
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
repo id repo name status
base base 10,039
extras extras 500
train train 3,168
updates updates 3,182
virt virt 63
repolist: 16,952
[root@controller ~]# yum install -y net-tools
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package net-tools-2.0-0.25.20131004git.el7.x86_64 already installed and latest version
Nothing to do
[root@controller ~]# yum install -y telnet
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package 1:telnet-0.17-66.el7.x86_64 already installed and latest version
Nothing to do
[root@controller ~]# systemctl status vsftpd
● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2023-10-17 18:30:04 CST; 28min ago
Main PID: 976 (vsftpd)
CGroup: /system.slice/vsftpd.service
└─976 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

Oct 17 18:30:04 controller systemd[1]: Starting Vsftpd ftp daemon...
Oct 17 18:30:04 controller systemd[1]: Started Vsftpd ftp daemon.