CentOS Installation
Repository
Install RPMforge(dag) reporsitory:
For CentOS5:
rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
For CentOS4:
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm -Uvh http://dag.wieers.com/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm
Desktop
yum install vim-X11 ctags mc
Chinese Input
For CentOS5:
yum install scim-bridge scim-qtimm scim-pinyin
and then: System -> Preferences -> Personal -> Input Method -> Enable input method feature
For CentOS4:
Download fcitx-3.2.tar.bz2 and install.
echo "export XMODIFIERS=@im=fcitx" >> ~/.bashrc
echo LC_CTYPE=zh_CN.UTF-8 >> /etc/sysconfig/i18n
stardict
For CentOS5:
yum install stardict
For CentOS4:
the x86_64 version will not work, need download the i386 version from: http://dag.wieers.com/rpm/packages/stardict/
Skype
For CentOS5
wget http://www.skype.com/go/getskype-linux-beta-centos
yum localinstall skype-<version>-centos.i586.rpm
For CentOS4
yum localinstall skype-1.1.0.20-fc3.i586.rpm
VMWare
yum install gcc
yum install kernel-devel
./vmware-install.pl
Adobe Flash Player
yum install curl compat-libstdc++-33 glibc nspluginwrapper nss (need x86_64 and i386 version)
yum --nogpgcheck localinstall flash-plugin-10.0.15.3-release.i386.rpm
XFCE
sudo yum groupinstall XFCE-4.2
startxfce4
Server
Apache/MySQL/PHP
Note for CentOS4:
There has a bug in PHP4 x86_64: http://bugs.php.net/bug.php?id=34879 Need to enable the centosplus repository to install PHP5.1
Install PHP:
yum install php
yum install php-mysql
yum install mysql-server
yum install php-gd php-mbstring php-mcrypt php-xml
Install ffmpeg-php
1. download ffmpeg-php from sourceforge
2. install phpize: yum install php-devel
3. compile/install ffmpeg:
phpize
./configure
make
make install