How to Install Webmin-1.530 in Centos 5.5 using RPM Version

Webmin is a free and open source web-based control panel for managing a dedicated or virtual private linux, solaris, and Microsoft windows server. Webmin is useful for server administrators with intermediate as well as advanced technical knowledge. It can help to reduce the risk or typo in command that ca bring disaster to you. In this post, i will guide you on how to install Webmin-1.530 in Centos 5.5 using rpm. You should install the CentOS first before you install the webmin.

Please follow simple steps :

1. Login to your CentOS server with root privileges.
2. Install the dependencies using yum command.

    [root@server ~]# yum -y install perl-Net-SSLeay

3. Download the Webmin 1.530 using wget as below :

    [root@server tmp]# wget

4. Fetch and install GPG key with which the packages are signed.

    [root@server tmp]# rpm --import

5. Install the rpm as below. The rest of the install will be done automatically to the directory /usr/libexec/webmin, the administration username set to root and the password to your current root password.

    [root@server tmp]# rpm -U webmin-1.530-1.noarch.rpm
    Operating system is CentOS Linux
    Webmin install complete. You can now login to https://server.intranet.local:10000/
    as root with your root password.

6. Finish and now you can manage your centOS using webmin

7. This additional steps is optional. Click update module at the bottom if you are notified. This can help to fix any issue that related to webmin.

    Updating Webmin modules ..
    Updating module status to version 1.531.
              Fixes problem : Fix error Bad arg length for Socket::pack_sockaddr_in in Remote Ping monitor
              Downloading status-1.530-1.wbm.gz (319 bytes) ..
              Downloading (139.18 kB) ..
                   Received 1024 bytes (0 %)
                   Received 14 kB (10 %)
                   Received 28 kB (20 %)
                   Received 42 kB (30 %)
                   Received 56 kB (40 %)
                   Received 70 kB (50 %)
                   Received 84 kB (60 %)
                   Received 98 kB (70 %)
                   Received 112 kB (80 %)
                   Received 126 kB (90 %)
                   Received 139.18 kB (100 %)
              .. download complete.
              Installed module System and Server Status (908 Kb)

How to install VMware Tools in Linux VM

VMware Tools is a group of utilities that enhances the overall performance of the virtual machine’s guest operating system (OS) and improves management of the virtual machine (VM). This is one of important components in order to provide perfect VM OS. Without the VMware Tools, guest OS performance will lacks some of the important functionality. Please follow below steps to install the VMware Tools in Linux VM:

1) Right click on the VM, goto Guest, Install/Upgrade VMware tools.
2) That will mount a CDROM on the VM Guest with the VMwareTools*.tar..gz
3) Copy VMwareTools*.tar.gz to /tmp
4) cd /tmp
5) tar zxfv VMwareTools*.tar.gz
6) cd vmware-tools-distrib
7) ./ –default

This steps will install the VMware tools for you.

Disable the User Account Control (UAC) feature on Windows Vista, Windows Server 2008 and Windows 7

User Account Control or UAC is security feature in Windows Vista, Windows Server 2008 and windows 7. The purpose of this feature is to improve the security of Microsoft Windows by limiting application software to standard user privileges and can help to prevent unauthorized changes to the computer. Under some scenarios and some other reasons, end user might want to disable it. There is the simple way to disable UAC in Windows Vista, Windows Server 2008 and Windows 7.

1. Go to run –> Type msconfig
2. System Configuration will appear.
3. Click on the Tools tab then scroll down until you find the “Disable UAC”. Click on that line.

4. Press the Launch button
5. A CMD window will open and mentioned “The operation completed successfully”. When the command is done, you can close the window.
6. Close the System Configuration window. You need to reboot the computer for changes to apply.

    You can re-enable UAC by selecting the "Enable UAC"
    line and then clicking on the Launch button.

How to Restore MySQL database using PHPMyAdmin

Previously, i have teach you how to backup the MySQL database. Now, i will brief you the simple steps on how to restore MySQL database using phpmyadmin. This steps only applicable for the database that was installed with phpmyadmin such as LAMP server, Wamp server and XAMPP server. Most of the students or for the development peoples has using this phpmyadmin to administer their database because it’s easy to use and it help us to reduce the common mistakes. Please follow this step to restore the MySQL database.

1. Go to this url:


In the real webhosting, “localhost “should be appear as:

2. Select Import Menu and select file to import.

3. In the previous guideline, we have teach you how to backup the “wordpress_db.sql” mysql database. We will use the same database to restore.

4. Make sure the .sql file has been selected and click go to proceed.
5. If database restoration/import has successful, it will return this such of result

    Import has been successfully finished, 35 queries executed.

6. Please note the above steps are to restore the MySQL only. To migrate the whole blog, make sure you has copy the whole content in “C:\wamp\www\ “. If the folder name was “blog”, make sure you have copy the “C:\wamp\www\blog“.

How to Install WAMP Server on Windows XP or Windows

WAMP SERVER(WampServer) is a great package for PHP developers or maybe students or maybe the newbie system administrators or webmasters. Generally, Wamp Server consist of Apache, MySQL and PHP. In this tutorial, i will guide you how to install the fresh wamp server.

1. Go to this url to download

2. Download the latest WampServer released. At the moment, the newest version was WampServer 2.1a [24/12/10]. It includes :
– Apache 2.2.17
– Php 5.3.3
– Mysql 5.1.53 (version 64 bits)
– Mysql 5.5.8 (version 32 bits)
– PhpMyadmin
– SQLBuddy 1.3.2

3. Please take note on this warning.

    WARNING : do not try to install WampServer 2 over WAMP5.
    If WAMP5 is installed on your computer, save your data, uninstall it and
    delete the WAMP5 directory before installing WampServer 2.

4. In your windows workstation, double click the WampServer2.1e-x32 or WampServer2.1d-x64.exe
5. During the installation, it will prompt you to unblock the http server from windows firewall or not. Simply click unblock to allow the Apache running on your local pc.
6. To start the wamp server, click “Start All Services”.

7. To test your wamp server, please go to any browser, type url :


If the installation successful, it should return the “WAMPSERVER Homepage

How to backup MySQL database using PHPMyAdmin

The are a few way to backup the MySQL database. One of the easiest way is using the phpmyadmin. This only applicable for the database that was installed with phpmyadmin such as LAMP server, Wamp server and XAMPP server. Most of the students or for the development peoples has using this phpmyadmin to administer their database because it’s easy to use and it help us to reduce the common mistakes. Please follow this step to backup the MySQL database.

1. Go to this url:


In the real webhosting, “localhost “should be appear as

2.Select Export Menu and select which database to backup or migrate.

3. At the bottom of the page, select check box “Save as file”, the rename the file such as “wordpress_db.” Make sure that you select the compression type is “zipped” Click Go to proceed.

4. The backup mysql db will be name as “wordpress_db.sql”. Make a copy of this file. We will use this .sql file to import . Proceed to restore MySQL database using PHPMyAdmin.

How to Capture the Perfect Screenshots on the HTC Desire HD

On this post, i will share with you on how to capture the perfect sceenshoot on HTC Desire HD. This steps is not only for Desire HD, It’s also can be used by other HTC Android Phones.

There are 3 types of software required and must be installed on your PC
1. Java SE Development Kit (JDK)
2. Android software development kit (Android SDK)
3. HTC Sync for HTC Android Phones

On your Computer, please follow these steps in sequence.

1. Download Java SDK here
2. Install JDK

3. Download Android SDK here
4. Install the Android SDK

Click Next to proceed.

Click Next to proceed.

5. After You click Finish –> Choose Package to install will appear.  In this Step you just need to install Android SDK Platform-tools.  Accept only for the first option and reject the other option.  Click Install. [Step No 5. is optional]

6. Download the HTC sync here
7. Install HTC sync to get the correct Google USB driver works.

After completely installed the HTC Sync, It is optionaly whether to start the HTC Sync or not since the current purpose of this guideline is just want to get the Android USB devices installed correctly. All above steps works perfectly with HTC Sync version 3.0.5511 that was released on 2011-01-11.

For information, I have tried to install the Google Android USB driver using Android SDK manager as below screen captured but did’nt work.  At the moment, the latest revision (revision 4) of this Google USB driver was released on December 2010. Its may be works on the future revision.

On the HTC Desire HD

1. Please go to Menu –> Settings –> Applications –> Development –> USB Debuging.

2. Make sure USB Debugging is checked.

Now you are ready to get started.

On your Computer.

Everything has been setup and we will proceed to capture the  screen shots using the DDMS Batch File.This DDMS located in the tools folder of your Android-sdk-windows

1. Go to Program Files –> Android–> android-sdk-windows–> tools

2. Double click ddms batch file

3. On Device menu –> Click Screen capture

Done. Enjoy!!!

How To Exclude Posts Category from Homepage in Thesis Theme

Lets say you have any post categories that you don’t want to showing up on your wordpress blog homepage together with all your other latest posts. There is the steps to do this on your wordpress blog that using thesis theme. If you are using wordpress 2.5 and above, you won’t be able to see the entry IDs on admin pages. However you can install the Reveal IDs plugin and activate it.

1. Assume that you have installed Reveal IDs plugin and able to see your category IDs on WordPress Thesis theme. For example, we will use entry ID 161 and 159.
2. In Dashboard admin –> go to Appearance –> Editor –> Select custom_functions.php.

    Note : Please make sure you have select theme to edit : thesis

Add below code at the bottom of custom_functions.php. Click update file to finish.

    /* Exclude Posts categories on the homepage */
    function home_filter_begin() {
    global $wp_query;
    /* Exclude id 161 and 159 from homepage*/
    $exclude = '-161,-159';
    query_posts(array_merge(array('cat' => $exclude ),$wp_query->query));
    function home_filter_end() {