系统安装好后我配置的内容如下,所有命令都使用root权限运行:
安装yum的fast-mirror插件
yum install yum-fastestmirror
加入网易163镜像源
下载fedora-163.repo 和fedora-updates-163.repo , 放入/etc/yum.repos.d/
运行yum makecache生成缓存
安装Java运行环境
选择1:open-jdk
yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel
选择2:sun jdk
去官网下载jdk
chmod 777 jdk-6u24-linux-x64-rpm.bin
./jdk-6u24-linux-x64-rpm.bin
讲下列内容保存到 /etc/profile.d/java.sh
export JAVA_HOME=/usr/java/jdk1.6.0_24
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib
export PATH=$JAVA_HOME/bin:$PATH
测试Java
java -version
安装mercurial
yum install mercurial tortoisehg
安装SVN
yum install subversion
安装wget
yum install wget
安装smplayer
首先增加2个源
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 smplayer
然后下载视频解码包
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar jxvf all-20110131.tar.bz2
sudo mkdir /usr/lib/codecs
sudo mkdir /usr/lib/win32
cp all-20100303/* /usr/lib/codecs
cp all-20100303/* /usr/lib/win32
最后安装glut
yum install glut
安装Open-office
yum groupinstall "Office/Productivity"
安装meld对比工具
yum install meld
安装截图工具shutter
yum install shutter
安装vim
yum install vim
安装文泉译字体
yum install wqy-bitmap-fonts wqy-microhei-fonts
安装Chromium浏览器
yum install chromium
安装adobe的flashplayer
先去这里 选择针对linux的yum ,然后会下载到adobe-release-i386-1.0-1.noarch.rpm这个文件
rpm -i adobe-release-i386-1.0-1.noarch.rpm
运行后/etc/yum.repo.d/里面应该会有 adobe-linux-i386.repo 这个文件
yum install nspluginwrapper.{x86_64,i686} alsa-plugins-pulseaudio.i686 --disablerepo=adobe-linux-i386
yum install flash-plugin
安装Apache
yum install httpd
安装MySQL Server
yum install mysql mysql-server
安装PHP开发环境
yum install php php-mysql php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc
安装Eclipse
yum install eclipse-jdt eclipse-phpeclipse
安装VirtualBox
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
rpm --import oracle_vbox.asc
yum makecache
yum install VirtualBox-4.0
yum install kernel-devel
yum install dkms
/etc/init.d/vboxdrv setup
安装SunPinYin输入法
yum install sunpinyin ibus-sunpinyin
到这里,基本的配置就算完毕了
转载:http://be-evil.org/tag/fedora