cd <to your desired rpms location>
yum --disablerepo=* localinstall *.rpm
cd <to your desired rpms location>
yum --disablerepo=* localinstall *.rpm
Do following steps
1. cd /var/www/html
2. ln -s desired_directory linkName
3. chmod 755 Desired_Directory
4. in /etc/httpd/conf/httpd.conf set as "UserDir disable"
Follow either of following three steps
1. on shell prompt use command hostname newname
2. in /etc/hosts mark entry against 127.0.0.0 newname
3. in /etc/sysconfig/network against HOSTNAME=newname
the last one is permanent solution.