Chinaunix首页 | 论坛 | 博客
  • 博客访问: 376795
  • 博文数量: 82
  • 博客积分: 1855
  • 博客等级: 上尉
  • 技术积分: 846
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-12 12:28
文章存档

2013年(3)

2012年(8)

2011年(71)

分类: LINUX

2011-10-13 11:32:25

1、ubuntu系统修改IP地址:sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet static
address 219.218.122.168
netmask  255.255.255.0
gateway  219.218.122.254
 
2、ubuntu系统修改DNS: sudo gedit /etc/resolv.conf
nameserver 202.194.15.12
 
3、使网络生效:sudo /etc/init.d/networking restart
 
在Linux下要使用SVN,可以在ubuntu系统修改IP地址:sudo gedit /etc/network/interfaces
添加
auto eth0:0
iface eth0:0 inet static
address 219.218.122.168
netmask  255.255.255.0
gateway  219.218.122.254
其中ip地址什么的自己改一下。
 
阅读(1701) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~