2009年10月10日 星期六

駭客道

Hacker Spirit

To follow the path:
look to the master,
follow the master,
walk with the master,
see through the master,
become the master.

駭客道

若要求道:
看著大師,
追隨大師,
接近大師,
看穿大師,
成為大師.

Ubuntu Services and Service Managers

sysv-rc-conf

安裝sysv-rc-conf

apt-get install sysv-rc-conf

停用NetworkManager

Fedora

# service NetworkManager stop
# chkconfig NetworkManager off
# chkconfig network on
# service network start


Ubuntu

sysv-rc-conf --level 2 \NetworkManager off
sysv-rc-conf --level 2 \networking on

/etc/init.d/NetworkManager stop
/etc/init.d/networking start

設定固定IP

Ubuntu

設定IP


# sudo vi /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
#預設的DHCP取得IP
# iface eth0 inet dhcp
#改為靜態IP
iface eth0 inet static
#固定IP位址
address 192.168.1.100
#網路遮罩
netmask 255.255.255.0
#預設閘道
gateway 192.168.1.1

最後別忘了重新啟動網路才會生效喔
#sudo /etc/init.d/networking restart

設定DNS server
#vi /etc/resolv.conf

nameserver 168.95.1.1


Fedora

/etc/sysconfig/network-scripts/ifcfg-eth0

改為 Static IP
#USERTRL=no
#PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
#BOOTPROTO=dhcp
#BOOTROTO=none
BOOTPROTO=static
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=192.168.0.10
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
GATEWAY=192.168.0.1

設定DNS Server

#vi /etc/resolv.conf

nameserver 168.95.1.1


重要網站

火狐語言包下載位置
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.3/linux-i686/xpi/

軟體下載FTP
ftp://ftp.osuosl.org/

http://distrowatch.com/

開夜燈睡覺 疾病易上身
http://tw.news.yahoo.com/article/url/d/a/100104/69/1y6wn.html

用VirtualBox 開啟VMware 的檔案
http://ah11851152n.pixnet.net/blog/post/21984685