Fedora release 20

1. 关闭防火墙

systemctl stop firewalld                停止防火墙

systemctl disable firewalld          禁用防火墙

2. 停用selinux

vi /etc/selinux/config

将文件中的SELINUX选项修改为disable.

#     enforcing – SELinux security policy is enforced.
#     permissive – SELinux prints warnings instead of enforcing.
#     disabled – No SELinux policy is loaded.
SELINUX=disable

3. 安装更新源

a) yum install yum-fastestmirror

b) 下载 http://download1.rpmfusion.org下的free和nonfree中fedora20的rpm包(双击安装即可). 地址如下:

http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-20.noarch.rpm

http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-20.noarch.rpm

4. 安装一些软件(上面3步执行之后建议重启一下电脑)

yum -y install unar p7zip p7zip-plugins ibus-table ibus-pinyin ibus-table-chinese-wubi-haifeng  gnome-tweak-tool stardict stardict-dic-zh_CN stardict-dic-en

一些开发软件:  yum -y install  vim emacs gcc gcc-c++ glibc.i686 glibc ncurses make cmake

yum -y install  samba xinetd tftp tftp-server ftp vsftpd

 

5. 支持mp3 rmvb等一系列格式 (摘自: http://www.linuxidc.com/Linux/2012-06/62112.htm )

yum localinstall –nogpgcheck  http://mirrors.163.com/rpmfusion/free/fedora/rpmfusion-free-release-stable.noarch.rpm

yum install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly libtunepimp-extras-freeworld xine-lib-extras-freeworld

yum install ffmpeg ffmpeg-libs gstreamer-ffmpeg libmatroska xvidcore

 

6. 安装flash player

a) 到adobe网站上下载gz包.

b) 解压, 将usr文件夹拷贝到/目录    cp -rf usr /

c) 将解压的libflashplayer.so拷贝到firefox目录    cp -f libflashplayer.so /usr/lib64/mozilla/plugins/

 

二.  所遇问题解决方法

1. 不能安装flash player (注意: 此安装需要占用大量磁盘空间,多数会安装一些无用程序)

先执行: sudo yum -y install gstream-*

sudo yum -y install gstream1-*

执行后一般能安装,默认音频和视频播放器能正常安装插件.

2. bad ELF interpreter: 没有那个文件或目录

出错: 64位机 安装glibc.i686即可

解决: sudo yum install glibc.i686

3. 安装qt出现错误

出错: cannot find -Igl

解决: yum install libGL libGL-devel