Dreamizm.Networks

Ubuntu 8.04 Server導入

UbuntuのDesktop版を使っていましたが、なんか最近ディスプレイをつながずsshかwebminで操作していたので思い切ってServer版にしました。

中身がすっきりしていい感じ。かな?

今日やったこと

  • LOCALE変更
  • TIMEZONE確認
  • SSHのRootLogin拒否
  • vimの導入
  • IP Addressの固定
  • apt-getでdist-upgrade

LOCALEはただ~/.bashrcにexport LANG=Cって書いただけです。

IPaddressは sudo vi /etc/network/interfaces して dhcpをstaticに、address, netmask, network, broadcast, gatewayを記述。あとは/etc/init.d/networking restart。

TIMEZONEは/etc/default/rcSにUTC=yesというのがあることを確認(私はUTCで使ってますので。)つづいてtimezoneはdpkg-reconfigure tzdataして選ぶだけ。

SSHは/etc/ssh/sshd_configのPermitRootLoginをさがしてnoに変更。

vimはapt-get install vimでOKでした。

No comments yet. Be the first.

Leave a reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a