openstack O版 安装dashboard,登录web管理界面
admin
2023-04-02 14:42:05
0

[root@controller ~]# yum install openstack-dashboard -y
[root@controller ~]# vi /etc/openstack-dashboard/local_settings
直接覆盖我给的local_settings文件也行(为了减少出错,大家还是用我提供的local_settings文件替换覆盖)

链接:https://pan.baidu.com/s/1CnmKkFMTemv199ctgb5Oig
提取码:27om

复制这段内容后打开百度网盘手机App,操作更方便哦
[root@controller ~]# systemctl restart httpd.service memcached.service
测试:http://192.168.0.111/dashboard/
openstack  O版   安装dashboard,登录web管理界面
八.创建双机相互信任
1.controller服务器
[root@controller ~]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
43:5e:57:44:68:d3:b2:89:57:39:a1:fd:43:c7:41:e4 root@controller
The key's randomart image is:
+--[ RSA 2048]----+
=B*
=+*..
. .oo*.Eo
o ...+ ...
S . ..
. .
+-----------------+
2.compute服务器
[root@compute ~]# ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Created directory '/root/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
9d:f1:44:85:79:ab:94:b7:1e:53:51:f5:f8:63:05:70 root@compute
The key's randomart image is:
+--[ RSA 2048]----+
o=E =
.o..+.
. .o..+
. =o o.o
S o..o =.
. = .
. o
.

+-----------------+
3.controller上传生成的秘钥
[root@controller ~]# ssh-copy-id -i /root/.ssh/id_rsa.pub -p 22 root@192.168.0.112
The authenticity of host '192.168.0.112 (192.168.0.112)' can't be established.
ECDSA key fingerprint is f1:02:2a:8d:05:4d:8f:58:d2:2d:1a:79:3e:dd:e6:6f.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.0.112's password:

Number of key(s) added: 1

Now try logging into the machine, with: "ssh -p '22' 'root@192.168.0.112'"
and check to make sure that only the key(s) you wanted were added.
4.Compute
[root@compute ~]# ssh-copy-id -i /root/.ssh/id_rsa.pub -p 22 root@192.168.0.111
The authenticity of host '192.168.0.111 (192.168.0.111)' can't be established.
ECDSA key fingerprint is 9c:d7:ca:6a:e5:bb:cc:13:aa:1a:14:b3:80:22:e7:3c.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.0.111's password:

Number of key(s) added: 1

Now try logging into the machine, with: "ssh -p '22' 'root@192.168.0.111'"
and check to make sure that only the key(s) you wanted were added.

相关内容

热门资讯

17岁高中生写作业至凌晨,外出... 5月11日,据青海大通县融媒体中心消息:大通县公安局表示,5月8日6时15分,大通县公安局桥头派出所...
天猫“国货严选”纯棉一次性内裤... 淘宝天猫国货严选旗舰店内一次性内裤宣称“纯棉”,“假一赔十”,实际收到商品为“100%聚酯纤维”。近...
字节砍掉30%的AI项目?背后... 来源:市场资讯 (来源:钛媒体APP) 5月9日,一则关于字节跳动AI战略的消息,在社交媒体上迅速发...
戴尔电脑频繁出现蓝屏死机、重启... IT之家 5 月 11 日消息,Windows 11 更新时常出故障并引发各类问题,其中最让用户恼火...
分享PD氮化镓快充哪个品牌款式... 现在不少小伙伴选氮化镓快充头,尤其是苹果用户,找来找去都会纠结:PD氮化镓快充哪个品牌款式多,苹果氮...
激光近视手术和ICL晶体植入哪... 很多想摘镜的朋友都会纠结:选激光手术,还是ICL晶体植入?到底哪种更安全、更适合自己?广州英华眼科蔡...
原创 天... 备受科技圈关注的联发科技 MTK 天玑开发者大会即将启幕,# 天玑开发者大会# 话题提前霸占数码热搜...
量子力学如何开辟了人类认识和改... 量子力学是 20 世纪最具颠覆性、最具奠基性的基础科学革命成果,与相对论共同构筑起现代物理学两大支柱...
广西企业储存罐爆裂,大量棕褐色... 5月11日,贵港市港北区应急管理局发布情况通报:2026年5月11日14时许,广西对比生物科技有限公...
涉及文物归还,马克龙:这一进程... 据法新社报道,法国总统马克龙当地时间5月11日在肯尼亚内罗毕举行的经济峰会上表示,归还殖民时期掠夺的...