Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Install dashboard for openstack O version and log in to the web management interface

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

[root@controller ~] # yum install openstack-dashboard-y

[root@controller ~] # vi / etc/openstack-dashboard/local_settings

It's OK to directly overwrite the local_settings file I gave you (to reduce errors, you should replace the overwrite with the local_settings file provided by me)

Link: https://pan.baidu.com/s/1CnmKkFMTemv199ctgb5Oig

Extraction code: 27om

After copying this content, open the Baidu network disk mobile phone App, which is more convenient to operate.

[root@controller ~] # systemctl restart httpd.service memcached.service

Test: http://192.168.0.111/dashboard/

Eight. create mutual trust between two computers

1.controller server

[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 server

[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]-+

Oval E =

.o.. +.

. .o.. +

. = o o.o

S o. O =.

. =.

. O

.

+-+

The secret key generated by 3.controller upload

[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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report