hajichan.net technical version
トップページ >> サーバ管理(Solaris) >> ホスト名変更

サーバ管理

ホスト名変更

ホスト名を変更するには、/etc/hosts、/etc/hostname.<if名>、/etc/nodenameファイルを変更し、システムをリブートします。

# vi /etc/hosts
---
192.168.1.3     host-new    loghost

# vi /etc/hostname.hme0
---
host-new

# vi /etc/nodename
---
host-new

# /ete/telinit 6
ページのトップへ戻る