1.系统缺少依赖包
解决方法:
2.安装界面是乱码
解决方法:
测试:
3.ssh服务没有相互信任出现的问题
解决方法:
RAC1中的SSH服务互相信任
[root@rac1 ~]# ssh-keygen -t rsa --在rac1中生成密钥 Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): 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: b4:d1:db:49:d4:27:2c:f9:6d:85:cd:cf:e8:2b:53:72 root@rac1 The key's randomart image is: +--[ RSA 2048]----+ | .+ + | | . .o = =| | o . .o *o| | . o + .o =| | S . o. . | | . E | | + . | | o . | | o | +-----------------+ [root@rac1 ~]# scp /root/.ssh/id_rsa.pub 3.3.3.100:/root/.ssh/authorized_keys --把rac1的公钥上传到rac2服务器上 root@3.3.3.100's password: id_rsa.pub 100% 391 0.4KB/s 00:00 [root@rac1 ~]#
RAC2中的SSH服务互相信任
[root@rac2 Packages]# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): 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: bc:d2:00:ed:4f:60:a2:bd:bc:4d:da:34:68:fe:5a:27 root@rac2 The key's randomart image is: +--[ RSA 2048]----+ | | | . | | o + | | o = o | | . . o S | | . o = . | | = E = | | o O = | | =o+ | +-----------------+ [root@rac2 Packages]# scp /root/.ssh/id_rsa.pub 3.3.3.99:/root/.ssh/authorized.keys The authenticity of host '3.3.3.99 (3.3.3.99)' can't be established. RSA key fingerprint is ee:eb:9c:70:83:0b:d1:25:0e:84:73:f2:fa:27:4d:7f. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '3.3.3.99' (RSA) to the list of known hosts. root@3.3.3.99's password: id_rsa.pub 100% 391 0.4KB/s 00:00 [root@rac2 Packages]#ssh rac1 --必须连通,并不要输入密码 [root@rac2 Packages]#ssh rac2 --必须连通,并不要输入密码 [root@rac2 Packages]#ssh rac1-priv --必须连通,并不要输入密码 [root@rac2 Packages]#ssh rac2-priv --必须连通,并不要输入密码
4.IP地址被占用
解决方法(是因为虚拟IP启动了,禁用就行了):
本文转自 z597011036 51CTO博客,原文链接:http://blog.51cto.com/tongcheng/1363262,如需转载请自行联系原作者