HostOnNet Blog

Category Archives: CentOS

Install Unrar on CentOS

To install Unrar on CentOS, run cd /usr/local/src wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz tar zxvf rarlinux-3.8.0.tar.gz cd rar make make install We installed older version of unrar as Latest unrar will not work on CentOS 5.x To check where unrar installed, run which


Install Sun Java on CentOS

Download Java JDK or JRE from http://www.oracle.com/technetwork/java/javase/index-137561.html JRE is only for running Java Programs. JDK can compile Java Source code and run it. So if you plan to make Java Program, download JDK. Download Link for 32 Bit JDK on


Setting HostName in Linux

To set host name on a CentOS/RHEL/Fedora Server to serverX.hosthat.com Edit /etc/sysconfig/network Find Replace With Edit /etc/hosts Add To find servers main IP, use ifconfig, it should be IP of eth0 in most cases. Add hostname to /etc/hostname Setting HostName