openstack O版 安裝dashboard,登錄web管理界面

[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 [email protected]
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
[email protected]'s password:

Number of key(s) added: 1

Now try logging into the machine, with: "ssh -p '22' '[email protected]'"
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 [email protected]
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
[email protected]'s password:

Number of key(s) added: 1

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章