HostOnNet Blog

Author Archives: admin

Drive Space Critical on hostname

On Cpanel Server, got following error Drive Critical: /dev/sda3 (/usr) is 91% full This is because /usr/ partition is full, mostly disk space used by /usr/local/apache/domlogs folder. To fix this, you can move domlogs folder in another partition that have


Rebuild php.ini in Cpanel Server

First rename php.ini, so you can copy it back or compare if anything go wrong mv /usr/local/lib/php.ini /usr/local/lib/php.ini.bak.$(date +%m%d%Y%H) Now run /scripts/phpini This will generate new php.ini file.


Installing Git on CentOS

Git is a distributed version control created by Linus torvalds for managing Linux kernal. Now many large projects use git for version control. You can download latest version of git from http://git-scm.com/download To install version 1.7.5.2, run cd /usr/local/src wget


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


Connecting MS SQL 2008 from SQL Management Studio

Download and install SQL Management Studio from http://download.microsoft.com/download/4/2/A/42A5A62F-9290-45CB-84CF-6A4E17888FDE/SQLManagementStudio_x64_ENU.exe


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


Boot Linux In Your Browser

Fabrice Bellard, the creator of the QEMU emulator, wrote a PC emulator in JavaScript. You can now boot Linux in your browser. You need Firefox 4 or Google Chrome 11 for this to work. http://bellard.org/jslinux/


Join Multiple Videos With VirtualDub

Following Script join multiple videos VirtualDub.Open("movie_1.avi"); VirtualDub.Append("movie_2.avi"); VirtualDub.Append("movie_3.avi"); VirtualDub.Append("movie_4.avi"); VirtualDub.Append("movie_5.avi"); VirtualDub.Append("movie_6.avi"); VirtualDub.Append("movie_7.avi"); VirtualDub.Append("movie_8.avi"); VirtualDub.Append("movie_9.avi"); VirtualDub.SaveAVI("out.avi"); VirtualDub.Close(); Save the file in folder where videos are present. To run the script, Run VirtualDub. Click Files > Run Script, now select the script.


Microsoft Acquired Skype

Microsoft Acquired Skype for $8.5 billion. With 170 million connected users and over 207 billion minutes of voice and video conversations in 2010, Skype has been a pioneer in creating rich, meaningful connections among friends, families and business colleagues globally.


Install VNC Server on CentOS

First install vncserver as user root yum install vnc-server I wanted VNC run as user “flashwebhost” as it is not recommended to use Desktop as user root, so i created a user adduser flashwebhost Now setup VNC Password for this