Centos 5 Multimedia Howto
Step 1: Add the Rpmforge Repo
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
Step 2: Add the Macromedia Repo
rpm -Uhv http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
Step 3: Install Multimedia Applications
yum -y install libdvdcss libdvdread libdvdplay libdvdnav lsdvd mplayerplug-in mplayer mplayer-gui compat-libstdc++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-ugly
Step 4: Installing w32Codecs in order to play everything under the Sun.
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.i386.rpm ; rpm -ivh mplayer-codecs-20061022-1.i386.rpm
wget www1.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.i386.rpm; rpm -ivh mplayer-codecs-extra-20061022-1.i386.rpm
Installing VirtualBox on a PAE Kernel System
Asagidaki islemleri yapmadan once bunlari yuklememiz gerekiyor yoksa kernel modul derlenmesi sirasinda sorunlar cikabilmektedir.
yum install kernel-devel
yum groupinstall "Development Tools"
Sonrada asagidaki adimlari uyguluyoruz.
I recently got stuck while trying to install Headless Virtualbox on a Centos 5.2 server per the directions at Howtoforge here. The RPM failed with the error that it couldn’t find the kernel source. I thought I had already installed kernel-devel, and confirmed that I did. The instructions were to define the KERN_DIR variable like so:
$ export KERN_DIR=/usr/src/kernels/2.6.18-92.1.22.el5-i686/
$ /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
dmesg shows this:
vboxdrv: disagrees about version of symbol struct_module
Interesting!
After several missteps, it turns out there is a separate development rpm for the PAE kernel:
$ yum install kernel-PAE-devel
After that installs, we are good:
$ export KERN_DIR=/usr/src/kernels/2.6.18-92.1.22.el5-PAE-i686/
$ /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [ OK ]
Kaynak:http://systembash.com/content/installing-virtualbox-pae-kernel-centos/
Installing the NVIDIA driver On Centos 5
The nvidia driver is not included with CentOS/RHEL 5 so we will need to use a 3rd party repository. Here we will be using the ATrpms repository.
1. Load up a terminal window if you are in the graphic interface.
2. Switch to the root user by entering the command “su -” (without the quotes) and typing in your root password
3. Edit the file /etc/yum.conf. Using nano we type the command “nano -w /etc/yum.conf”
4. If you have already configured yum to use the ATrpms repository then append “*nvidia-graphics*” to the end of the “includepkgs” line and skip the next setup. Otherwise continue on.
5. Add the following to the bottom of this file:
[atrpms]
name=EL $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=1
exclude=*kmdl*i586*
includepkgs=*nvidia-graphics*
6. Save the file. In nano you press Ctrl-X, answer yes to the “Save modified buffer” question and then press enter on the file name to write.
7. If you have not previously setup ATrpms execute the following command:
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms
8. Now execute the following command:
yum install nvidia-graphics169.07 nvidia-graphics169.07-kmdl-`uname -r`
9. Reboot your system and you will be using the nvidia driver.
Troubleshooting
Normally after installing the nvidia driver with the steps above your xorg.conf file should have automatically been updates to use the newer driver. If this did not happen or for some reason it has reverted then, as root, enter the following command:
nvidia-xconfig
This will switch you back to the nvidia driver.
Kaynak :http://www.linlap.com/wiki/configuring+a+nvidia+graphics+chip+for+centos+and+rhel+5