ksaitoの日記

日々試したことの覚え書き

Ubuntuのセットアップ

移転しました。

自動的にリダイレクトします。

接続とセットアップ作業に必要なsshとscreenのパッケージをインストールします。

$ sudo aptitude install ssh screen emacs

screenのキーバインドを変更します。

$ lv ~/.screenrc
escape ^Z^Z

次にパッケージを全て新しいバージョンにアップグレードします。

$ sudo aptitude upgrade
$ diff -u ~/backup/etc/apt/sources.list /etc/apt/sources.list
--- ~/backup/etc/apt/sources.list    2007-03-18 16:09:30.000000000 +0900
+++ /etc/apt/sources.list       2007-03-18 16:09:56.000000000 +0900
@@ -14,8 +14,8 @@
 ## your rights to use the software. Also, please note that software in
 ## universe WILL NOT receive any review or updates from the Ubuntu security
 ## team.
-# deb http://jp.archive.ubuntu.com/ubuntu/ edgy universe
-# deb-src http://jp.archive.ubuntu.com/ubuntu/ edgy universe
+deb http://jp.archive.ubuntu.com/ubuntu/ edgy universe
+deb-src http://jp.archive.ubuntu.com/ubuntu/ edgy universe

 ## Uncomment the following two lines to add software from the 'backports'
 ## repository.
@@ -24,13 +24,13 @@
 ## newer versions of some applications which may provide useful features.
 ## Also, please note that software in backports WILL NOT receive any review
 ## or updates from the Ubuntu security team.
-# deb http://jp.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
-# deb-src http://jp.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
+deb http://jp.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
+deb-src http://jp.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse

 deb http://security.ubuntu.com/ubuntu edgy-security main restricted
 deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted
-# deb http://security.ubuntu.com/ubuntu edgy-security universe
-# deb-src http://security.ubuntu.com/ubuntu edgy-security universe
+deb http://security.ubuntu.com/ubuntu edgy-security universe
+deb-src http://security.ubuntu.com/ubuntu edgy-security universe

 deb http://archive.ubuntulinux.jp/ubuntu-ja edgy/
$ sudo aptitude update
$ sudo aptitude install lv apt-show-version
$ sudo aptitude upgrade