本文所使用的硬件配置: cpu:Amd sp 2800+ 主板:映泰n61 显卡集成 内存:512(128M给了显卡) 硬盘80G 安装: 以下是下载地址 CD下载: http://releases.ubuntu.com/feisty/ DVD下载: http://cdimage.ubuntu.com/releases/7.04/release/ 国内BT下载: http://bt.ubuntu.org.cn/torrents.php 上海电信服务器: http://mirror.rootguide.org/ubuntu-releases/7.04/ lupa: http://mirror.lupaworld.com/ubuntu/releases/7.04/ other: http://ftp.cse.yzu.edu.tw/ftp/Linux/Ubuntu/ubuntu-cd/feisty/ http://ubuntuarchive.is.co.za/ubuntu-releases/7.04/ http://mirrors.easynews.com/linux/ubuntu-releases/7.04/ http://ftp.sk.debian.org/ubuntu-releases/7.04/ http://ftp.ines.lug.ro/ubuntu-releases/7.04/ http://ftp.gts.lug.ro/ubuntu-releases/7.04/ http://ftp.ussg.iu.edu/linux/ubuntu-releases/7.04/ http://mirror.nttu.edu.tw/ubuntu-releases/7.04/ http://ubuntu.csie.nctu.edu.tw/ubuntu-releases/7.04/ 我的是教育网,所以用的是后面几个 用迅雷下完全可以保证半小时之内完成 我下的是ubuntu-7.04-desktop-i386.iso(说明:ubuntu-7.04-desktop-i386.iso面带liveCD 的图形安装界面,就算是不用安装也能使用;ubuntu-7.04-server-i386.iso是服务器版,默认没有gui;ubuntu-7.04 -alternate-i386.iso是安装版,字符安装界面) 在下载的同时,可以做安装前的准备。 到ftp://ftp.wangjia.com.cn下载硬盘安装所需文件 user:como password:123456 其中/software/boot/feisty/的initrd.gz和vmlinuz文件下载到自己c:\boot\feisty目录下 /software/的grldr和menu.lst放到c:\根目录下 /software/d/下的swap.fs和ubuntu.fs放到任意一个fat32分区的feisty目录下(也就是和你下载的ubuntu-7.04-desktop-i386.iso放到一起) 然后把自己c:的boot.ini进行如下修改 [boot loader] timeout=5 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect C:\grldr = "Ubuntu LiveCD" 这里做检查看是否遗误,所需文件有 C:\grldr C:\menu.lst C:\boot\feisty\initrd.gz C:\boot\feisty\vmlinuz X:\feisty\swap.fs X:\feisty\ubuntu.fs X:\feisty\ubuntu-7.04-desktop-i386.iso (X:\为任意fat32分区) 做完上述准备然后重启 就会在启动windows前有Ubuntu LiveCD选项 选择即进入LiveCD,进入桌面环境,桌面上有install图标 双击进入,里面有选择语言、设置用户什么的,在此略过 我们这里要说的是分区 最少得设置两个分区 一个是做ubuntu根目录一个做交换分区 其中ubuntu根目录分区要2G以上,格式可以选择ex3或者其他..但是如果你是双系统的话还是建议ex3 因为windows下有可以读取ex3分区的软件 交换分区格式是swap,大小任意...最低是256..最好是你内存两倍 然后进入安装,过程持续20分钟左右,反正比windows快(而且安装的时候还可以玩游戏...嘿嘿) 特别说明,若安装超过30分钟仍无进展,可以查看是否有跳过按钮,它可能在安装中就下载更新 安装完成 配置: 用安装时设置的用户名密码进入系统 现在还不能用管理员登录 如果你不想每次执行命令时在前面加sudo然后再输入密码的话,建议你每次用管理员登录 设置方法是 系统-系统管理-登录窗口-安全-允许本地系统管理员登录 然后在 系统-系统管理-用户和组里面设置root的密码 以后登录的用户名就是root了 配置pppoeconf 打开终端,如果是普通用户输入sudo pppoeconf root用户可直接输入pppoeconf 设置的时候一路回车 只在输入用户名密码的时候设置自己的宽带用户名密码 用路由器的用户可以不进行pppoeconf设置直接上网 设置源 应用程序-附件-终端 sudo gedit /etc/apt/sources.list 这里仅提供几个常用源和教育网源 用以下内容替换文件中的所有内容 #archive 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-backports main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse #cn99 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-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse #lupa deb http://mirror.lupaworld.com/ubuntu/archive/ feisty main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-proposed main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main restricted universe multiverse #中国科技大学 deb http://debian.ustc.edu.cn/ubuntu/ feisty main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ feisty-backports restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ feisty-proposed main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ feisty-security main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ feisty main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-backports main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-proposed main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-security main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse #北京交大 deb http://mirror.bjtu.edu.cn/ubuntu/ feisty main restricted universe multiverse deb http://mirror.bjtu.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse deb http://mirror.bjtu.edu.cn/ubuntu/ feisty-security main restricted universe multiverse deb http://mirror.bjtu.edu.cn/ubuntu/ feisty-backports main restricted universe multiverse sudo apt-get update sudo apt-get dist-upgrade #上海交通大学 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 http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty 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 ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty main restricted universe multiverse deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty-security main restricted universe multiverse deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty-updates main restricted universe multiverse #兰州大学 deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty main multiverse restricted universe deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe deb ftp://mirror.lzu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe deb ftp://mirror.lzu.edu.cn/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 只用选择一个源替换就行 中文环境 System-系统管理-语言支持,在对话框的下拉列表中勾选Chinese,默认语言选择Chinese,这样就能得到中文界面了 点击“确定”或“应用”系统就开始自动下载语言支持的包,下次注销后重新登录,系统语言就变成中文了,输入法也能用 到时,记得稍微调整一下Scim的设置,因为Feisty在Scim默认加入了n多输入法,其中绝大多数都可以去掉 然后设置Scim配置文件,否则eva无法输入中文 打开终端 gedit /etc/X11/xinit/xinput.d/zh_CN 把QT_IM_MODULE="scim"改为QT_IM_MODULE="xim" 调整桌面 安装显卡驱动 System-首选项-桌面效果,系统会自动提醒下载安装驱动的(我的是N卡,A卡的朋友另行设置) 安装好驱动后重启 终端中输入gconf-editor 到/apps/nautilus/desktop/分支下,去掉volumes_visible前面的复选框 勾上trash_icon_visible,home_icon_visible,computer_icon_visible 到/desktop/gnome/screen/default/0/下 把rate(刷新率)resolution(分辨率)改为自己需要的 我的是85和1024x768 安装其他多媒体软件和相应解码器 sudo apt-get install mplayer mozilla-mplayer totem-xine libxine-extracodecs audacious ffmpeg lame faad sox mjpegtools libxine-main1 解决问题 1.Mplayer播放时提示错误 Preferences-Video 选择 “xv X11/Xv” Preferences-Codecs&demuxer 选择 “FFmpeg/libavcodec audio decoders” Mplayer中文字幕设置 Preferences-Font 里面点击 ”Browse” 选择一个中文字体,Encodeing 选择 Unicode Preferences-Subtitle&OSD 里面的Encoding选择:Simplified Chinese Charset(cp936) Preferences-Font-Text scale 这里调整字幕大小(我调整为 3.8 ) 2.Totem 播放rmvb没有声音 sudo gedit ~/.xine/catalog.cache 找到[/usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so] 把 decoder_priority 后面的数字修改为 10 这时可能仍然打不开rmvb格式,因为缺少解码器 可以去网上下载w32codecs解码器 也可以下载realplay10 for linux 教育网用户可以在这个网站搜索到所需软件http://search.ustc.edu.cn/ 安装Flash Player 9 for Linux 可以在华军软件园找到 http://www.onlinedown.net/soft/14969.htm 安装QQ 可以用lumaQQ,也可以用eva 反正我比较喜欢eva,安装简单速度也快 系统-系统管理-新立得软件包管理器 在右边窗口输入eva双击标记然后安装即可 这里也附上lumaQQ的安装方法 wget -c http://download.ubuntu.org.cn/softwa..._no_jre.tar.gz sudo tar zxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz -C /opt/ wget -c http://download.ubuntu.org.cn/softwa...2.02.15.00.zip sudo unzip -o lumaqq_2005_patch_2006.02.02.15.00.zip -d /opt/LumaQQ/lib sudo chown -R root:root /opt/LumaQQ/ sudo chmod -R 755 /opt/LumaQQ/ sudo gedit /usr/share/applications/LumaQQ.desktop 添加如下代码 [Desktop Entry] Name=LumaQQ Comment=QQ Client Exec=/opt/LumaQQ/lumaqq Icon=/opt/LumaQQ/QQ.png Terminal=false Type=Application Categories=Application;Network; 你可以在 应用程序-Internet-LumaQQ 打开LumaQQ 安装编译工具 sudo apt-get install build-essential 安装Java环境 sudo apt-get install sun-java6-jdk 安装beryl 其实7.04自带的桌面效果已经很不错了,不过功能还是太少 sudo apt-get install beryl emerald-themes beryl-manager 安装好后,在终端下输入或者在Alt+F2的运行框里输入 beryl-manager 就可以了,或者你可以加入会话的自动启动程序里 安装NTFS读写支持 sudo apt-get install ntfs-config 点击应用程序-系统工具-NTFS写入支持配置程序 选中对内部设备的读写支持,和外部设备的读写支持,系统会自动扫描你硬盘上的NTFS分区,并重新挂载 这样ubuntu就可以进行ntfs分区的读写了 右键菜单加入打开终端 sudo apt-get install nautilus-open-terminal 唯一让人遗憾的是ubuntu里面没有一个能让人满意的下载软件 不管是http/ftp还是BT 这里还是推荐几个软件 http/ftp下载-muiltget BT下载-azureus emule下载-amule 至此配置结束。