论坛首页 综合技术论坛

Fedora9 安装手记

浏览 5822 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-08-22  
这段时间有空,在本人的IBM t43上面硬装Fedora9.由于本人是初手,第一次安装,花费很大精力解决很多问题,这里统一记载下来,希望帮助其他新手。
安装fedora9其实很简单,我是通过网络安装本地硬盘源的方式,其实跟下个fedora9dvd版本,然后通过光驱安装是一样的。另外在安装过程中,我没有选择开发模式,因为担心fedora9自带的eclipse会有其他问题,反正装好操作系统后,自己再来装好啦。

安装fedora完成后,首先发现输入法不能使用,想了一想,先不处理这,先把stud和yum搞定在说。
1.设置sudo
修改/etc/sudoers文件
user ALL=(ALL) ALL
或:user ALL=(ALL) NOPSSWD:ALL (不能输入密码而已)
其中user,是登陆的普通用户

2.安装新的数据源
rpm -ivh http://rpm.livna.org/livna-release-9.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/9/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm

其后根据网上相应内容,修改/etc/yum.repos.d/fedora.repo内容,再其baseurl增加相应内容
baseurl=
http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirrors.usc.edu/pub/linux/distributions/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirrors.cat.pdx.edu/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/os/
ftp://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/os/
http://mirror.aarnet.edu.au/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirror.internode.on.net/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirror.karneval.cz/pub/linux/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/releases/$releasever/Everything/$basearch/os/
http://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://limestone.uoregon.edu/ftp/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://fedora.mirror.iweb.ca/releases/$releasever/Everything/$basearch/os/
ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirror.cc.vt.edu/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://mirrors.kernel.org/fedora/releases/$releasever/Everything/$basearch/os/
http://www.gtlib.gatech.edu/pub/fedora.redhat/linux/releases/$releasever/Everything/$basearch/os/
http://ftp.linux.ncsu.edu/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
http://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/os/
修改/etc/yum.repos.d/fedora-updates.repo
baseurl=
http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
http://mirrors.usc.edu/pub/linux/distributions/fedora/linux/updates/$releasever/$basearch/
http://mirrors.cat.pdx.edu/fedora/linux/updates/$releasever/$basearch/
http://ftp.iij.ad.jp/pub/linux/fedora/updates/$releasever/$basearch/
ftp://ftp.iij.ad.jp/pub/linux/fedora/updates/$releasever/$basearch/
http://mirror.aarnet.edu.au/pub/fedora/linux/updates/$releasever/$basearch/
http://mirror.internode.on.net/pub/fedora/linux/updates/$releasever/$basearch/
http://gulus.usherbrooke.ca/pub/distro/fedora/linux/updates/$releasever/$basearch/
http://mirror.karneval.cz/pub/linux/fedora/linux/updates/$releasever/$basearch/
http://sunsite.mff.cuni.cz/MIRRORS/fedora.redhat.com/linux/updates/$releasever/$basearch/
http://ftp-stud.hs-esslingen.de/pub/fedora/linux/updates/$releasever/$basearch/
http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/updates/$releasever/$basearch/
http://mirror.fraunhofer.de/download.fedora.redhat.com/fedora/linux/updates/$releasever/$basearch/
http://ftp.uni-bayreuth.de/linux/fedora/linux/updates/$releasever/$basearch/
http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/updates/$releasever/$basearch/
http://limestone.uoregon.edu/ftp/fedora/linux/updates/$releasever/$basearch/
http://fedora.mirror.iweb.ca/updates/$releasever/$basearch/
ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/updates/$releasever/$basearch/
http://mirror.cc.vt.edu/pub/fedora/linux/updates/$releasever/$basearch/
http://mirrors.tummy.com/pub/fedora.redhat.com/fedora/linux/updates/$releasever/$basearch/
http://mirrors.kernel.org/fedora/updates/$releasever/$basearch/

最后执行以下操作,基本上yum
yum install yum-fastestmirror yum-presto
还可以装 一个yum图形界面,yum install yume

设置fastestmirror
默认的fastestmirror并不是每次都能找到最快的源。
要进行一点算是优化的设置:
gedit /etc/yum/pluginconf.d/fastestmirror.conf

配置如下:
    [main]
    enabled=1
    verbose=0
    socket_timeout=1
    hostfilepath=/var/cache/yum/timedhosts.txt
    maxhostfileage=1
    #设置成1,即每一天刷新一次镜像的速度
    maxthreads=15
    #exclude=.gov, facebook
做了如上设置后也许你还是连不上最快的镜像,这时就要RP和刷新了
yum clean all
这样可以清除镜像的记录,让yum重新刷新

这时安装中文输入法
yum install scim-lang-chinese
重启机器后,即可在首选项-输入法中选择相应的键来处理选择输入法。

这里开始安装一些软件。
yum install chmsee //chm阅读器也是不可缺少的
yum unrar
yum install xmms xmms-mp3 xmms-wma
yum install mplayer mplayer-gui mplayer-fonts mplayerplug

另外在安装mplayer时,一定要去下载相应的codes.
一个是all-20071007.tar.bz2,另外一个windows-all-20071007.zip
解压后,将其拷贝到/usr/lib/codes目录中。

最后让其yum update吧。把软件更新吧。

另外fedora9中安装最新firfox3,而其中一开始打开网页,是无法打开flash,查了一些网页,以下是最简单的解决方法。
rpm -ivh adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install flash-plugin libflashsupport

最后,现在发现安装后ibm t43无法使用fn+f7,这样无法使用投影仪,另外使用键盘上音量调整也是无效。无语中,正在期待解决。
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics