免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 975 | 回复: 0
打印 上一主题 下一主题

Ubuntu安装后首要进行的事情 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-30 23:39 |只看该作者 |倒序浏览

一 Ubuntu上网配置
打开/etc/network/interfaces,里面可设置DHCP或手动设置静态ip。前面auto eth0,让网卡开机自动挂载.
1. 以DHCP方式配置网卡
编辑文件/etc/network/interfaces
sudo vi /etc/network/interfaces
并用下面的行来替换有关eth0的行:
# The primary network interface - use DHCP to find our address
auto eth0
iface eth0 inet dhcp
用下面的命令使网络设置生效:
sudo /etc/init.d/networking restart
也可以在命令行下直接输入下面的命令来获取地址
sudo dhclient eth0
2. 为网卡配置静态IP地址
编辑文件/etc/network/interfaces:
sudo vi /etc/network/interfaces
并用下面的行来替换有关eth0的行:# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.3.90
gateway 192.168.3.1
netmask 255.255.255.0
#network 192.168.3.0
#broadcast 192.168.3.255
将上面的ip地址等信息换成你自己就可以了.用下面的命令使网络设置生效:
sudo /etc/init.d/networking restart
二 配置系统更新“源”
在ubuntu(其他linux系统,如Redhat,Open SUSE,Fedora Core也差不多)里,“源”就是指系统更新用的服务器,源地址,自然就是指更新服务器的地址了。
ubuntu“源文件”所在位置: /etc/apt/sources.list
1. 编辑源的文件:sudo gedit /etc/apt/sources.list
2. ubuntu 8.10 台湾源。其他的都不稳定,大家想要的话,可以去网上搜索,很多的,我这里只给出我认为最稳定,速度也不错的台湾源:
deb http://tw.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-proposed main restricted universe multiverse

deb
http://mirror.lupaworld.com/ubuntu
intrepid main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
intrepid-security main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
intrepid-updates main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
intrepid-backports main restricted universe multiverse
deb
http://mirror.lupaworld.com/ubuntu
intrepid-proposed main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
intrepid main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
intrepid-security main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
intrepid-updates main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
intrepid-backports main restricted universe multiverse
deb-src
http://mirror.lupaworld.com/ubuntu
intrepid-proposed main restricted universe multiverse
原封不动的,复制到sources.list里面去,把原来里面的东西全部一个不剩下的删除就行!

3. 更新源上的包:sudo apt-get update
4. 备份源的文件: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

三 启用root账户

1. 设置root账户密码
    #sudo passwd root
2. 启用root账户登录
    #sudo vi /etc/gdm/gdm.conf
在文件中找到AllowRoot,并修改为
    Allow=true

四 对系统的软件进行升级

五 安装输入法fcitx




本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/93889/showart_1915669.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP