fedora 13下x86、x64初始化脚本

fedora 13下面的初始化脚本

#Scriptname:fedora13init.sh
#Version:0.1
#Todo:初始化fedora 13安装
#Usege:./fedora13init.sh
#License:GPL 3


echo 'kevin ALL=(ALL) ALL' >> /etc/sudoers


cd /etc/yum.repos.d/
wget -c http://mirrors.sohu.com/help/fedora-sohu.repo
wget -c http://mirrors.sohu.com/help/fedora-updates-sohu.repo
yum makecache
cd /tmp

yum install yum-plugin-fastestmirror

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

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

yum install xmms xmms-mp3 xmms-faad2 xmms-pulse xmms-skins

yum install audacious audacious-plugins-freeworld*

yum install rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg

yum install mplayer mplayer-gui gecko-mediaplayer mencoder  smplayer

wget -c http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20100303.tar.bz2

mkdir -p /usr/lib64/codecs

tar -jxvf all-20100303.tar.bz2 --strip-components 1 -C /usr/lib64/codecs/

yum install xine xine-lib-extras xine-lib-extras-freeworld

yum install banshee gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg

yum install vlc

rpm -ivh http://rpm.livna.org/livna-release.rpm

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

yum install libdvdcss

rpm -ivh http://www.mjmwired.net/resources/files/msttcore-fonts-2.0-3.noarch.rpm

yum erase flash-plugin nspluginwrapper*
cd /etc/yum.repos.d/

wget -c  http://www.dfm.uninsubria.it/compiz/fusion-testing/flashplayer.x86_64/flash.repo
rpm --import http://www.dfm.uninsubria.it/compiz/fusion-testing/flashplayer.x86_64/RPM-GPG-KEY-leigh123linux
yum install flash-plugin

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
yum install AdobeReader_chs.i486

yum install -y  stardict-*
yum install -y amule
yum install -y scim-bridge.x86_64 scim-bridge-gtk.i686 scim-bridge-gtk.x86_64 scim-bridge-gtk.i686 scim-bridge-qt.x86_64 scim-bridge-qt3.x86_64 scim-fcitx.x86_64 scim-gtk.i686 scim-gtk.x86_64 scim-fcitx-tools.x86_64 scim.x86_64

yum remove evolution
yum install -y unrar
cd /home/kevin/stardict/dict
tar -jxvf *
mv {stardict-kdic-computer-gb-2.4.2,stardict-oxford-gb-2.4.2,stardict-ProECCE-2.4.2,stardict-wubi86-2.4.2} /usr/share/stardict/dic/

#yum --nogpgcheck install xorg-x11-drv-nvidia akmod-nvidia
#sed -i '/root=/s|$| rdblacklist=nouveau|' /etc/grub.conf

网名为Kevin.U的哥们所写,谢谢支持

你可能感兴趣的:(linux,职场,初始化,fedora,休闲,13)