HostOnNet Blog

Tag Archives: Ubuntu

Changing computer name in ubuntu

To change computer name in ubuntu, run sudo echo “computer-new-name” > /etc/hostname Now you need to reboot to get the computer name changed.


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


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


Debian: How to find a package is installed from .deb or source

When installing ffmpeg-php in a debian server, i got error # phpize -bash: phpize: command not found # This is because php-devel package is not installed on the server. Before installing, you need to find out whether php is installed


Reading and searching windows chm help files in ubuntu

By default ubuntu 9 have chmsee installed to view windows chm help files. chmSee is ok for reading chm files, but there is no search function. If you have a reference chm file, it is not easy to find some


Extract RAR archives in Ubuntu

To extract RAR archives in Ubuntu, you need to install unrar. On terminal run sudo apt-get install unrar Or you can install from Synaptic Package Manager To extract a rar file, run terminal, go to the folder where the rar