2013年1月30日 星期三

Monitorix 安裝


apt-get update
apt-get install monitorix

service apache2 reload
      
service monitorix restart
      
http://localhost/monitorix/

2013年1月25日 星期五

ubuntu設定IP


設定IP
/etc/network/interfaces

auto eth0 
iface eth0 inet static
address  192.168.10.10
netmask  255.255.255.0
gateway  192.168.10.1

設定DNS
/etc/resolv.conf

nameserver 192.168.10.1

重新啟動網路
/etc/init.d/networking restart

2013年1月24日 星期四

ubuntu更改主機名稱


/etc/hostname                         主要設定檔

/etc/hosts                                系統服務對應用

hostname -F /etc/hostname    重新啟用

hostname                                查詢主機名稱