ITeye博客

Linux Tips

ieniac · 2012-10-15 06:43 · Tips · Linux · 操作系统 · Markdown

-- How to config ip in Linux

Follow the instruction while editing the file '/etc/network/interfaces'

 

iface eth0 inet static
address 192.168.184.111
gateway 192.168.184.11
netmask 255.255.255.0

 

-- Adjust time in Linux

 

sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
sudo ntpdate 129.7.1.66

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。