RHEL 6 and CentOS 5 after install

Posted on Fri 01 January 2010 by Pavlo Khmel

RHEL 6, installation: Citrix client, VPNC, Java, Virtual Box guest drivers.

Create repository for Installation DVD

[root@localhost ~]# cat /etc/yum.repos.d/dvd.repo
[dvd]
name=dvd
baseurl=file:///misc/cd
gpgcheck=0
enable=1

Install packages for Guest Drivers and for Citrix client

Automounter for CD/DVD is predefined to /misc/cd

# Insert installation DVD
yum install gcc kernel-devel
yum install openmotif
yum install libXaw
umount /misc/cd
# Insert Guest Drivers CD
ls /misc/cd
/misc/cd/VBoxLinuxAdditions-x86.run

Install VPNC

Download and install (no on DVD):
Example: http://download.fedora.redhat.com/pub/epel/6/i386/vpnc-0.5.3-4.el6.i686.rpm

# rpm -ivh vpnc-0.5.3-4.el6.i686.rpm
chmod 700 /etc/vpnc/vpnc-script
[root@localhost]# cat /etc/vpnc/edb.conf
IPSec ID KHMEL.ORG
IPSec obfuscated secret 3332CCB......
IPSec gateway vpn.khmel.org
Xauth username phn
IKE Authmode psk

Install Citrix client

rpm -ivh ICAClient-11.100-1.i386.rpm
# Remove this package (Citrix client will not work)
rpm -e cjkuni-uming-fonts

Java

Download and install: http://java.com/en/download/linux_manual.jsp?locale=en&host=java.com

sh ./jre-6u24-linux-i586-rpm.bin

For Firefox:

cd /usr/lib/mozilla/plugins/
ln -s /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so

Verification: http://java.com/en/download/installed.jsp

CentOS 5

Install Nvidia drivers.

Download from http://www.nvidia.com/object/unix.html. Install compiler:

yum install kernel-devel gcc
# Create link:
ln -sf /usr/src/kernel/2.6.18-92.1.10.el5-i686 /usr/src/linux

Swith to console "Ctrl + Alt + F1" login and change runlevel without X:

init 3
sh NVIDIA-Linux-x86-173.14.12-pkg1.run
init 5

Install Flash player

Download from http://get.adobe.com/flashplayer/ package YUM for Linux then install:

yum install flash-plugin

Install NTFS support

yum install yum-priorities
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install fuse fuse-ntfs-3g dkms dkms-fuse
yum install gcc.x86_64
wget —c http://www.ntfs-3g.org/ntfs-3g-1.2129.tgz
tar —xzvpf ntfs-3g-1.2129.tgz
cd ntfs-3g-1,2129/
./configure
make
make install clean
mount —t ntfs-3g /dev/sda1 /mnt/win

Firefox 3 + JAVA plugin

Download and install from java.com:

sh ./jre-6u27-linux-i586-rpm.bin
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.6.0_27/lib/i386/libnpjp2.so

Verification: http://java.com/en/download/installed.jsp

Mount VirtualBox Share

mount -t vboxsf Documents /mnt/Documents

Install Citrix client:

Install from disk:
libXp-1.0.0-15.1.el6.i686.rpm
# Download and install:
openmotif-2.3.1-5.el5_5.1.i386.rpm
ICAClient-11.100-1.i386.rpm

Install VPNC

For i386 add RPMforge repository install:
http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
then:

yum -y install vpnc
chmod 700 /etc/vpnc/vpnc-script