HostOnNet Blog

Monthly Archives: September 2009

How to extract RAR files in Ubuntu

To extract rar file, you need to install unrar with sudo apt-get install unrar To extract a rar file, go to command line, run unrar x fileName.rar For other command line options of unrar, run man unrar


Zend Framework error MySQL server through socket /tmp/mysql.sock

On a new apache/mysql installation, i got following error when connecting to mysql database in zend framework. This is because no socket /tmp/mysql.sock exists. Can be fixed by symlink to actual socket. To find mysql socket, in mysql command prompt


Enable Apache Mode Rewrite in ubuntu

You need to run “a2enmod rewrite” to enable apache mod_rewrite. hon@hon-desktop:~/web$ sudo a2enmod rewrite Module rewrite already enabled hon@hon-desktop:~/web$ In my case it was already enabled, still .htaccess was not working. It was the default site, so i need to


Install festival tts in ubuntu

festival is a tts (text-to-speech) software in ubuntu that offers several different voices. To install festival, run sudo apt-get install festival Now to use festival, in command line type echo “Host On Net Provides Web Hosting” | festival –tts Or


Can’t login to mail account

On a Cpanel server, a client can’t login to his web mail. I tried to reset his email account password from cpanel. Still web mail do not allow him to login. This error is fixed by running /scripts/fixpop [root@server56]# /scripts/fixpop