(官方参考:
http://wiki.ubuntu.org.cn/%E5%BF%AB%E9%80%9F%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97/FeistyFawn )
以下完全适用于VMWareWorkStation中虚拟安装Ubuntu7.04,网络使用桥接模式。
1.修改源
一般不需要修改,如要修改:
先备份:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
修改:
gksu gedit /etc/apt/sources.list
将其中的内容替换为:
Archive.ubuntu.com更新服务器(欧洲,此为官方源,电信网通用户使用):
deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
Ubuntu.cn99.com更新服务器(江苏省常州市电信,推荐电信用户使用):
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
Mirrors.shlug.org更新服务器(电信服务器,Ubuntu China Official Mirror, maintained by Shanghai Linux User Group):
deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
Mirror.lupaworld.com更新服务器(浙江省杭州市双线服务器):
deb http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-proposed main restricted universe multiverse
厦门大学更新服务器(教育网服务器):
deb ftp://ubuntu.realss.cn/ubuntu/ feisty main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ feisty-backports restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ feisty-proposed main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ feisty-security main restricted universe multiverse
deb ftp://ubuntu.realss.cn/ubuntu/ feisty-updates main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ feisty main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ feisty-backports main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ feisty-security main restricted universe multiverse
deb-src ftp://ubuntu.realss.cn/ubuntu/ feisty-updates main restricted universe multiverse
成都市 电子科技大学更新服务器(教育网,推荐校园网和网通用户使用):
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
== 如果无法解析uestc.edu.cn域名,请使用以下地址 ==
deb http://ubuntu.dormforce.net/ubuntu/ feisty main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ feisty-security main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ feisty main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://ubuntu.dormforce.net/ubuntu/ feisty-updates main multiverse restricted universe
上海市上海交通大学更新服务器(教育网,推荐校园网和网通用户使用):
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
中国科学技术大学更新服务器(教育网,推荐校园网和网通用户使用):
deb http://debian.ustc.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
北京市清华大学更新服务器(教育网,推荐校园网和网通用户使用):
deb http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb-src http://mirror9.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
沈阳市东北大学更新服务器(教育网,推荐校园网和网通用户使用):
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-backports main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-proposed main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-security main multiverse restricted universe
deb ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-updates main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-backports main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-security main multiverse restricted universe
deb-src ftp://ftp.neu.edu.cn/mirror/archive.ubuntu.com/ubuntu/ feisty-updates main multiverse restricted universe
中国台湾省台湾大学更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。强烈推荐此源,比较完整,较少出现同步问题):
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse
Mirror.vmmatrix.net更新服务器(上海市电信,推荐电信网通用户使用):
deb http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-proposed main restricted universe multiverse
ubuntu.cnsite.org更新服务器(福建省福州市 电信):
deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-proposed main restricted universe multiverse
mirror.rootguide.org更新服务器(上海市 电信):
deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://mirror.rootguide.org/ubuntu-cn/ feisty main restricted universe multiverse
台湾的官方源速度也相当不错,有时甚至快于内地的:
deb http://tw.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
配置完成以后一定要:
sudo apt-get update #这一步是更新你的源列表,换源後必须执行
sudo apt-get dist-upgrade #这一步是更新软件,如果你对新版本软件的需求不是那么迫切,可以不执行
注意:如果在更新过程中发生 域名无法解析 错误,很可能是DNS设置的问题,如果DNS设置成内网路由器的地址不行的话可以上网查一下ISP的DNS。无锡地区:网通221.6.4.66 电信 221.228.255.1
IP地址可以设为DHCP自动获取。
2. 配置C++编译器
使用gcc开发,需要执行下面的命令,这样就可以写C程序了。
sudo apt-get install build-essential
3.配置中文输入法。
System-》Admin-》Language Support 会自动安装一些软件。再把默认语言中文,选上,又会安装一些软件,安装完毕后中文输入法就有了。