Love The Way I Work

Category archive


Ubuntu Cheat Sheet

in Linux/Tutorial/Ubuntu by

FOSSwire have posted a PDF “Ubuntu Cheat Sheet,” covering the basic terminal commands one might have to use and, just as importantly, naming important programs and packages.

With “Ubuntu Cheat Sheet”, you don’t end up deleting or messing with something that’ll cause headaches down the line.

You can learn how to use Ubuntu with command line 😉

Ubuntu Cheat Sheet [FOSSwire]

Gajim on Ubuntu

in Linux/Ubuntu by

Gajim is a free software, instant messaging client for the Jabber (XMPP) protocol which uses the GTK+ toolkit. It runs on GNU/Linux, BSD and Windows.

The name Gajim is a recursive acronym for Gajim is a jabber instant messenger.

The goal of Gajim is to provide a full featured and easy to use Jabber client. Gajim works nicely with GNOME, but does not require it to run. It is released under the GNU General Public License.

Gajim should not be confused with Gaim, another instant messaging client.



  • Tabbed chat window
  • Group chat support (with MUC protocol)
  • Emoticons, Avatars, File transfer, Room Bookmarks
  • Metacontacts Support
  • Trayicon, Speller, extented chat history functionalities
  • TLS and GPG support (with SSL legacy support)
  • Transport Registration support
  • Service Discovery including Nodes
  • Wikipedia, dictionary and search engine lookup
  • Multiple accounts support
  • DBus Capabilities
  • XML Console
  • Gajim is available in 22 languages: Basque, Belarusian, Brasilian, Breton, Bulgarian, Chinese (simplified), Croatian, Czech, Dutch, English, Esperanto, French, German, Greek, Italian, Norwegian (Bokm?l), Polish, Portugese, Russian, Spanish, Slovak and Swedish


You need to add Ubuntu universe repository, then use the command line and type:

apt-get install gajim

Happy Chatting and have a great day! 😉

Frozen Bubble on Ubuntu

in Fun/Linux/Tutorial/Ubuntu by

Frozen Bubble is a free software “Puzzle Bobble” style computer game which is available on several operating systems including Linux, Mac OS X, Windows and the Symbian Series 60 line of smartphones.

This is a puzzle game where you must launch colored bubbles toward bubbles frozen to the top of the screen. If there are three or more bubbles of the same color in contact, those bubbles will pop.

The original Frozen Bubble was written in Perl by Guillaume Cottenceau, and uses the Simple DirectMedia Layer (SDL) library. The game features 100 levels and includes a level editor.

Frozen Bubble


Frozen Bubble features:

  • 50 Single player levels
  • A two player mode
  • Beautiful music
  • Colorful, detailed graphics
  • Hours and hours of 2p game
  • 3 Professional quality 20-channel music
  • 15 stereo sound effects
  • 7 unique graphical transition effects.


To install Frozen Bubble you may use the command line and type:

sudo apt-get install frozen-bubble

Play it

To start Frozen Bubble, in a terminal type:


You should find the launcher in the Games section of the Applications menu.

Applications -> Games -> Frozen-Bubble

That?s it, play it!

PostgreSQL on Ubuntu Linux

in Linux/Tutorial/Ubuntu by

PostgreSQL is a powerful object-relational database management system, provided under a flexible BSD-style license. PostgreSQL contains many advanced features, is very fast and standards compliant. It supports a large part of the SQL standard and is designed to be extensible by users in many aspects.

Some of the features are: ACID transactions, foreign keys, views, sequences, sub queries, triggers, user-defined types and functions, outer joins, multi version concurrency control. Graphical user interfaces and bindings for many programming languages are available as well.

This is a simple walk-through to install the PostgreSQL database server and the PgAdmin administration application on Ubuntu Linux.

Installing The Database Server

To install PostgreSQL 8.1 you may use the command line and type:

sudo apt-get install postgresql-8.1

GUI for PostgreSQL

To install pgAdmin III, a handy GUI for PostgreSQL, you may use the command line and type:

sudo apt-get install pgadmin3

Basic Server Setup

Set Password

To start off, we need to change the PostgreSQL postgres user password, we will not be able to access the server otherwise. As the “postgres” Linux user, we will execute the psql command, in a terminal type:

sudo -u postgres psql template1

Then at the new prompt, type these two commands, replacing secret with the new password (up to you ;))

ALTER USER postgres WITH PASSWORD 'secret';

Create Database

To create the first database, which we will call “mydatabase”, simply type :

sudo -u postgres createdb mydatabase

Using pgAdmin III GUI

To get an idea of what PostgreSQL can do, you may start by firing up a graphical client. In a terminal type:


To get a menu entry for pgAdmin do the following…

sudo gedit /usr/share/applications/pgadmin.desktop
[Desktop Entry] Comment= PostgreSQL Administrator III
Name=pgAdmin III
Comment[en_GB]=PostgreSQL Administrator III
Name[en_GB]=pgAdmin III

Then save the file and exit gedit. You should find the launcher in the System Tools section of the Applications menu.

Managing The Server

Change Authentication Method

We need to edit file pg_hba.conf to change authentification method for accessing PostgreSQL database.

sudo cp /etc/postgresql/pg_hba.conf /etc/postgresql/pg_hba.confbak
sudo gedit /etc/postgresql/pg_hba.conf

For example, if you want postgres to manage its own users (not linked with system users), you will add the following line:

# TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD
host    all         all    password

Which means that on your local network ( – replace with your own local network !), postgres users can connect through the network to the database providing a classical couple user / password.

Create a Database

To create a database with a user that have full rights on the database, use the following command:

sudo -u postgres createuser -D -A -P mynewuser
sudo -u postgres createdb -O mynewuser mydatabase

That’s it, now all you have to do is restart the server and all should be working!

sudo /etc/init.d/postgresql-8.1 restart

WordPress Installation on Ubuntu with LAMP

in Blogging/Linux/Tutorial/Ubuntu/Wordpress by

This tutorial is how to install WordPress on Ubuntu Linux Desktop using LAMP. Why ? One reason is that you can do a lot of developing (playing around) much quicker as there is no need to use ftp. If You like me, play around with WordPress as a developer (perhaps you create your own theme or plugin), you should install WordPress locally in your Ubuntu Linux Desktop.

You do not need to convert your Ubuntu Desktop into Ubuntu Server. You only need install addition packages that you need to run WordPress on your Ubuntu Linux desktop.

Get ready?! Let?s start to install WorPress on Ubuntu Linux desktop.

Install LAMP

You can view my previous post about LAMP Installation On Ubuntu, if you have not already done so.

Download WordPress

You can download WordPress from their official website into your Ubuntu desktop.

Extract your WordPress archieve into your server directory

sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/

Prepare MySQL Database for WordPress

Create a database for WordPress on your Ubuntu, as well as a MySQL user who has all privileges for accessing and modifying it. You can use phpMyAdmin to make it easier 😉

  • First create dababase: wordpress
  • Then create a new user: wordpress with password: wordpresspassword

Write down the values you used for databasename, wordpressusername, hostname, and password for future purpose 😉

Configure WordPress Setting

Copy the wp-config-sample.php file to wp-config.php. Open and edit wp-config.php file

// ** MySQL settings ** //
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'wordpresspassword');
define('DB_HOST', 'localhost');

Run the Install Script

Using your favorite web browser (Firefox by default), visit wp-admin/install.php within the directory into which you just installed WordPress on your web site. For example: point your browser to http://localhost/wordpress/wp-admin/install.php

Preview your New WordPress

Point your browser to http://localhost/wordpress.

Well done! You have your own WordPress on Your Ubuntu Linux Desktop.

😀 Happy New Year!

LAMP Installation On Ubuntu

in Linux/Tutorial/Ubuntu by

The acronym LAMP refers to a set of free software programs commonly used together to run dynamic Web sites or servers Linux, the operating system; Apache, the Web server; MySQL, the database management system (or database server) and Perl, PHP, and/or Python, scripting languages.

This tutorial is how to install LAMP on Ubuntu Desktop.


Here are several steps to install Ubuntu Linux Desktop if you have not already done so.

  • First download and burn your own installation CD file from the Ubuntu Linux site or order a free CD from Shipit – Free CDs.
  • Second, try out your new Ubuntu Linux without changing anything on your computer by booting the installation CD. This is a great way to test compatibility with your computer.
  • Third, install Ubuntu Linux permanently on your computer by double-clicking the install icon on your temporary desktop.
    1. Download the Ubuntu Linux Desktop ISO CD image from the Ubuntu Linux site.
    2. Burn a bootable CD from the ISO CD image.
    3. Boot the CD on the target machine. Make sure the network is connected. If all is successful, Ubuntu Linux will start up in a fully functional friendly desktop environment. Experiment for a while if you like.
    4. Double-click on the installer icon on the desktop to permanently install Linux.
    5. Enter Name, Username, Password, and Time Zone. Set the clock if necessary. Choose automatic partition and format to erase the previous operating system.
    6. WARNING – This will wipe out everything on the target machine hard drive.
    7. Wait.
    8. Restart.
    9. Remove the CD to prevent starting over.
    10. Type Enter to boot.
    11. Login.


Install Apache

sudo apt-get install apache2

Testing HTTP Server by open a web browser and enter http://localhost


Install PHP5

sudo apt-get install php5 libapache2-mod-php5

Stop/Restart Apache

sudo /etc/init.d/apache2 restart

Test the installation

sudo gedit /var/www/testphp.php

Insert this following line into testphp.php file.

<?php phpinfo(); ?>

Save this new file.
Open a web browser and enter http://localhost/testphp.php
Be sure to remove the file afterwards, as it may pose a security risk.

sudo rm /var/www/testphp.php


Install MySQL Server

sudo apt-get install mysql-server

MySQL initially only allows connections from the localhost ( We’ll need to remove that restriction if you wish to make it accessible to everyone on the internet. Open the file /etc/mysql/my.cnf

gksudo gedit /etc/mysql/my.cnf

Find the line bind-address = and comment it out then save the file.
MySQL comes with no root password as default. This is a huge security risk. You’ll need to set one. So that the local computer gets root access as well, you’ll need to set a password for that too. The local-machine-name is the name of the computer you’re working on.

mysqladmin -u root password newpassword
mysqladmin -h [email protected] -u root -p password newpassword
sudo /etc/init.d/mysql restart

MySQL Administrator

Install MySQL Administrator

sudo apt-get install mysql-admin

Refresh Gnome Panel

killall gnome-panel

Run MySQL Administrator
Applications -> System Tools -> MySQL Administrator

MySQL for Apache HTTP Server

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

To get PHP to work with MySQL, open the php.ini file

gksudo gedit /etc/php5/apache2/php.ini

You’ll need to uncomment the “;” line so that it looks like this

Restart Apache

sudo /etc/init.d/apache2 restart

Well done!

Totally Turning Ubuntu into Kubuntu

in Article/Linux/Tutorial/Ubuntu by

Kubuntu Desktop

There are several distributed versions of Ubuntu. These include Edubuntu and Kubuntu, both of which are Ubuntu but with a different default environment. Kubuntu is Ubuntu with, however, another very popular desktop environment for Linux called KDE.

This guide is how to totally install Kubuntu desktop and fully uninstall Ubuntu desktop meta-package. Remember, your Ubuntu system will not continue to be an Ubuntu system and offer the GNOME desktop. Your Ubuntu system will be a Kubuntu system and offer KDE desktop instead. But I will give you alternative choice to keep your Ubuntu system continue to be an Ubuntu system and offer the GNOME desktop and you will also have access to the KDE desktop and all the applications that come with a Kubuntu system. Feel free to make your own choice.


Ubuntu Desktop

Ubuntu Desktop

Kubuntu Desktop

Kubuntu Desktop

Installing the Kubuntu Desktop

Open a terminal shell window, you can type the following:

sudo apt-get install kubuntu-desktop

The download can take some time. After the download is complete, the packages are prepared and the installation proceeds. If you are lucky enough to have a good, high-speed Internet connection, the first part of the Kubuntu desktop installation may have seemed pretty speedy. Now it’s time to install the download packages, which can also take a fair bit of time.

Somewhere in the course of the packages installation, a window pops up asking you to make a decision on your choice of login manager. The default login manager for Kubuntu is KDM. Therefore change your default login manager from GDM to KDM. Just click the drop-down list and select KDM. Then click Forward to reconfigure.

You’re finished. You can safely log out or even want to reboot your system given the number of changes that have occurred. Go a head 😉 When the login manager comes back up, you have to manually select KDE as your desktop environment.

At this point, you can stop if you want to keep your Ubuntu system continue to be an Ubuntu system and offer both the GNOME desktop and KDE desktop. You can choice using Ubuntu or Kubuntu when you log in. But if you want fully turning Ubuntu into Kubuntu, you can follow the next step.

Uninstalling The Ubuntu Desktop

To uninstall all the other junk, open up a terminal and copy and paste this into your terminal:

sudo apt-get remove bluez-pin bug-buddy contact-lookup-applet dbus-1-utils desktop-file-utils eog esound evince evolution evolution-exchange evolution-plugins evolution-webcal file-roller firefox firefox-gnome-support gaim gamin gcalctool gconf-editor gdm gedit gimp gimp-python gnome2-user-guide gnome-about gnome-app-install gnome-applets gnome-btdownload gnome-control-center gnome-cups-manager gnome-games gnome-icon-theme gnome-media gnomemeeting gnome-menus gnome-netstatus-applet gnome-nettool gnome-panel gnome-pilot-conduits gnome-session gnome-spell gnome-system-monitor gnome-system-tools gnome-terminal gnome-themes gnome-utils gnome-volume-manager gstreamer0.8-esd gstreamer0.8-gnomevfs gthumb gtk2-engines-clearlooks gtk2-engines-industrial gtk2-engines-mist gtk2-engines-smooth gucharmap hal-device-manager hwdb-client language-selector libesd-alsa0 libglib2.0-data libgnome2-perl libgstreamer-gconf0.8-0 libpt-plugins-v4l libpt-plugins-v4l2 metacity nautilus nautilus-cd-burner nautilus-sendto notification-daemon openoffice.org2-evolution openoffice.org2-gnome python-glade2 python-gnome2 python-gst python-gtk2 rhythmbox rss-glx scrollkeeper serpentine smeg sound-juicer ssh-askpass-gnome synaptic totem tsclient ubuntu-docs ubuntu-sounds update-notifier vino xchat xsane xscreensaver xscreensaver-gl xvncviewer yelp zenity

😀 Well done! Your Ubuntu turn into Kubuntu now. Have a great day!

Installing Movable Type on Debian Server

in Blogging/Debian/Linux/Tutorial by

Movable Type

Movable Type is a widely-used proprietary weblog publishing system developed by California-based Six Apart. Movable Type also supports most popular weblogging features, including user accounts, comments, categories, and themes, and is extensible through a large library of third-party plug-ins. Movable Type is free of charge for personal blogs with unlimited authors and blogs; paid support and commercial licenses, which allow more authors and weblogs on a single installation of the software, are also available. Source:


This tutorial reviews how to install Movable Type (MT) on your local Debian server. This tutorial does NOT offer easy Movable Type installation instructions. This guide was created because the official Movable Type installation guide are not written for beginner users like me :D. Hopefully these guide are easier to understand for us normal people.

😀 Gud lak! I hope this helps save you time.


Movable Type requires the following:

  • An account on a webserver that allows you to run custom CGI scripts.
  • Perl installed on your server, version 5.004_04 or greater. Perl version 5.6 or higher is highly recommended.
  • BerkeleyDB or, preferably, a SQL-based database for storage of Movable Type data. Movable Type supports MySQL, SQLite, PostgreSQL. This guide use MySQL for Database server.
  • An FTP program to upload the necessary files to your webserver, or shell access if you wish to install the system from the shell.
  • A web browser with Javascript enabled.


Installing Perl, imagemagick, perlmagick, and libxml-atom-perl

aptitude install perl imagemagick perlmagick libxml-atom-perl

Installing Webserver

You can view my post about Installing Webserver on Debian Server.

CGI Config

We want to run cgi scripts from its default location (default on Debian is here: /usr/lib/cgi-bin) into a another location (under Movable Type folder: /var/www/myblog), therefore find this section in the httpd.conf file (/etc/apache2/sites-enabled/000-default):

vi /etc/apache2/sites-enabled/000-default
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options ExecCGI -MultiViews 
+SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>

Replace with:

ScriptAlias /cgi-bin/ /var/www/myblog/
    <Directory "/var/www/myblog">
        AllowOverride None
        Options ExecCGI -MultiViews 
+SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>

Open and edit /etc/apache2/apache2.conf file, uncomment this:

vi /etc/apache2/apache2.conf
AddHandler cgi-script .cgi

Then restart your Apache

/etc/init.d/apache2 restart

Installing MySQL Database

You can view my post about MySQL Database Server on Debian.

Create MySQL Database and User

mysql> create database movabletype;
mysql> GRANT ALL PRIVILEGES ON *.* TO [email protected]
identified by 'suprimt' with grant option;
mysql> flush privileges;
mysql> q


The distribution can be downloaded from the Movable Type web site.

Download the full version. This file that you download is a .zip and .tar.gz file that contains hundreds of files and folders inside.

After downloading, the file that you downloaded is saved in .tar.gz format; this is a compressed bundle containing the files in the Movable Type distribution. Unpack this archive.

tar zxvf MT-3.33-en.tar.gz

Rename your MT-3.33 folder into myblog folder:

mv MT-3.33 myblog

Check your server configuration

Type the following URL into your browser: http://your-server-ip-address/myblog.
You should get this screen:

Movable Index Page

Then click “Movable Type System Check” link under Installing section or type the following URL into your browser: http://your-server-ip-address/myblog/mt-check.cgi.

You should get a screen that lists a bunch of technical mumbu-jumbo. Scroll to the bottom and there should be a message that tells you that your server checks out and will work with Movable Type.

Initialize Movable Type

Type the following URL into your browser: http://your-server-ip-address/myblog/mt-wizard.cgi. Make sure your myblog writable by server :). This Wizard will make configuration file into your myblog folder.

Movable Type Configuration Wizard

Movable Wizard Begin

Click Begin button to start configuration wizard.

Gmail Notifier for Ubuntu Edgy Eft

in Linux/Tutorial/Ubuntu by

Gmail Notifier

Gmail Notifier is a nice little tool to allow you to receive gmail notifications. This tutorial is how to install CheckGmail as Gmail Notifier into your Ubuntu Edgy Eft.


CheckGmail is a system tray application that checks a Gmail account for new mail. When new mail is present the tray icon changes, an optional animated popup is displayed and a tooltip displays the number and details of new messages. Each message can be opened directly in a browser window, and many common Gmail operations (marking as read, archiving, deleting or reporting as spam) can be carried out on messages directly within CheckGmail, without the need to use the Gmail web interface.



Installing CheckGmail for Ubuntu Edgy Eft

Good news! CheckGmail is now part of the Ubuntu Universe packages. Therefore make sure you add Universe repositories into your sources.list file 😉

An simple command to install CheckGmail:

sudo apt-get install checkgmail

Well done! Have a great day and gud lak 😀

Top 6 Download Manager for Ubuntu Edgy Eft

in Article/Linux/Review/Ubuntu by

Download Manager

A download manager is a computer program designed to download files from the Internet, unlike a web browser, which is mainly intended to browse web pages on the World Wide Web (with file downloading being of secondary importance). According to manager.

Download Manager Features:

  • Pausing the downloading of large files.
  • Resuming broken or paused downloads (especially for very large files).
  • Downloading files on poor connections.
  • Downloading several files from a site automatically according to simple rules (file types, updated files, etc. – see also Offline Browser).
  • Automatic recursive downloads (mirroring).
  • Scheduled downloads (including, automatic hang-up and shutdown).
  • Searching for mirror sites, and the handling of different connections to download the same file more quickly (Segmented downloading).

Download Manager for Ubuntu Edgy Eft

You can install these following packages that can be use as download manager for Ubuntu Edgy Eft.


Wget is a network utility to retrieve files from the Web using http(s) and ftp, the two most widely used Internet protocols. It works non-interactively, so it will work in the background, after having logged off. The program supports recursive retrieval of web-authoring pages as well as ftp sites — you can use wget to make mirrors of archives and home pages or to travel the Web like a WWW robot.

Wget works particularly well with slow or unstable connections by continuing to retrieve a document until the document is fully downloaded. Re-getting files from where it left off works on servers (both http and ftp) that support it. Both http and ftp retrievals can be time stamped, so wget can see if the remote file has changed since the last retrieval and automatically retrieve the new version if it has.

Wget supports proxy servers; this can lighten the network load, speed up retrieval, and provide access behind firewalls.

Wget is a default download manager for Ubuntu Edgy Eft. Therefore you do not need to install it again 😀


Aria is a download manager. The transfer can be paused, resumed, queued and saved. It has a very user friendly GTK based GUI, and useful log consoles. Program supports CRC checking, HTTP proxy server, cut-and-paste, drag-and-drop, and can define specific file retrieving procedure for particular web servers.

sudo apt-get install aria


Curl is a client to get files from servers using any of the supported protocols. The command is designed to work without user interaction or any kind of interactivity.

Curl offers a busload of useful tricks like proxy support, user authentication, ftp upload, HTTP post, file transfer resume and more.

sudo apt-get install curl

Downloader for X

Downloader for X is a powerful graphical download manager. It supports both HTTP(S) and FTP protocols and has nice graphical user interface, though some actions can also be performed using the command line.

Among others, its key features include proxy and SOCKS5 support, recursive downloading, wildcard matching, download scheduler, multiple download queues and more…

sudo apt-get install d4x


Gwget offers a GNOME front-end to the popular wget application, with enhanced features, such as systray icon, multiple downloads and a powerful preferences manager.

sudo apt-get install gwget


KGET is a a download manager similar to GetRight or Go!zilla. It keeps all your downloads in one dialog and you can add and remove transfers. Transfers can be paused, resumed, queued or scheduled. Dialogs display info about status of transfers – progress, size, speed and remaining time. Program supports drag & drop from KDE applications and Netscape.

sudo apt-get install kget

This package is part of KDE, as a component of the KDE network module. Therefore you need to install another KDE packages to run KGET on your Ubuntu Edgy Eft.

Firefox Support

Firefox is a default web browser for Ubuntu Edgy Eft. Thanks God it’s Firefox 2.0 😉 There are so many download extension for Firefox. FlashGot is a popular download extension for Firefox. But feel free to get your own choice 😀

Just my Two Cents

Usually I use KDE KGET + Flashgot for my Download Manager. This integration make my download activity become fun. Perhaps I will try GWGET for my next tool. GWGET have some interesting features, such as:

  • Resume: By default, gwget tries to continue any download.
  • Notification: Gwget tries to use the Gnome notification area support, if available. You can close the main window and gwget runs in the background.
  • Recursivity: Gwget detects when you put a html, php, asp or a web page dir in the url to download, and ask you to only download certain files (multimedia, only the index, and so on).
  • Drag & Drop: You can d&d a url to the main gwget window or the notification area icon to add a new download.
    Firefox Extension: Fireget

Happy download guys!

1 2 3 4
Go to Top