How to setup local yum repository

Create a directory to mount the .iso file

[root@homelinux sunil]# mkdir /mnt/rhl6

Copy rhel-server-6.1-x86_64-dvd.iso to the /tmp directory

Mount the linux .iso to rhl6 directory

[root@homelinux sunil]# mount -o loop /tmp/rhel-server-6.1-x86_64-dvd.iso /mnt/rhl6

Create a repository configuration file

[root@homelinux sunil]# vi /etc/yum.repos.d/local.repo

Add the following entry
[local repository]
name=RHEL6
Baseurl=file:///mnt/rhl6
enabled=1

Save & close the file

list the packages using yum list and yum install packagename to install the package.

How to install Tigervnc Server on Oracle Linux 6

Assuming you have already some up local or public repository
[root@db11gr2 tmp]# yum install tigervnc-server*
After the installation is complete
Edit tigervnc configuration file
[root@db11gr2 tmp]# vi /etc/sysconfig/vncservers
Uncomment all the line
And add the below line
VNCSERVERS=”3:oracle” [means vncsession for user oracle on display 3, using port 5903]
VNCSERVERARGS[3]=”-geometry 1280×1024″

Login with oracle user to set vnc password
[root@db11gr2 tmp]# su –oracle
[root@db11gr2 tmp]# vncpasswd
Password:
Verify:
[root@db11gr2 tmp]#
[root@db11gr2 tmp]# exit

Enable VNC Server service for autostart and start the service

[root@db11gr2 tmp]# chkconfig vncserver on

[root@db11gr2 tmp]# service vncserver start

Connect using Tigervnc

How to install Firefox 13 on Linux

Change the directory to /tmp
[root@db11gr2 /]# cd /tmp
[root@db11gr2 tmp]#

Download the software using wget command

32bit version
[root@db11gr2 tmp]#wget ‘http://ftp.jaist.ac.jp/pub/mozilla.org/firefox/releases/13.0/linux-i686/en-US/firefox-13.0.tar.bz2’
OR
64bit version
[root@db11gr2 tmp]#wget ‘http://ftp.jaist.ac.jp/pub/mozilla.org/firefox/releases/13.0/linux-x86_64/en-US/firefox-13.0.tar.bz2’

Extract the contents of the downloaded tar ball file to the /opt directory where the Programs are installed.
[root@db11gr2 tmp]# tar –jxvf firefox-13.0.tar.bz2 –C /opt

Once the software extraction is complete, you can open firefox using the below command

[root@db11gr2 tmp]# /opt/firefox/firefox
Or
Create shortcut on the desktop
Right click on the desktop click on Create Launcher
In the name box type Firefox
Under command box type /opt/firefox/firefox
Now u can launch the firefox program from the desktop.