Fedora7安装后的配置

<div>来源: LinuxAndrew.cublog.cn  作者:LinuxAndrew<br><br>我只是想把常用配置的集中在一起。我安装了Fedora 7之后,锐捷软件居然不能用,气死我了。对于一个使用校园网的用户来说,只要能用锐捷,找个软件源,就可以搞定其他东西啦。Fedora 7不像Ubuntu那种,对硬件的支持很好,软件安装源又多,升级也方便。使用锐捷认证以后,只要apt就可以搞定一切。呵</div>
<div>以下内容参考了一篇关于Fedora7按装后的配置的文章<a href="http://www.linuxsir.org/bbs/showthread.php?t=304520">http://www.linuxsir.org/bbs/showthread.php?t=304520</a><br>                                                 1、不显示光标解决方案<br>                                                 在/etc/X11/xorg.conf中添加<br>                                                 Section "Device"<br>                                                  Option "HWCursor" "false"<br>                                                 EndSection<br>                                                 2、按装RealPlayer10<br>                                                 官方下载地址:<a href="http://player.cn.real.com/">http://player.cn.real.com/</a><br>                                                 找到下边的用于其它平台的RealPlayer---Unix/Linux<br>                                                 点进去下载就可以了,下载后我保存到/root下。<br>                                                 用终端进入用户目录<br>                                                 cd /root<br>                                                 chmod 755 RealPlayer10GOLD.bin<br>                                                 ./RealPlayer10GOLD.bin<br> 安装过程中可能会出现 error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such</div>
<div>file or directory 提示,原因是未安装 libstdc++库</div>
<div>安装libstdc++库<br> 用yumex查找并安装libstdc++库,或直接在终端中输入yum install libstdc++.so.5 确定,yum会自动查找包含libstdc++.so.5的库文</div>
<div>件,下载并安装<br>                                                 根据提示或按默认设置安装即可完成REALPLAYER</div>
<div>让FIREFOX支持网页上REAL流的播放<br> 将../RealPlayer/mozilla下的nphelix.so文件复制到FIREFOX安装目录下的../firefox- x.x.x.x/plugins文件夹下,</div>
<div>如/usr/lib/firefox-2.0.0.3/plugins<br>                                                 (补充:这里可能说的有点不清楚,就是进入你按装realplayer的目录,这个目录在你按装的时候就要你确认的。我的是</div>
<div>在/root/Realplayer中,然后进入mozilla中找到文件<br>                                                 nphelix.so,复制到哪呢?<br>                                                 运行命令<br>                                                 rpm -qa|grep firefox<br>                                                 输出如下firefox-2.0.0.4-1.fc7,然后<br>                                                 rpm -ql firefox-2.0.0.4-1.fc7|grep plugins<br>                                                 根据输出就能找到你的firefox的;ougins目录了)<br>                                                 至此,realplayer的安装已全部完成。</div>
<div>3、添加 linva 的 yum 源(我也这源里有什么,会有什么用,反正以后肯定会用上,以下好多软件都是这个提供有)<br>                                                 rpm -ivh <a href="http://rpm.livna.org/livna-release-7.rpm">http://rpm.livna.org/livna-release-7.rpm</a>)<br>                                                 //以下为参抄了其它人总结的<br>                                                 (1)添加livna源:<br>                                                 到<a href="http://rpm.livna.org/">http://rpm.livna.org/</a> 下载livna-release-7.rpm,并安装。<br>                                                 (2)添加freshrpms源(支持apt和yum):<br>                                                 到<a href="http://www.freshrpms.net/">http://www.freshrpms.net</a> 页面点击click here下载freshrpms-release-1.1-1.fc.noarch.rmp,并安装。<br>                                                 另外还有:Aptrpms源(支持apt)、ulyssis源,安装方法见上面的地址。源不用太多,太多会影响yum启动速度,而且可能会有冲突,</div>
<div>一般安装livna+freshrpms(如果仍有冲突,建议只安装livna,或在yumex自己选择软件仓库,也可以在其中屏蔽freshrpm)即可。<br>                                                 (3)yum配置文件<br>                                                 yum的设置文件为/etc/yum.conf,如果网络不通畅,可以在/etc/yum.conf文件中修改timeout参数,将timeout时间设置得稍微长一点</div>
<div>。<br>                                                 yum中可以通过修改文件来屏蔽软件源:<br>                                                 修改/etc/yum.repos.d/XXX.repo,把其中的enable=1改为enable=0<br>                                                 指定或去掉软件源的mirror:<br>                                                 可以在baseurl中将比较慢的mirror去掉<br>                                                 (4)自动选择最快的源<br>                                                 由于yum中有的mirror速度是非常慢的,如果yum选择了这个mirror,这个时候yum就会非常慢,对此,可以下载fastestmirror插件,它</div>
<div>会自动选择最快的mirror:<br>                                                 yum install yum-fastestmirror -y<br>                                                 fastestmirror配置文件:(一般不用动)<br>                                                 /etc/yum/pluginconf.d/fastestmirror.conf<br>                                                 你的yum镜像的速度测试记录文件:<br>                                                 /var/cache/yum/timedhosts.txt<br>                                                 (5)使用图形界面的yum<br>                                                 如果觉得命令行的yum不方便,那么可以使用图形化的yumex,这个看起来更方便,因为可以自由地选择软件仓库:<br>                                                 yum install yumex<br>                                                 然后在系统工具中就可以看到yum extender了。<br>                                                 实际上系统自带的“添加/删除程序“也可以实现图形化的软件安装,但有些yumex的功能它没有。<br>                                                 (6)yum Existing lock 错误的解决办法<br> 如果系统启动的时候, yum 出现Existing lock /var/run/yum.pid: another copy is running as pid 3380. Aborting. 可以用下面</div>
<div>的办法解决:<br>                                                 可以直接输入/etc/init.d/yum-updatesd stop<br>                                                 也可以 rm -f /var/run/yum.pid<br>                                                 主要原因就是yum在自动更新 只要关掉它就可以了</div>
<div>4、chm查看器,确认已经运行了3,就是说装了linva源,下同<br>                                                 yum install kchmviewer<br>                                                 5、按装rar,unrar<br>                                                 yum install unrar<br>                                                 6、vmware<br>                                                 这个东西你一般会卡在这一步上<br>                                                 The path "/usr/src/linux/include" is not an existing directory.</div>
<div>What is the location of the directory of C header files that match your running <br>                                                 kernel? [/usr/src/linux/include] <br>                                                 在其它版本下按装也会出现这种情况,<br>                                                 应该是因为vmware这个版本开发出来的时候还没有fedora7,所以不支持。<br>                                                 只要到官网或其它地方下载个vmware-any-any-updateXXX.tar.gz,XXX具体的为109,110什么的,你下载个最新的就是了<br>                                                 解压,然后./runme.pl,按提示装到底就OK了<br>                                                 7.Lumaqq,可能会提示java什么的没装好,参考这文件吧<br><a href="http://hi.baidu.com/48238398/blog/item/c075df829fd562be6d81195e.html">http://hi.baidu.com/48238398/blog/item/c075df829fd562be6d81195e.html</a>(抄了南北北南的)<br>                                                 下载地址那个连接打不开。你打开<a href="http://ftp.isu.edu.tw/">http://ftp.isu.edu.tw</a>,查找JRE-5.0_09<br>                                                 其它照做,只是以前为JRE-5.0_04的地方你改成JRE-5.0_09就OK<br>                                                 8.想用EVA吗,呵,要装KDE,GNOME桌页不支持,原因是EVA是用QT编的吧,装上KDE,QT也会装上,当然,你可以不装KDE,装上eva需要的</div>
<div>qt等开发环境。<br>                                                 比较麻烦,还不如按装的时候选择装上KDE<br>                                                 下载及按装教程<br><a href="http://www.linuxfans.org/nuke/modules.php?name=Forums&amp;file=viewtopic&amp;t=145224">http://www.linuxfans.org/nuke/modules.php?name=Forums&amp;file=viewtopic&amp;t=145224</a><br>                                                 另一个下载地址:http://sourceforge.net/projects/evaq<br>                                                 //以下为抄了别人的<br>                                                 目前pidgin登陆不了,而Eva则可以。而且Eva可以传送文件,感觉比其它客户端要好用一点。<br>                                                 到<a href="ftp://ftp.fedora.cn/pub/fedora-cn/linux/6/i386/">ftp://ftp.fedora.cn/pub/fedora-cn/linux/6/i386/</a>下载eva-0.4.1-5.fc6.y2.i386.rpm<br>                                                 然后使用yum localinstall eva-0.4.1-5.fc6.y2.i386.rpm安装即可。<br>                                                 我是双击直接安装的,因为之前,我的系统上已经安装过kdelibs了,所以对于没有安装kdelibs的可以使用上面的命令试试。</div>
<div>9,如果你想装dreamweaver,IE等,参照这片文章<br><a href="http://hi.baidu.com/48238398/blog/item/c150001688cde84b21a4e9f9.html">http://hi.baidu.com/48238398/blog/item/c150001688cde84b21a4e9f9.html</a><br>                                                 提示dreamweaver我也是有些机子上这样子做成功,有些不成功,郁闷<br>                                                 10,如果你象我一样,用SSH远程维护linux服务器,可以按装GFTP,这个支持ftp及ssh<br>                                                 yum install gftp<br>                                                 11电驴amule<br>                                                 yum install amule<br>                                                 加入服务器列表 记住几个常用的服务器,新装aMule的时候将他们添加进去,aMule会自动搜索其他的服务器。<br>                                                 最常用的aMule服务器列表:<br>                                                 华语p2p:61.152.93.254:4661<br>                                                 Razorback 2:195.245.244.243:4661<br>                                                 为了方便以后的使用把几个常用的服务器记下了: <br>                                                 DonkeyServer2:62.241.53.16:4242 <br>                                                 DonkeyServer1:62.241.53.2:4242 <br>                                                 Donkix1.0:83.149.98.3:4661 <br><a href="http://www.usenext.to:212/">www.UseNeXT.to:212.112.243.146:4661</a>
</div>
<div>其实只要把DonkeyServer的地址加进去,其他的就会自动添加的。<br>                                                 12.按装stardict<br>                                                 yum install stardict<br>                                                 字装字典(官方说明o install these tarball dictionaries, do this:<br>                                                 tar -xjvf a.tar.bz2<br>                                                 mv a /usr/share/stardict/dic<br>                                                 至于rpm的,直接rpm -ivh 按装就OK)<br>                                                 字典的下载地址<a href="http://stardict.sourceforge.net/Dictionaries_zh_CN.php">http://stardict.sourceforge.net/Dictionaries_zh_CN.php</a>
</div>
<div>13配置多媒体<br>                                                 (1)安装音乐播放器,由于不喜欢自带的,比较喜欢audacious类winamp的,因此安装audacious,在yumex中安装下面这些东西就可以了</div>
<div>。<br>                                                 audacious<br>                                                 audacious-plugins<br>                                                 audacious-plugins-extra(让audacious能播放mp3、wma)<br>                                                 audacious-docklet(让audacious能最小化到托盘,安装后到中把这一项选上)<br>                                                 其它的plugin,根据需要选择安装,注意选择了audacious-plugins-extra,就不要选择nonfree-mp3、wma、aac了,否则会冲突。<br>                                                 audacious本身支持读取cue了,但要让audacious支持ape,还要下载下面的插件:<br><a href="http://www.magiclinux.org/people/jia...-2mgc.i686.rpm">http://www.magiclinux.org/people/jia...-2mgc.i686.rpm</a><br>                                                 (2)安装mplayer<br>                                                 不喜欢totem(比mplayer和kaffeien差太远),于是安装mplayer,<br>                                                 yum install mplayer*<br> 然后下载win32codecs包,以支持插入各类视频,解压后,放到/usr/lib/codecs,如果仍然不行试试mkdir /usr/lib/win32,ln-s</div>
<div>/usr/lib/codecs /usr/lib/win32<br>                                                 如果喜欢totem,建议删除totem,安装totem-xine。<br> (3)如果是kde,建议可以采用amarok+Kaffeine,也是相当不错的,但要注意的是kaffeine读取win32解码包时,是到 /usr/lib/win32的</div>
<div>。<br>                                                 14、安装网络电视sopcast<br>                                                 下载下面两个文件:<br><a href="ftp://ftp.fedora.cn/pub/fedora-cn/linux/7/i386/sp-sc-1.0.2-1.fc7.fcn.y0.i386.rpm">ftp://ftp.fedora.cn/pub/fedora-cn/linux/7/i386/sp-sc-1.0.2-1.fc7.fcn.y0.i386.rpm</a><br><a href="ftp://ftp.fedora.cn/pub/fedora-cn/linux/7/i386/gsopcast-0.2.9-1.fc7.fcn.y0.i386.rpm">ftp://ftp.fedora.cn/pub/fedora-cn/linux/7/i386/gsopcast-0.2.9-1.fc7.fcn.y0.i386.rpm</a><br>                                                 安装后在Internet菜单中即多出gsopcast(注意它默认采用mplayer作播放器)。<br>                                                 如果是kde,请到这里下载qsopcast<br><a href="http://www.sopcast.com/cn/download">http://www.sopcast.com/cn/download</a>
</div>
<div>15、安装beryl<br>                                                 (1)安装<br>                                                 首先安装显卡驱动,确认已经安装官方驱动:<br>                                                 $ glxinfo | grep rendering<br>                                                 direct rendering: Yes<br>                                                 然后开始安装<br>                                                 yum install beryl-gnome 或 yum install beryl-KDE<br>                                                 或者直接<br>                                                 yum install beryl(包括KDE与gnome)<br>                                                 (2)可能遇到的问题:<br>                                                 首先测试自身带的compiz desktop-effects效果是否正常。<br>                                                 在终端中输入desktop-effects,在出来的窗体中点击启用桌面效果,然后选择立方体,如果正常,则使用beryl一般也不会有什么问题</div>
<div>。<br>                                                 如果出现如下提示:<br>                                                 compiz: No sync extension<br>                                                 打开/etc/X11/xorg.conf作如下修改:<br>                                                 在 "Device" section:加入<br>                                                 Option "AddARGBGLXVisuals" "True"<br>                                                 Option "DisableGLXRootClipping" "True"<br>                                                 在Module section:加入<br>                                                 Load "extmod"<br>                                                 如果是ATI则加入<br>                                                 Load "dri"<br>                                                 最后在Moudel section中加入:<br>                                                 SubSection "extmod"<br>                                                 Option "omit xfree86-dga"<br>                                                 EndSubSection<br>                                                 我在安装的时候出现了下面的问题,用以上方法成功解决(若出现启动beryl后。窗体没有边框,请确认使用了emerald,若仍不行,可</div>
<div>以按上面的方法修改解决此问题)。<br>                                                 这是另一个beryl设置方案,大致都是差不多的,我没试过:<br>                                                 改/etc/X11/xorg.conf配置文件。<br>                                                 先备份原来的配置文件cp xorg.conf xorg.conf.bak, 然后在xorg.conf中Module段加入<br>                                                 SubSection "extmod"<br>                                                 Option "omit xfree86-dga"<br>                                                 EndSubSection<br>                                                 在Device段中加入<br>                                                 Option "DisableGLXRootClipping" "True"<br>                                                 Option "AddARGBGLXVisuals" "True"<br>                                                 Option "AllowGLXWithComposite" "True"<br>                                                 Option "RenderAccel" "True"<br>                                                 在配置文件的最后加入<br>                                                 Section "Extensions"<br>                                                 Option "Composite" "Enable"<br>                                                 EndSection</div>

你可能感兴趣的:(fedora)