Debianのインストール

Debian etch

古いPCにDebianをインストール。
問題なくインストール完了。

aptの設定

  • 1 - /etc/apt/sources.listのバックアップ
  • 2 - /etc/apt/sources.listの更新
deb http://ftp.jp.debian.org/debian/ etch main non-free
deb-src http://ftp.jp.debian.org/debian/ etch main non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
  • 3 - rootで以下を実行。
# aptitude update
# aptitude upgrade

ローカルネットワークの別PCからSSHでつなげるようにする

  • 利用するもの
  • nmapまたはnetstatでポートを調べる
$ nmap localhost
$ netstat -tanp
  • sshのインストール
# aptitude install ssh
# /etc/init.d/ssh restart
  • nmapまたはnetstatでポートを調べる

TODO

  1. emacsのインストール
  2. .bashrc, .bash_profileを更新する。
  3. Javaのインストール。
  4. tomcatをインストールし、PC起動時にtomcatサーバも起動するようにする。