20 Jan 10 # インストール後のホスト名の変更 kaburk

http://kaede.blog.abk.nu/hostname

現在のホスト名の調べ方

$ hostname
hostname.domainname

unameでも調べることが可能です。

$ uname -a
Linux hostname.domainname 2.6.24-16-server #1 SMP Thu Apr 10 13:15:38 UTC 2008 x86_64 GNU/Linux

hostnameコマンドを利用して変更する

hostnameコマンドの引数に新しいホスト名を渡すだけで設定可能。

# hostname servername.kaede.local

直接設定ファイルを編集する

Debian/Ubuntu系

/etc/hostnameを編集すればいいようです。

# hostname.domainname コメントアウト
servername.kaede.local

ネットワークを再起動すれば新しいホスト名になります。

# /etc/init.d/networking restart
# hostname

servername.kaede.local


19 Jan 10 # UbuntuでSubversion設定 (Apache WebDAV)

19 Jan 10 # Apache2 仮想ホストの設定値 : 名前ベースの仮想ホスト

19 Jan 10 # ubuntuでgitインストール kaburk

sudo apt-get install git

は罠

gitで入るのは

git (GNU Interactive Tools) is a set of interactive text-mode tools, closely integrated with the shell.

sudo apt-get install git-core

が正解

http://wiki.cureblack.com/?ubuntu%A4%C7git%A5%A4%A5%F3%A5%B9%A5%C8%A1%BC%A5%EB

19 Jan 10 # MOONGIFT: » Google App Engineで動作する簡易CMS「官兵衛」:オープンソースを毎日紹介

Page 3 of 5