http://fakeyakuza.hatenablog.com/entry/20110914/1316013181
→miniCDインストール×
→色々×
→i86_63を試すもダメ
→i368を試すもダメ。
【解決策】"PAE/NXを有効化"にチェック=>(http://d.hatena.ne.jp/esperia/20110607/1307434536
→i368を試すもダメ。
【解決策】"PAE/NXを有効化"にチェック=>(http://d.hatena.ne.jp/esperia/20110607/1307434536
→一旦通るようになった。(i368)
↓
network-scriptの設定
→pingが通らない
↓
【ネットワーク初期設定(http://www.server-world.info/query?os=Scientific_Linux_6&p=initial_conf&f=3)】
/etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO="dhcp"
ONBOOT="yes"
/etc/rc.d/init.d/network restart
chkconfig network on
↓
【SELINUX無効化】
getenforce←SELINUX状態[Enforceing:有効 Permissing:無効]
getenfort←SELINUX無効化
or
vi /etc/sysconfig/selinux
SELINUX=disabled
↓
【iptable無効化】
/etc/rc.d/init.d/iptables stop
chkconfig iptables off
↓
【nginx】
wgetがない→sudo yum install wget
↓
こっちのほうが早い(http://sakura.off-soft.net/centos/apache-nginx-1-rpm-nginx-install.html)
↓開けない
openssh?
↓
(解決策!)
http://blog.kanemu.net/2009/04/virtualboxcentos.html
ブリッジネットワーク。だと、SSHいらない。
で、いつもどおりudevでeth3を変えてやる。
↓
・・・できない。
【wget】
http://d.hatena.ne.jp/qloog/20100410/1270827611
(8.15/1:26)
ネットはある。
あとは。。。
JK:‾ Junichi$ ssh root@192.168.56.101
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
43:7b:84:91:1c:98:35:50:12:d8:af:29:d0:6a:82:2e.
Please contact your system administrator.
Add correct host key in /Users/Junichi/.ssh/known_hosts to get rid of this message.
Offending key in /Users/Junichi/.ssh/known_hosts:9
RSA host key for 192.168.56.101 has changed and you have requested strict checking.
Host key verification failed.
JK:‾ Junichi$
↓
JK:‾ Junichi$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/Junichi/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/Junichi/.ssh/id_rsa.
Your public key has been saved in /Users/Junichi/.ssh/id_rsa.pub.
The key fingerprint is:
f1:be:a3:e5:15:bd:c3:bd:5d:9a:fa:a3:ca:dd:85:d1 Junichi@JK.local
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| . |
| o . . |
| S . . o E|
| . o = |
| o . = +|
| +.+ ..=+|
| ..=o++=o.|
+-----------------+
JK:‾ Junichi$
↓
network-scriptの設定
→pingが通らない
↓
【ネットワーク初期設定(http://www.server-world.info/query?os=Scientific_Linux_6&p=initial_conf&f=3)】
/etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO="dhcp"
ONBOOT="yes"
/etc/rc.d/init.d/network restart
chkconfig network on
↓
【SELINUX無効化】
getenforce←SELINUX状態[Enforceing:有効 Permissing:無効]
getenfort←SELINUX無効化
or
vi /etc/sysconfig/selinux
SELINUX=disabled
↓
【iptable無効化】
/etc/rc.d/init.d/iptables stop
chkconfig iptables off
↓
【nginx】
wgetがない→sudo yum install wget
↓
こっちのほうが早い(http://sakura.off-soft.net/centos/apache-nginx-1-rpm-nginx-install.html)
↓開けない
openssh?
↓
(解決策!)
http://blog.kanemu.net/2009/04/virtualboxcentos.html
ブリッジネットワーク。だと、SSHいらない。
で、いつもどおりudevでeth3を変えてやる。
↓
・・・できない。
【wget】
http://d.hatena.ne.jp/qloog/20100410/1270827611
(8.15/1:26)
ネットはある。
あとは。。。
JK:‾ Junichi$ ssh root@192.168.56.101
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
43:7b:84:91:1c:98:35:50:12:d8:af:29:d0:6a:82:2e.
Please contact your system administrator.
Add correct host key in /Users/Junichi/.ssh/known_hosts to get rid of this message.
Offending key in /Users/Junichi/.ssh/known_hosts:9
RSA host key for 192.168.56.101 has changed and you have requested strict checking.
Host key verification failed.
JK:‾ Junichi$
↓
ちゅーから↓
JK:‾ Junichi$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/Junichi/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /Users/Junichi/.ssh/id_rsa.
Your public key has been saved in /Users/Junichi/.ssh/id_rsa.pub.
The key fingerprint is:
f1:be:a3:e5:15:bd:c3:bd:5d:9a:fa:a3:ca:dd:85:d1 Junichi@JK.local
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| . |
| o . . |
| S . . o E|
| . o = |
| o . = +|
| +.+ ..=+|
| ..=o++=o.|
+-----------------+
JK:‾ Junichi$
↓からの
ssh root@192.168.56.101
↓で
結局さっきと一緒。
↓で
よく見ると、「Offending key in /Users/Junichi/.ssh/known_hosts:9」
って言ってるから、なんとなく消してみる。
↓もっかい
ssh root@192.168.56.101
↓
動いた!!!!!
0 件のコメント:
コメントを投稿