红联Linux门户
Linux帮助

fc8教程

发布时间:2008-03-24 19:07:38来源:红联作者:ananai
知道更多请访问:hi.baidu.com/truanty
我的配置:amd3600+
显卡:ati x1200
最近几天装了好几次fc8了,每次都因为这样那样的原因又要重装。这次打算把所有的过程写下来跟大家分离一下。
没有买到光盘,肯定是用硬盘装的。硬盘安装请看这里:http://hi.baidu.com/truanty/blog/item/276f74430a6bac159313c691.html
装完第一件事肯定是配置上网啊,我用的root登陆:
[root@truant ~]# /sbin/pppoe-setup

Welcome to the PPPoE client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...


LOGIN NAME

Enter your Login Name (default root): 15971190988

INTERFACE

Enter the Ethernet interface connected to the PPPoE modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0):

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no):

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: server

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter 'yes' (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes):

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
Choose a type of firewall (0-2): 1

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):

** Summary of what you entered **

Ethernet Interface: eth0
User name: 15971190988
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: STANDALONE
User Control: yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
(But first backing it up to /etc/ppp/chap-secrets.bak)
(But first backing it up to /etc/ppp/pap-secrets.bak)



Congratulations, it should be all set up!

Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/pppoe-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.

[root@truant ~]# /sbin/pppoe-start
到此已经可以上网了,那,我现在在写这篇文章了。
接下来的步骤你可以不按我的顺序来,因为我这几天配置yum源的时候总是出问题,以致我的显卡驱动都没安上。
这回我要先安显卡驱动:http://hi.baidu.com/truanty/blog/item/5587d0032d08bee808fa9387.html
好像这里边的源有点早了,可能都用8的啦现在。
我现在开始安了......
[root@truant ~]# rpm -Uhv http://rpm.livna.org/livna-release-8.rpm
Retrieving http://rpm.livna.org/livna-release-8.rpm
warning: /var/tmp/rpm-xfer.ZGZGWp: Header V3 DSA signature: NOKEY, key ID a109b1ec
Preparing... ########################################### [100%]
1:livna-release ########################################### [100%]
[root@truant ~]# rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
[root@truant ~]# yum install xorg-x11-drv-fglrx kmod-fglrx glx-utils
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 4.9 MB 00:39
livna 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 301 kB 00:20
updates 100% |=========================| 2.3 kB 00:00
primary.sqlite.bz2 100% |=========================| 2.0 MB 00:39
Setting up Install Process
Parsing package install arguments
Package glx-utils - 7.0.1-7.fc8.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package glx-utils.i386 0:7.0.2-3.fc8 set to be updated
---> Package xorg-x11-drv-fglrx.i386 0:8.471-1.8.03.lvn8 set to be updated
filelists.sqlite.bz2 100% |=========================| 230 kB 00:07
filelists.sqlite.bz2 100% |=========================| 8.0 MB 01:05
filelists.sqlite.bz2 100% |=========================| 4.4 MB 01:27
--> Processing Dependency: libfglrx_gamma.so.1 for package: xorg-x11-drv-fglrx
--> Processing Dependency: xorg-x11-drv-fglrx-libs = 8.471-1.8.03.lvn8 for package: xorg-x11-drv-fglrx
--> Processing Dependency: livna-config-display >= 0.0.18 for package: xorg-x11-drv-fglrx
--> Processing Dependency: libstdc++.so.5(GLIBCPP_3.2) for package: xorg-x11-drv-fglrx
--> Processing Dependency: /usr/lib/fglrx/libGL.so.1.2 for package: xorg-x11-drv-fglrx
--> Processing Dependency: libstdc++.so.5 for package: xorg-x11-drv-fglrx
--> Processing Dependency: libstdc++.so.5(CXXABI_1.2) for package: xorg-x11-drv-fglrx
--> Processing Dependency: livna-config-display for package: xorg-x11-drv-fglrx
---> Package kmod-fglrx.i686 0:8.471-2.8.03.lvn8 set to be updated
--> Processing Dependency: kmod-fglrx-2.6.24.3-34.fc8 = 8.471-2.8.03.lvn8 for package: kmod-fglrx
--> Running transaction check
---> Package kmod-fglrx-2.6.24.3-34.fc8.i686 0:8.471-2.8.03.lvn8 set to be updated
--> Processing Dependency: kernel-i686 = 2.6.24.3-34.fc8 for package: kmod-fglrx-2.6.24.3-34.fc8
---> Package compat-libstdc++-33.i386 0:3.2.3-62 set to be updated
---> Package livna-config-display.noarch 0:0.0.20-1.lvn8 set to be updated
---> Package xorg-x11-drv-fglrx-libs.i386 0:8.471-1.8.03.lvn8 set to be updated
--> Running transaction check
---> Package kernel.i686 0:2.6.24.3-34.fc8 set to be updated
--> Finished Dependency Resolution

Dependencie=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
glx-utils i386 7.0.2-3.fc8 updates 35 k
Installing for dependencies:
compat-libstdc++-33 i386 3.2.3-62 fedora 230 k
kernel i686 2.6.24.3-34.fc8 updates 17 M
kmod-fglrx i686 8.471-2.8.03.lvn8 livna 17 k
kmod-fglrx-2.6.24.3-34.fc8 i686 8.471-2.8.03.lvn8 livna 566 k
livna-config-display noarch 0.0.20-1.lvn8 livna 64 k
xorg-x11-drv-fglrx i386 8.471-1.8.03.lvn8 livna 9.3 M
xorg-x11-drv-fglrx-libs i386 8.471-1.8.03.lvn8 livna 5.4 M

Transaction Summary
=============================================================================
Install 7 Package(s)
Update 1 Package(s)
Remove 0 Package(s)

Total download size: 32 M
Is this ok [y/N]: y
Downloading Packages:

中午的时候网速就没有早晨快了.... 可能要等很长时间了。唉,下午还有课啊,逃吧~~
今天一定要把它搞定!
(1/8): xorg-x11-drv-fglrx 100% |=========================| 5.4 MB 07:57
(2/8): kmod-fglrx-8.471-2 100% |=========================| 17 kB 00:01
(3/8): xorg-x11-drv-fglrx 100% |=========================| 9.3 MB 11:04
(4/8): glx-utils-7.0.2-3. 100% |=========================| 35 kB 00:00
(5/8): livna-config-displ 100% |=========================| 64 kB 00:02
(6/8): compat-libstdc++-3 100% |=========================| 230 kB 00:02
(7/8): kernel-2.6.24.3-34 100% |=========================| 17 MB 08:09
(8/8): kmod-fglrx-2.6.24. 100% |=========================| 566 kB 00:48
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: compat-libstdc++-33 ######################### [1/9]
Installing: kernel ######################### [2/9]
Installing: livna-config-display ######################### [3/9]
Installing: kmod-fglrx ######################### [4/9]
Installing: kmod-fglrx-2.6.24.3-34.fc8 ######################### [5/9]
Installing: xorg-x11-drv-fglrx-libs ######################### [6/9]
Updating : glx-utils ######################### [7/9]
Installing: xorg-x11-drv-fglrx ######################### [8/9]
Cleanup : glx-utils ######################### [9/9]

Dependency Installed: compat-libstdc++-33.i386 0:3.2.3-62 kernel.i686 0:2.6.24.3-34.fc8 kmod-fglrx.i686 0:8.471-2.8.03.lvn8 kmod-fglrx-2.6.24.3-34.fc8.i686 0:8.471-2.8.03.lvn8 livna-config-display.noarch 0:0.0.20-1.lvn8 xorg-x11-drv-fglrx.i386 0:8.471-1.8.03.lvn8 xorg-x11-drv-fglrx-libs.i386 0:8.471-1.8.03.lvn8
Updated: glx-utils.i386 0:7.0.2-3.fc8
Complete!
应该是完事了吧!!
还要改下东东.....
vi /etc/grub.conf
在 kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet 后加上 iommu=off
现在重起一下,应该就能生效了....
ok开机之后可以修改分辨率了...我改成了1024*768,屏幕刷新率75HZ
现在我们可以配置yum源了,其实你完全可以先配置这个的,只是因为我上次是这么弄的,没有弄好,希望有高手指点我一下,可以参考下这里:http: //hi.baidu.com/truanty/blog/item/a86adfdc44fb60a5cc116633.html现在我就不写了.
配置完之后速度真的挺快的,晚上的时候都能达到120多kb...我写的其中很多是来自网上的高手..这里先谢谢你们...
yum设置好之后肯定要对系统来一个大升级的,升级前还是先要把auducious安上的,边听歌也有些意思不是..呵呵~~

[root@truant ~]# yum instal auducious发现点问题,安的这个版本好像很低...接下
[root@truant ~]# yum install audacious-plugins-* 出现了错误...procesing dependency...什么什么的
,试了一会,好像是/etc/yum.conf的问题,可能是解决不了依赖性,我也懒了,就没查什么意思,解决办法:vi /etc/yum.conf删除: [extras]
name=Fedora Extras $releasever - $basearch
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/extras/6/i386
enabled=1

[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[core]
name=Fedora Core $releasever - $basearch
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


这回再yum install audacious-plugins-*
bingo~~呵呵,可以了. 为了解决不能正常显示中文歌曲名,做以下设置就可以了。
'ctrl+p',进入‘首选项’菜单,然后进入‘播放列表’菜单,然后‘歌曲显示’,把‘标题格式’改成‘自定义’,再在‘自定字符串’选项中填入‘%f’。
到此听歌就般的都可以了~~~
本来想现在就给系统来个大升级的,可是已经下午3点多了,我这晚上11点还要停电,恐怕升不完啊.没办法,只好明天早上的吧....
还可以安一些软件...
1. 安装命令如下:
第一步:
安装mplayer
yum install mplayer mplayer-gui mplayer-fonts mplayerplug-in mencoder compat-libstdc++-33
第二步:
安装 codecs
http://www.mplayerhq.hu/MPlayer/releases/codecs/ 下载 all-20071007.tar.bz2
#mkdir -p /usr/lib/codecs
#mkdir /usr/local/lib/codecs
#mkdir /usr/lib/win32
#tar -jxvf all-20071007.tar.bz2 --strip-components 1 -C /usr/lib/codecs/
#tar -jxvf all-20071007.tar.bz2 --strip-components 1 -C /usr/local/lib/codecs/
#tar -jxvf all-20071007.tar.bz2 --strip-components 1 -C /usr/lib/win32
解决RMVB解码文件与selinux类型与调用类型不一致。
#chcon -t textrel_shlib_t /usr/lib/codecs/drvc.so
#chcon -t textrel_shlib_t /usr/lib/codecs/drv2.so.6.0
#chcon -t textrel_shlib_t /usr/lib/codecs/drv3.so.6.0
#chcon -t textrel_shlib_t /usr/lib/codecs/drv4.so.6.0

使mplayerplug-in (mozilla插件) 生效
#/usr/bin/mozilla-plugin-config -i -f

mplayer-1.0rc2无法播放中文名文件
修改/usr/share/applications/livna-mplayer.desktop中,将exec=gmplayer %U改为gmplayer %f即可。

第三步:
修改mplayer参数
把audio输出设置为pulse
2.multiget
yum install multiget
把Multiget和Firefox连接起来的方法
(1)打开FireFox-工具-附加软件-获取扩展-FlashGot
(2)打开Flashgot选项,点击“常规”标签页。
(3)因为下载管理器里面是没有Multiget的,所以点击“新增”,填入Multiget。
(4)选择程序/usr/bin/multiget
(5)在参数模板中写入,把全角的括号改成半角的。引用(这句话我不知道是什么意思,目前还没弄懂)
[url=URL][refer=REFERER]
(6)确定OK。
3.安装gsopcast网络电视
软件介绍:网络电视,相当于windows下的ppstream
在安装gsopcast之前,要首先安装好mplayer,否则报错,有个rpm包会装不了
安装命令如下:
第一步:ftp://ftp.fedora.cn/pub/fedora-c ... fc7.fcn.y1.i386.rpm
第二步:svn checkout http://gsopcast.googlecode.com/svn/trunk/ gsopcast-read-only
cd gsopcast-read-only
./autogen.sh
make
在执行./autogen.sh时,可能会提示你缺少一些东西,按照要求装上即可例如intltool和m4等等之类的,这里缺的是gnome- common,yum install gnome-common,晕死,居然还不可以。看了看,说是缺少intltool,好吧,yum install intltool* ,这下终于可以了吧。在gsopcast-read-only目录的src目录中可以找到gsopcast的可执行文件,运行即可。
打开了gsopcast之后,在‘config’选项中,第二行‘Channel url’中填入: http://channel.sopcast.com/gchlxml,点击save,OK。
再打开一次,就可以看到频道列表,挺多的。有时候可能由于网络原因,频道会读取不出来,没关系,close,reopen就可以了。
4.安装LUMAQQ
软件介绍:相当于windows下的QQ
安装命令如下:
第一步:下载http://lumaqq.linuxsir.org/downl ... x86_with_jre.tar.gz
切换到root:直接解压。
第二步:下载http://lumaqq.linuxsir.org/downl ... 2_x86_no_jre.tar.gz
以root身份直接解压。
第三步:在root下把第二步解压的LumaQQ内的所有文件剪切到第一步解压的文件夹内,并且完全覆盖
直接在覆盖过的文件夹内点击测试lumaqq是否可用,如果登录不上就多登录几回,绝对可以上
依照个人习惯把LumaQQ文件夹拷贝到/usr/local/文件夹下
我个人倒是玩喜欢eva,这个后面再说
5.屏幕录相软件
yum install istanbul*
6.终端工具
#yum install putty
7.优化服务加快启动
#serviceconf
ConsoleKit:快速会话切换,其实用处也不大,可以关了。
avahi-daemon:主要用于Zero Configuration Networking,可以关了。
Bluetooth:蓝牙,没有无线设备的,大可以关了
Cups:打印机支持,没有打印机的,可以关了。
Firstboot:装完系统之后的向导,可以关了。
Hidd:蓝牙相关,可以关了。
ip6tables:很好理解,IPv6,不用可以关了。
Irqbalance:多核CPU负载平衡,单核的可以关了。
Kudzu:更换或者添加硬盘的时候用,可以关了。
lm_sensors:温度探测,看自己意愿。
Mcstrans:不用SELinux,可以关了
Mdmonitor:磁盘阵列,单硬盘的可以关了。
Netfs:如果不用共享文件,可以关了。
Nfslock:同上。
Pcscd:智能卡支持,可以关了。
Restorecond:不用SELinux的可以关了。
Rpcbind:RPC服务,一般可以关闭。
Rpcgssd:NFS支持,不用NFS的可以关闭
Rpcidmapd:同上。
Setroubleshoot: 不用SELinux的可以关了
Sshd: OpenSSH服务器,可以关了.
yum-updatesd: 定期自动升级检测,一般都手动升级,可以关了。
7.安装星际译王
软件介绍:相当于windows下金山词霸
安装命令如下:
yum -y install stardict
忙了一下午,终于有点模样了,以后有什么补充我会再写下赤。文章中可能会有很多错误的地方,请大家注意一下。也可以给我留言。。。。。
文章评论

共有 1 条评论

  1. ananai 于 2008-03-24 19:44:30发表:

    8.安装eva
    http://www.myswear.net/myswear/eva/beta/eva-20080127_1.tar.bz2
    在这里下载源码包,可以直接用multget下,我下到了/usr/local文件夹中
    cd /usr/local
    tar -jxvf eva-20080127_1.tar.bz2
    cd eva
    ./configure
    make
    时间可能会有点长,我大约听了4首歌吧
    make install
    ok!!
    /usr/local/kde/bin/eva运行
    好了,享受你的QQ之旅吧~~~