Ubuntu設定-1-

coLinux上のUbuntu(coUbuntu)で設定したことのメモ。
coUbuntuのインストールはこちら参照。その続きです。


1.DNSの設定
Windows上のcoUbuntu用のネットワーク接続[TAP]のIPアドレスを設定する。
f:id:kshimo69:20071023011941p:image
/etc/resolv.conf

nameserver 192.168.100.1

2./etc/apt/sources.listの設定
CD-ROMの設定が書かれているのでコメントアウト。

#deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

3.puttyssh鍵の登録
@ITの記事参考。

$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/hoge/.ssh/id_rsa):
Created directory '/home/hoge/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/hoge/.ssh/id_rsa.
Your public key has been saved in /home/hoge/.ssh/id_rsa.pub.
The key fingerprint is:
9f:de:b5:72:87:cc:79:70:bf:33:73:9a:e5:69:4d:32 hoge@coUbuntu
$ cd .ssh/
$ mv id_rsa.pub authorized_keys
$ chmod 600 authorized_keys


4.puttyの設定
セッション名を指定して起動する方法はこちら
フォントの設定はここを参照してgdi++.dllを使うよう設定。
フォントは「M+2VM+IPAG circle」に設定。
めっちゃ見やすい!
最終的なショートカットはこんな感じ。

"C:\Documents and Settings\shimo\My Documents\pizza\gdi++.exe" "C:\Program Files\PuTTY\putty.exe" -load "coUbuntu"