Chinaunix首页 | 论坛 | 博客
  • 博客访问: 130378
  • 博文数量: 32
  • 博客积分: 2547
  • 博客等级: 少校
  • 技术积分: 405
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-15 19:58
文章分类

全部博文(32)

文章存档

2009年(20)

2008年(12)

我的朋友

分类: LINUX

2009-04-14 13:11:29

Ubuntu 8.10 desktop装好了, 现在开始配置了:

# 配置IP地址
  sudo vi /etc/network/interfaces
  auto eth0
  #iface eth0 inet dhcp
  iface eth0 inet static
  address 192.168.0.10
  netmask 255.255.255.0
  gateway 192.168.0.1

# 配置网关
  sudo vi /etc/resolv.conf
  nameserver 192.168.4.1

sudo ifdown eth0
sudo ifup eth0

# 静态路由的添加:
up route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.4.3
up route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.4.3
up route add -net 10.1.0.0 netmask 255.255.252.0 gw 192.168.4.3
up route add -net 10.10.20.0 netmask 255.255.252.0 gw 192.168.4.3

# 更改语言支持.
  系统 - 系统管理 - 语言支持, 找到汉语,打勾,升级完后重启电脑,然后ctrl+空格即可切换.

# 更新Ubuntu源
sudo gedit /etc/apt/sources.list
中国电信网通通用源:
gedit /etc/apt/sources.list
deb intrepid main restricted universe multiverse
deb intrepid-security main restricted universe multiverse
deb intrepid-updates main restricted universe multiverse
deb intrepid-proposed main restricted universe multiverse
deb intrepid-backports main restricted universe multiverse
deb-src intrepid main restricted universe multiverse
deb-src intrepid-security main restricted universe multiverse
deb-src intrepid-updates main restricted universe multiverse
deb-src intrepid-proposed main restricted universe multiverse
deb-src intrepid-backports main restricted universe multiverse

网易163提供的源 mirrors.163.com
gedit /etc/apt/sources.list
deb intrepid main restricted universe multiverse
deb intrepid-security main restricted universe multiverse
deb intrepid-updates main restricted universe multiverse
deb intrepid-proposed main restricted universe multiverse
deb intrepid-backports main restricted universe multiverse
deb-src intrepid main restricted universe multiverse
deb-src intrepid-security main restricted universe multiverse
deb-src intrepid-updates main restricted universe multiverse
deb-src intrepid-proposed main restricted universe multiverse
deb-src intrepid-backports main restricted universe multiverse

# 为ubuntu 8开启root权限.
  系统管理 - 用户和组
  系统管理 - 登陆窗口 - 安全 - 允许本地系统管理员登陆

# 安装RAR压缩及解压.
  sudo apt-get install rar unrar p7zip p7zip-rar p7zip-full

阅读(1377) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~