中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

ubuntu偽分布式如何配置

小新
339
2021-02-22 17:18:36
欄目: 智能運維

ubuntu偽分布式如何配置

ubuntu偽分布式的配置示例:

1.安裝“ssh server”。

2.再安裝“sun jdk6”,必須要java6及其以上版本。

3.生成SSH證書,配置SSH加密key,操作步驟:

www@ubuntu:~$ su – www

Password:

www@ubuntu:~$ ssh-keygen -t rsa -P ""

Generating public/private rsa key pair.

Enter file in which to save the key (/home/www/.ssh/id_rsa):

Your identification has been saved in /home/www/.ssh/id_rsa.

Your public key has been saved in /home/www/.ssh/id_rsa.pub.

The key fingerprint is:

a8:67:6f:bd:04:13:41:5f:a7:13:2d:84:e7:8a:8c:43 www@ubuntu

The key's randomart image is:

+–[ RSA 2048]—-+

| .o o+.. |

| o..o+. |

| . .oo. |

| E. . .. |

| ..oS. . |

| .o oo. |

| . o. .. |

| o …. |

| .. .. |

+—————–+

www@ubuntu:~$

www@ubuntu:~$ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys

www@ubuntu:~$

4.配置完成后,可以測試一下,例如:

www@ubuntu:~$ ssh localhost

The authenticity of host 'localhost (::1)' can't be established.

RSA key fingerprint is d7:87:25:47:ae:02:00:eb:1d:75:4f:bb:44:f9:36:26.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added 'localhost' (RSA) to the list of known hosts.

Linux ubuntu 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux

Ubuntu 10.04 LTS

[...snipp...]

www@ubuntu:~$

0
泰兴市| 抚顺市| 辽阳县| 阜新市| 定南县| 司法| 洞口县| 巧家县| 寿光市| 庐江县| 临城县| 孝义市| 兴业县| 辽阳县| 沈丘县| 枣阳市| 雅江县| 永福县| 永春县| 多伦县| 宣恩县| 锦州市| 阳曲县| 克东县| 巴楚县| 临夏市| 宜春市| 莱州市| 济南市| 吉安市| 四会市| 汝城县| 香河县| 宜昌市| 北辰区| 阜城县| 邻水| 汶上县| 定兴县| 吴桥县| 环江|