感谢支持
我们一直在努力

Fedora 18安装后需要安装的一些必备软件包

1. 安装rpmfusion源,它有非常多的免费和非免费的软件,音视频解码器。

现在rpmfusion有3个不同的源:
一个是稳定版:Fedora16, fedora17用的。
另一个是fedora18的分支,
第三个是fedora19的开发版: Rawhide

现在稳定版用起来还有一些问题,会报错:
“GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-18-i386”

只能用fedora18这个分支版本:
sudo yum localinstall –nogpgcheck \
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-branched.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-branched.noarch.rpm \

稳定版本的下载地址:
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

现在发现按照这个系统分类的源可能要更好一点:

Fedora 14的源:

sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-14.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-14.noarch.rpm

Fedora 15的源:
sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-15.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-15.noarch.rpm

Fedora 16的源:
sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-16.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-16.noarch.rpm

Fedora 17的源:
sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-17.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-17.noarch.rpm

Fedora 18的源:
sudo yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-18.noarch.rpm  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-18.noarch.rpm

现在升级一下系统:
sudo yum -y update

安装一下对我有用的一些软件包,有些包比较大,你也可以不安装, 比如 texlive。

自己选择吧。

sudo yum -y install yum-fastestmirror unrar thunderbird emacs ibus-table \
RedHat-lsb gstreamer-plugins-bad gstreamer-plugins-ugly  gstreamer-ffmpeg \
compat-libstdc++-33 NetworkManager-devel python-gevent tracker-ui-tools qemu \
libpciaccess-devel xorg-x11-util-macros llvm-devel mtdev* mutt msmtp tftp \
tftp-server policycoreutils-gui mtd-utils mtd-utils-ubi vim ibus-pinyin \
gnome-tweak-tool ckermit stardict stardict-dic-zh_CN stardict-dic-en texlive \
ibus-table-chinese-wubi-haifeng gnash smplayer vlc samba

安装chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm
rpm -ivh google-chrome-stable_current_i386.rpm

安装 flash plugin:
wget http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm -ivh adobe-release-i386-1.0-1.noarch.rpm
sudo yum -y install flash-plugin

安装音视频解压器:

wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar jxf all-20110131.tar.bz

sudo mkdir -p /usr/lib/codecs

sudo mv all-20110131/*  /usr/lib/codecs

配置samba

sudo smbpasswd -a -U your_username              #设置登陆的用户名和密码,你可以运行 whoami 查看你的用户名

sudo systemctl enable smb.service                          # 开机启动samba

sudo systemctl start smb.service                              #  立即启动samba

sudo systemctl restart smb.service                            # 立即重启samba

firewall-cmd –add-service=samba –timeout=10    # 配置防火墙,让其它电脑能访问你的电脑。

下面是一个简单配置示例:

 mkdir /home/public
 chmod 777 /home/public

[share]
        comment = Galen’s Share
        path = /home/public
        writable = yes
        valid users = your_username          # 你可以运行 whoami 查看你的用户名
配置好后,记得重启samba (sudo systemctl restart smb.service)

赞(0) 打赏
转载请注明出处:服务器评测 » Fedora 18安装后需要安装的一些必备软件包
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏