OracleStudy在AIX環境下如何構建主機信任關系-創新互聯

這篇文章主要介紹Oracle Study在AIX環境下如何構建主機信任關系,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!

成都創新互聯公司專注于企業成都全網營銷、網站重做改版、扶風網站定制設計、自適應品牌網站建設、H5響應式網站、商城網站開發、集團公司官網建設、外貿營銷網站建設、高端網站制作、響應式網頁設計等建站業務,價格優惠性價比高,為扶風等各大城市提供網站開發制作服務。

在AIX環境下構建主機信任關系選rsh,但在構建Oracle 11g RAC時需要ssh支持,以下文檔介紹如何在AIX6.1下構建ssh的信任關系。

  默認aix沒有安裝ssh軟件包,首先要安裝ssh軟件包:

1、下載、解壓軟件包

[root@aix209 ssh]#ls
OpenSSH_5.8.0.6102.tar.Z  openssl-0.9.8.1802.tar.Z  ssh.txt

解壓后通過smit installs安裝:

[root@aix209 ssh]#uncompress OpenSSH_5.8.0.6102.tar.Z
[root@aix209 ssh]#uncompress openssl-0.9.8.1802.tar.Z

[root@aix209 ssh]#ls
OpenSSH_5.8.0.6102.tar  openssl-0.9.8.1802.tar  ssh.txt
[root@aix209 ssh]#tar xvf OpenSSH_5.8.0.6102.tar

x openssh.base, 6310912 bytes, 12326 tape blocks x openssh.license, 338944 bytes, 662 tape blocks x openssh.man.en_US, 153600 bytes, 300 tape blocks x openssh.msg.CA_ES, 20480 bytes, 40 tape blocks x openssh.msg.CS_CZ, 20480 bytes, 40 tape blocks x openssh.msg.DE_DE, 20480 bytes, 40 tape blocks x openssh.msg.EN_US, 17408 bytes, 34 tape blocks x openssh.msg.ES_ES, 19456 bytes, 38 tape blocks x openssh.msg.FR_FR, 20480 bytes, 40 tape blocks x openssh.msg.HU_HU, 21504 bytes, 42 tape blocks x openssh.msg.IT_IT, 19456 bytes, 38 tape blocks x openssh.msg.JA_JP, 24576 bytes, 48 tape blocks x openssh.msg.Ja_JP, 26624 bytes, 52 tape blocks x openssh.msg.KO_KR, 21504 bytes, 42 tape blocks x openssh.msg.PL_PL, 20480 bytes, 40 tape blocks x openssh.msg.PT_BR, 19456 bytes, 38 tape blocks x openssh.msg.RU_RU, 25600 bytes, 50 tape blocks x openssh.msg.SK_SK, 20480 bytes, 40 tape blocks x openssh.msg.ZH_CN, 25600 bytes, 50 tape blocks x openssh.msg.ZH_TW, 24576 bytes, 48 tape blocks x openssh.msg.Zh_CN, 21504 bytes, 42 tape blocks x openssh.msg.Zh_TW, 21504 bytes, 42 tape blocks x openssh.msg.ca_ES, 19456 bytes, 38 tape blocks x openssh.msg.cs_CZ, 19456 bytes, 38 tape blocks x openssh.msg.de_DE, 20480 bytes, 40 tape blocks x openssh.msg.en_US, 17408 bytes, 34 tape blocks x openssh.msg.es_ES, 19456 bytes, 38 tape blocks x openssh.msg.fr_FR, 20480 bytes, 40 tape blocks x openssh.msg.hu_HU, 27648 bytes, 54 tape blocks x openssh.msg.it_IT, 19456 bytes, 38 tape blocks x openssh.msg.ja_JP, 26624 bytes, 52 tape blocks x openssh.msg.ko_KR, 19456 bytes, 38 tape blocks x openssh.msg.pl_PL, 27648 bytes, 54 tape blocks x openssh.msg.pt_BR, 18432 bytes, 36 tape blocks x openssh.msg.ru_RU, 27648 bytes, 54 tape blocks x openssh.msg.sk_SK, 19456 bytes, 38 tape blocks x openssh.msg.zh_CN, 21504 bytes, 42 tape blocks x openssh.msg.zh_TW, 21504 bytes, 42 tape blocks

[root@aix209 ssh]#ls

OpenSSH_5.8.0.6102.tar  openssh.msg.IT_IT       openssh.msg.Zh_TW       openssh.msg.pl_PL openssh.base            openssh.msg.JA_JP       openssh.msg.ca_ES       openssh.msg.pt_BR openssh.license         openssh.msg.Ja_JP       openssh.msg.cs_CZ       openssh.msg.ru_RU openssh.man.en_US       openssh.msg.KO_KR       openssh.msg.de_DE       openssh.msg.sk_SK openssh.msg.CA_ES       openssh.msg.PL_PL       openssh.msg.en_US       openssh.msg.zh_CN openssh.msg.CS_CZ       openssh.msg.PT_BR       openssh.msg.es_ES       openssh.msg.zh_TW openssh.msg.DE_DE       openssh.msg.RU_RU       openssh.msg.fr_FR       openssl-0.9.8.1802.tar openssh.msg.EN_US       openssh.msg.SK_SK       openssh.msg.hu_HU       ssh.txt openssh.msg.ES_ES       openssh.msg.ZH_CN       openssh.msg.it_IT openssh.msg.FR_FR       openssh.msg.ZH_TW       openssh.msg.ja_JP openssh.msg.HU_HU       openssh.msg.Zh_CN       openssh.msg.ko_KR

[root@aix209 ssh]#tar xvf OpenSSH_5.8.0.6102.tar

x openssh.base, 6310912 bytes, 12326 tape blocks x openssh.license, 338944 bytes, 662 tape blocks x openssh.man.en_US, 153600 bytes, 300 tape blocks x openssh.msg.CA_ES, 20480 bytes, 40 tape blocks x openssh.msg.CS_CZ, 20480 bytes, 40 tape blocks x openssh.msg.DE_DE, 20480 bytes, 40 tape blocks x openssh.msg.EN_US, 17408 bytes, 34 tape blocks x openssh.msg.ES_ES, 19456 bytes, 38 tape blocks x openssh.msg.FR_FR, 20480 bytes, 40 tape blocks x openssh.msg.HU_HU, 21504 bytes, 42 tape blocks x openssh.msg.IT_IT, 19456 bytes, 38 tape blocks x openssh.msg.JA_JP, 24576 bytes, 48 tape blocks x openssh.msg.Ja_JP, 26624 bytes, 52 tape blocks x openssh.msg.KO_KR, 21504 bytes, 42 tape blocks x openssh.msg.PL_PL, 20480 bytes, 40 tape blocks x openssh.msg.PT_BR, 19456 bytes, 38 tape blocks x openssh.msg.RU_RU, 25600 bytes, 50 tape blocks x openssh.msg.SK_SK, 20480 bytes, 40 tape blocks x openssh.msg.ZH_CN, 25600 bytes, 50 tape blocks x openssh.msg.ZH_TW, 24576 bytes, 48 tape blocks x openssh.msg.Zh_CN, 21504 bytes, 42 tape blocks x openssh.msg.Zh_TW, 21504 bytes, 42 tape blocks x openssh.msg.ca_ES, 19456 bytes, 38 tape blocks x openssh.msg.cs_CZ, 19456 bytes, 38 tape blocks x openssh.msg.de_DE, 20480 bytes, 40 tape blocks x openssh.msg.en_US, 17408 bytes, 34 tape blocks x openssh.msg.es_ES, 19456 bytes, 38 tape blocks x openssh.msg.fr_FR, 20480 bytes, 40 tape blocks x openssh.msg.hu_HU, 27648 bytes, 54 tape blocks x openssh.msg.it_IT, 19456 bytes, 38 tape blocks x openssh.msg.ja_JP, 26624 bytes, 52 tape blocks x openssh.msg.ko_KR, 19456 bytes, 38 tape blocks x openssh.msg.pl_PL, 27648 bytes, 54 tape blocks x openssh.msg.pt_BR, 18432 bytes, 36 tape blocks x openssh.msg.ru_RU, 27648 bytes, 54 tape blocks x openssh.msg.sk_SK, 19456 bytes, 38 tape blocks x openssh.msg.zh_CN, 21504 bytes, 42 tape blocks x openssh.msg.zh_TW, 21504 bytes, 42 tape blocks

2、通過smit installs安裝:
[root@aix209 ssh]#smit installs

3、安裝成功后,系統自動啟動ssh service:
[root@aix209 ssh]#l***c -a |grep ssh
 sshd       ssh        6029368    active

4、配置信任關系(通過建立公鑰和私鑰)
[grid@aix209 grid]$ssh-keygen -t rsa

Generating public/private rsa key pair. Enter file in which to save the key (/home/grid/.ssh/id_rsa):  Created directory '/home/grid/.ssh'. Enter passphrase (empty for no passphrase):  Enter same passphrase again:  Your identification has been saved in /home/grid/.ssh/id_rsa. Your public key has been saved in /home/grid/.ssh/id_rsa.pub. The key fingerprint is: 46:8c:ac:aa:82:62:b1:5e:e2:ba:ed:d5:02:5e:f5:62 grid@aix209 The key's randomart p_w_picpath is: +--[ RSA 2048]----+ |                 | |     . o         | |      + o        | |     o o         | |  . o E S        | | o + o o         | |..=.o .          | |==o. .           | |X=o              | +-----------------+

[grid@aix209 grid]$ssh-keygen -t dsa

Generating public/private dsa key pair. Enter file in which to save the key (/home/grid/.ssh/id_dsa):  Enter passphrase (empty for no passphrase):  Enter same passphrase again:  Your identification has been saved in /home/grid/.ssh/id_dsa. Your public key has been saved in /home/grid/.ssh/id_dsa.pub. The key fingerprint is: 4a:6d:60:35:ee:1c:fe:7d:62:54:f6:31:5c:7b:4a:54 grid@aix209 The key's randomart p_w_picpath is: +--[ DSA 1024]----+ |        o     ..E| |       o .   .. o| |      o o     +=.| |     . * .   + o+| |      . S   . . .| |     . o . o     | |      .   . + .  | |           . o   | |                 | +-----------------+

[grid@aix209 ~]$cd .ssh
[grid@aix209 .ssh]$ls
id_dsa    id_dsa.pub  id_rsa    id_rsa.pub
[grid@aix209 .ssh]$cd ..

在另一個node(aix210)同樣方式建立密鑰對:

[grid@aix210 grid]$ssh-keygen -trsa

[grid@aix210 grid]$ssh-keygen -tdsa

[grid@aix209 ~]$cat .ssh/id_rsa.pub >>.ssh/authorized_keys
[grid@aix209 ~]$cat .ssh/id_dsa.pub >>.ssh/authorized_keys
[grid@aix209 ~]$ssh aix210 cat .ssh/id_rsa.pub >>.ssh/authorized_keys

The authenticity of host 'aix210 (192.168.8.210)' can't be established.
RSA key fingerprint is 65:25:9b:46:05:a4:84:73:76:d2:ba:d2:c8:a2:91:0e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix210,192.168.8.210' (RSA) to the list of known hosts.
grid@aix210's password: 
[grid@aix209 ~]$ssh aix210 cat .ssh/id_dsa.pub >>.ssh/authorized_keys
grid@aix210's password:

將公鑰authorized_keys上傳到對方主機:
[grid@aix209 ~]$scp .ssh/authorized_keys aix210:~/.ssh

grid@aix210's password: 
authorized_keys                               100% 1988   1.9KB/s  00:00

驗證:

[grid@aix209 ~]$ssh aix210 date
Mon Jan  5 22:24:19 CST 1970
[grid@aix209 ~]$ssh aix210-priv date
The authenticity of host 'aix210-priv (10.10.10.210)' can't be established.
RSA key fingerprint is 65:25:9b:46:05:a4:84:73:76:d2:ba:d2:c8:a2:91:0e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix210-priv,10.10.10.210' (RSA) to the list of known hosts.
Mon Jan  5 22:24:27 CST 1970
[grid@aix209 ~]$ssh aix209-priv date
The authenticity of host 'aix209-priv (10.10.10.209)' can't be established.
RSA key fingerprint is 8f:54:98:0e:1b:c1:81:10:36:88:62:e2:20:61:16:91.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix209-priv,10.10.10.209' (RSA) to the list of known hosts.
Mon Mar 28 18:39:55 CDT 2016
[grid@aix209 ~]$ssh aix209 date
The authenticity of host 'aix209 (192.168.8.209)' can't be established.
RSA key fingerprint is 8f:54:98:0e:1b:c1:81:10:36:88:62:e2:20:61:16:91.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix209,192.168.8.209' (RSA) to the list of known hosts.
Mon Mar 28 18:40:02 CDT 2016

[grid@aix210 ~]$ssh aix209 date
The authenticity of host 'aix209 (192.168.8.209)' can't be established.
RSA key fingerprint is 8f:54:98:0e:1b:c1:81:10:36:88:62:e2:20:61:16:91.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix209,192.168.8.209' (RSA) to the list of known hosts.
Mon Mar 28 18:40:30 CDT 2016
[grid@aix210 ~]$ssh aix209-priv date
The authenticity of host 'aix209-priv (10.10.10.209)' can't be established.
RSA key fingerprint is 8f:54:98:0e:1b:c1:81:10:36:88:62:e2:20:61:16:91.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix209-priv,10.10.10.209' (RSA) to the list of known hosts.
Mon Mar 28 18:40:36 CDT 2016
[grid@aix210 ~]$ssh aix210-priv date
The authenticity of host 'aix210-priv (10.10.10.210)' can't be established.
RSA key fingerprint is 65:25:9b:46:05:a4:84:73:76:d2:ba:d2:c8:a2:91:0e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix210-priv,10.10.10.210' (RSA) to the list of known hosts.
Mon Jan  5 22:25:26 CST 1970
[grid@aix210 ~]$ssh aix210 date
The authenticity of host 'aix210 (192.168.8.210)' can't be established.
RSA key fingerprint is 65:25:9b:46:05:a4:84:73:76:d2:ba:d2:c8:a2:91:0e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'aix210,192.168.8.210' (RSA) to the list of known hosts.
Mon Jan  5 22:25:31 CST 1970

。。。驗證通過,信任關系建立成功!

------  在構建Oracle RAC時,需要Oracle用戶也要建立信任關系 。。。

以上是“Oracle Study在AIX環境下如何構建主機信任關系”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注創新互聯行業資訊頻道!

另外有需要云服務器可以了解下創新互聯cdcxhl.cn,海內外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業上云的綜合解決方案,具有“安全穩定、簡單易用、服務可用性高、性價比高”等特點與優勢,專為企業上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。

當前題目:OracleStudy在AIX環境下如何構建主機信任關系-創新互聯
標題來源:http://m.kartarina.com/article12/dodidc.html

成都網站建設公司_創新互聯,為您提供域名注冊、網站建設、面包屑導航靜態網站、微信公眾號、網站收錄

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

h5響應式網站建設
主站蜘蛛池模板: 国产成年无码v片在线| 亚洲av无码电影网| 东京热加勒比无码少妇| 永久免费av无码网站yy| 亚洲av无码片在线观看| 久久久久久国产精品无码下载| 无码日韩精品一区二区免费暖暖 | 无码GOGO大胆啪啪艺术| 色欲AV永久无码精品无码| 永久免费AV无码网站国产| 无码视频一区二区三区| 久久精品中文无码资源站| 中国少妇无码专区| 国产AV无码专区亚洲AV琪琪| 少妇无码AV无码专区在线观看| 亚洲无码高清在线观看| 精品久久久无码人妻中文字幕豆芽| 亚洲AV无码专区国产乱码4SE| 亚洲av无码不卡私人影院| 亚洲中文无码亚洲人成影院| 无码国产伦一区二区三区视频| 狠狠噜天天噜日日噜无码| 免费无码又爽又黄又刺激网站| 免费无码又黄又爽又刺激| 亚洲AV无码乱码麻豆精品国产| 午夜福利无码不卡在线观看| 国产白丝无码免费视频| 潮喷无码正在播放| 国产羞羞的视频在线观看 国产一级无码视频在线 | 99久久人妻无码精品系列| 国模无码人体一区二区| 亚洲综合最新无码专区| 亚洲一级Av无码毛片久久精品| 无码A级毛片日韩精品| 国产精品无码一区二区三区在 | 国产AV无码专区亚洲AV男同| 永久免费av无码入口国语片| 亚洲AV永久无码精品成人| 日韩AV无码久久一区二区| 人妻精品久久无码专区精东影业 | 亚洲AV无码专区亚洲AV伊甸园|