[原创]ubuntu安装攻略教程

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
testqazxsw
帖子: 1
注册时间: 2007-09-10 17:18

[原创]ubuntu安装攻略教程

#1

帖子 testqazxsw » 2007-09-10 17:21

史上最详细、完整ubuntu系统安装教程,包教包会!!!!!

ubuntu安装包下载:
(为了保证版本不错误,所以选择的源不是很快,可能需要1天的时间才能完全安装完下面的所有软件)

1、在http://cdimage.ubuntu.com/releases/gutsy/tribe-5/网址
下载http://cdimage.ubuntu.com/releases/gutsy/tribe-5/gutsy-server-amd64.iso镜像文件

2、用VM虚拟机安装,这个一路点next即可

3、修改 /etc/apt/sources.list,会vi即可

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 multiver

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://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

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

5、apt-get update

安装图形界面

6、apt-get install x-window-system-core(安装x-window-system基本系统)

7、apt-get install gnome-core(只安装gnome的基本系统)

8、dpkg --configure -a(如果有提示的话,需要运行)

接下来安装openoffice(步骤不能漏,不能打乱顺序)

9、apt-get install alien fakeroot rpm

10、apt-get install sun-java6-jdk

11、apt-get install openoffice.org

12、apt-get install openoffice.org-l10n-zh-cn (汉化)

安装播放RM的播放器(AMD64平台)

13、apt-get install mplayer

14、tar jxvf essential-amd64-20061203.tar.bz2

15、mkdir /usr/local/lib/codecs/

16、mkdir /usr/local/lib/win32

17、mkdir /usr/lib/win32

18、mkdir /usr/lib/codecs

19、
cp *.so /usr/local/lib/codecs/
cp *.so /usr/local/lib/win32
cp *.so /usr/lib/win32
cp *.so /usr/lib/codecs

20、sudo apt-get install libxine-extracodecs totem-xine ffmpeg lame faad sox mjpegtools libxine-main1

21、在 mplaer播放器的属性(preference)设置中,video标签下的可获取驱动要选xv或者X11(两个都要试试)


全屏播放的设置,vi /home/zhumoqing/.mplayer/config,在开始的地方添上

zoom=yes,即可


安装中文输入法:

22、sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh

23、sudo sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; scim -d ' > /etc/X11/Xsession.d/95xinput "

24、sudo chmod 755 /etc/X11/Xsession.d/95xinput

25、sudo apt-get install fcitx

26、sudo chmod 755 /etc/X11/Xsession.d/95xinput

重新启动Xwindow完成。按 Ctrl + 空格 键激活输入法。

安装MSN

27、apt-get install gaim


VNC服务器安装

28、apt-get install vnc4server

29、使用vncpasswd命令创建一个密码,密码加密存放在~/.vnc/passwd文件中

30、启动服务器执行vncserver

31、用windows下的vnc-4_1_2-x86_win32_viewer.exe联接服务器时,一定要是用XXX.XXX.XXX.XXX:5901(加端口号)

或者安装远程桌面

apt-get install vino,然后用windows下的vnc-4_1_2-x86_win32_viewer.exe联接ubuntu时,在服务器内点击允许,通过密码认证就行了

(把177端口设置为打开)

安装windows下的TC:Krusader

32、apt-get install krusader

安装邮件客户端

33、apt-get install thunderbird

安装超级马里奥SuperTux

34、apt-get install supertux

安装CheckGmail

35、apt-get install checkgmail

安装类似regedit的工具

36、apt-get install gconf (允许时使用gconf-editor命令)


安装桌面小游戏

37、apt-get install gnome-games gnome-games-data gnome-games-extra-data

38、apt-get install chromium chromium-data



其他几点:

1、按照gnome-core后需要安装中文环境
language-pack-zh (gnome基本的简体语言环境)
language-pack-zh-base (gnome基本的简体语言环境)


2、如果你装了gdm,那么按照下面步骤进行系统界面汉化
a、安装gdm后,在系统登陆时,在界面上选择中文字体
b、复制windows平台下(fonts目录下)的simsun.ttc字体到/usr/share/fonts/truetype下面

3、很多公司使用了ISA防火墙,如何在ISA后使用apt-get,请看下面,非常好用:
http://www.linuxdiyf.com/viewarticle.php?id=58095

4、firefox汉化
apt-get install mozilla-firefox-locale-zh-cn

5、查看已经装了什么软件
dpkg --get-selections


6、修改屏幕刷新频率
找到/etc/X11/xorg.conf 打开它
找到Section "Monitor"节:
添加如下两行:
HorizSync 30-70
VertRefresh 60-100

加上这个就重启后就好使了。

7、安装VMware Tools

先进入Ubuntu系统,然后切换到 VMware Workstation中的VM菜单,在下面选择Install VMware Tools.这时
候Ubuntu的桌面菜单上会自动挂载一个VMwareTools的光驱,双击进入,里面有两个安装文件,一个是rmp格式,
一个是 tar.gz格式。因为Ubuntu默认不支持rpm安装,因此解压tar.gz文件进行安装。有一件事情要先提一下
,因为VMware Tools的安装一定要装一个 C Header files,而且版本要和系统一样(我也是装到后来才知道,
不然安装时提示一个/linux/include什么的文件夹找不到。)具体操作如下:

uname -r (查看内核版本)
sudo apt-get install gcc make linux-headers-2.6.15-27-686(这里将2.6.15-27-686改为uname -r命令的输出)

安装完毕之后再进入到刚才解压的文件夹中,用sudo ./vmware-install.pl安装。最后一直用默认设置直到完成。

=================================================================

通过以上步骤(不能错的),这个系统基本娱乐办公就可以了。
12:24 | 添加评论 | 阅读评论 (1) | 发送消息 | 固定链接 | 引用通告 (0) | 写入日志
头像
sevk
帖子: 2060
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
联系:

#2

帖子 sevk » 2007-09-10 19:42

硬盘安装 LINUX VISTA XP 三系统

http://hi.baidu.com/sevk/blog/item/923d ... 457fd.html
笔记本 :
F208S : gentoo
A460P i3G D6 : UBUNTU + WIN7
UN43D1 : UBUNTU + WIN7
1000人超级QQ群 LINUX + WIN : 31465544 或 18210387
回复