Groups
Groups
Sign in
Groups
Groups
谷歌贴吧联盟
Conversations
About
Send feedback
Help
Ubuntu 7.04 安装(硬盘安装)与配置图文指南
0 views
Skip to first unread message
googlepost
unread,
Nov 21, 2007, 9:52:58 AM
11/21/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌贴吧联盟
前言
Ubuntu是基于Debian的一个社区发行版,是主流发行版之一,现在有很多的linux爱好者使用这个易用、强大的发行版。此文面向对象是希望安
装配置好ubuntu的朋友,此文难度不大,按照本文安装配置完成之后您可以继续对您的系统进行更多的改进。
珍惜劳动成果,转载请注明来源:
如果看不清文中的图片,请点击图片即可放大
安装ubuntu前,请备份好您的重要数据
附加篇:从旧版本升级到7.04方法(如果您已经安装了7.04以前的版本,那么您可以不必重新安装,而是采用升级的方法来升级到7.04)
1、通过源升级
将源列表更换为feisty的,可以
终端输入
sudo gedit /etc/apt/sources.list
将里面的如dapper、或edgy之类的版本号改成feisty,保存退出。
或者直接在本文后面的源列表里复制一组覆盖原来sources.list的内容,保存退出。
然后终端输入
sudo apt-get dist-upgrade
会询问您是否升级,输入y后会经过漫长的一段时间(根据您的网速决定),系统会自动更新完毕后重启,您就会看到升级为7.04了。
一、安装篇
1、下载光盘镜像
首先下载我们需要的光盘镜像,如果你喜欢刻盘安装那就下载desktop版本刻盘安装,我们这里讨论的是使用ubuntu-7.04-
alternate-i386.iso进行硬盘安装,所以推荐下载alternate版,另外最近下载的人比较多,更推荐使用bt下载。
下载地址:
http://ubuntu.csie.nctu.edu.tw/ubuntu-releases/7.04/
如果你刻盘安装,那么把刻好的盘直接放到光驱中,desktop版本启动之后可以进入一个livecd模式,你可以在里面先体验一下,点击桌面上的
install进行安装,按提示一步步安装就行了。alternate版本的就会出现下面的画面,直接选择第一项进入。(直接跳到第5步)
下面说一下硬盘安装的方法。
2、下载引导文件
先下载好光盘镜像,放在某个分区根目录下(我这里放置在windows的D盘下)然后下载硬盘安装的引导文件,下载地址:
http://ftp.sjtu.edu.cn/ubuntu/dists/feisty/main/installer-i386/current/images/hd-media/initrd.gz
http://ftp.sjtu.edu.cn/ubuntu/dists/feisty/main/installer-i386/current/images/hd-media/vmlinuz
以上两个文件都要下载,放在某个分区里,(我这里还是放置在windows的D盘下)
3、准备分区
在硬盘上用分区魔术师之类的软件分出来一个ext3的分区,作为linux根分区,分出一个大小为内存2倍的swap分区,作为linux的虚拟内
存。
4、准备grub,引导安装程序
然后想办法搞到一个grub用。如果你有grub就直接跳过这步。如果没有grub,下载矮人dos工具箱
下载地址
http://download.zol.com.cn/detail/9/88018.shtml
然后下载一个grub for dos,将里面的grub.exe等东西解压出来(图省事,也解压并放到D盘根目录下)(如果你有软盘的话,可以把
grub for dos解压到软盘里使用软盘引导,启动grub)
下载地址:
http://download.gna.org/grub4dos/
安装后重启,选择矮人dos工具箱进入,然后就会出现如下画面
这时运行矮人dos工具箱,进入dos,进入D盘,输入grub.exe启动grub
进入grub,按c键调出命令模式
输入如下命令
kernel (hd0,2)/vmlinuz root=/dev/ram0 ramdisk_size=32000
devfs=mount,dall
initrd (hd0,2)/initrd.gz
boot
注意:命令里面的 (hd0,2)不是绝对的,要看你文件放置的分区和目录决定。实在不确定的话,可以先输入
find /ubuntu-7.04-alternate-i386.iso
出现的结果(会出现(hd 0,X)一类的东西)就是上面(hd0,2)应该改成的东西了
5、进行安装
二、配置篇
注意:我下面所说的执行蓝色字体的命令要在终端下执行,终端的打开方式是
应用程序 -> 附件 -> 终端
并且是以sudo开头的命令,有可能需要您输入密码,那么就输入您安装系统时给您帐号设置的密码即可。
1、网络配置
安装完了先确定你的网络连接方式,如果是LAN或者路由(或自动拨号的ADSL)的话,这步骤就可以PASS了,如果是需要ADSL虚拟拨号的用户,请
在终端下执行如下命令
sudo pppoeconf
然后根据里面的提示设置一下你虚拟拨号。设置完毕应该可以上网了。
2、更换软件源、更新系统
先去网上search一份你使用起来比较快的,网通建议用台湾的源,电信就用cn99
在终端输入
sudo gedit /etc/apt/sources.list
懒得搜索的,下面有一份源列表,建议复制一部分使用
#
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
#
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 multiverse
restricted universe
# 台湾大学更新服务器(推荐网通用户使用,此源比较完整,较少出现同步问题)
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
googlepost
unread,
Nov 21, 2007, 9:53:56 AM
11/21/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌贴吧联盟
#
Mirror.lupaworld.com
更新服务器(浙江省杭州市电信,亚洲地区官方更新服务器)
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
deb
http://mirror.lupaworld.com/ubuntu/ubuntu-cn
feisty 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
deb
http://ubuntu.cnsite.org/ubuntu-cn/
feisty 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
http://mirror9.net9.org/ubuntu-cn/
feisty main multiverse
restricted universe
googlepost
unread,
Nov 21, 2007, 9:55:36 AM
11/21/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌贴吧联盟
将里面乱七八糟的东西删了,将你复制的源列表粘贴到里面,保存退出。
在终端输入
sudo apt-get update
sudu apt-get upgrade
这样便更新以及升级了系统。
3、中文支持安装(包括输入法)
更新完毕后,点击屏幕上方面板中的"系统"(可能是英文,总之是从左边数第三个),在菜单中选择"系统管理"(同样可能是英文,是菜单第2项),打开语
言支持(language support),在这个设置程序中找到chinese一项,将后面的方框点成对号,再点Apply.
系统会自动帮助你安装完中文字体、输入法等。这步完毕后最好重启一下,来看看我们漂亮熟悉的汉字吧!
4、安装解码器、flashplayer、java虚拟机、微软字体
这是ubuntu推出的一个新软件包,将一次性将上面几个东东自动装好
在终端输入
sudo apt-get install ubuntu-restricted-extras
即可完成安装
5、安装媒体播放器
我个人还是推荐使用mplayer,它支持的格式很全,功能强大,当然,你也可以用系统自带的播放器,在上一步中已经安装了totem的相关解码器,并
且当你用它播放wma之类上面没有安装的解码器的文件时,程序会自动搜索并安装上
我安装的是mplayer
终端输入
sudo apt-get install mplayer mozilla-mplayer totem-xine libxine-
extracodecs
另外需要一个w32codecs文件,是用来支持那些私有媒体格式的解码器,源里已经没有w32codecs了,我们可以从这里下载那个后缀为.deb
的安装
http://www.debian-multimedia.org/pool/main/w/w32codecs/
还有一个
http://ftp.ubuntu.org.cn/bones7456/w32codecs_20071007-0.0_i386.deb
用户名ubuntu 密码ubuntuftp
mplayer调试(视频、字幕)
启动mplayer,右键->Preferences->Video
Available drivers选择xv
然后进入Font标签 Font里选择一个中文字体,Encoding里设置为Simplified Chinese charset (CP936)
googlepost
unread,
Nov 21, 2007, 9:56:04 AM
11/21/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌贴吧联盟
6、安装下载工具(多线程下载、BT下载、电驴)
还是终端输入
sudo apt-get install d4x amule azureus
即可。
googlepost
unread,
Nov 21, 2007, 9:56:38 AM
11/21/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌贴吧联盟
四、美化篇
1、字体更换
我推荐大家使用文泉驿字体,在
http://wqy.sourceforge.net
下载deb包安装
在"系统"->"首选项"->"字体"中调整字体
五、优化与清理篇
1、apt下载的deb包清理
在使用完apt后,系统下载的deb包会留存在硬盘里,我们可以把它们删除,释放硬盘空间。
终端输入
sudo apt-get clean
googlepost
unread,
Nov 21, 2007, 9:58:01 AM
11/21/07
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌贴吧联盟
7、Firefox浏览器优化
这个不多说了,只推荐几个插件
Tab Mix Plus --------标签浏览增强插件
Super DragAndGo--------超级拖拽插件
Fasterfox--------浏览器速度优化插件
去
https://addons.mozilla.org/en-US/firefox/
搜索安装。
8、安装rar压缩、解压工具
终端输入
sudo apt-get install rar unrar
9、启用root(最高权限)帐户
终端输入
sudo passwd root
输入你希望的root用户的密码
10、安装QQ
虽然eva是个qt程序,但是我仍然推荐使用它,因为它功能很强大,可以发送图片、文件等,安装方法如下
终端输入
sudo apt-get install eva
便可安装eva了,如果你是使用scim(选择中文语言支持的自动安装的就是scim),为了可以在eva里面输入文字,
要在终端输入
sudo apt-get install scim-qtimm
系统会安装支持QT的scim插件,这样你就可以使用eva聊qq了。
Reply all
Reply to author
Forward
0 new messages