How to Submit a Website to DMOZ Open Directory

seoIn this post i will guide you on how to submit the blog or websites to DMOZ Open Directory. This can help us to get higher page rank and to improve the SEO since many search engines such as Google and AOL Search use website index data from DMOZ. Then it will help to improve the traffic into your blog.

1. Go to DMOZ directory website.
2. Review the top-level categories and click on the most appropriate category to fit your website’s niche or genre.
3. Select a subcategory until you are at the lowest possible category.
4. Click Sugget URL at the top menu. (Third menu from left).
5. Fill out the submission information ON “Submit a Site to the Open Directory” page.
6. Click Submit and you will you get “Your site submission has been received” page.
7. Wait your website to be index and finish.

How to Enable PAE in x86 32-bit Windows Server 2003 and 2000 to Use More than 4GB RAM

PAE

In some scenario, you will need to upgrade the windows operating system RAM to more than 4GB. But, in normal circumstances, Windows 2000 (Datacenter Server or Advanced Server) or Windows 2003 server operating system, wont be able to use more than 4GB RAM event though more RAM modules have been installed. To enable

In 32-bit Windows operating system, there is one method to access memory above 4 GB and this method has been widely implemented which called Physical Address Extension (PAE). PAE is the added ability of the IA32 processor to address more than 4 GB of physical memory. The following operating systems can use PAE to take advantage of physical memory beyond 4 GB:

Microsoft supports Physical Address Extension (PAE) memory in Microsoft Windows 2000, Windows XP, and Windows Server 2003 products:

Operating systemMaximum memory support with PAE
Windows 2000 Advanced Server8 GB of physical RAM
Windows 2000 Datacenter Server32 GB of physical RAM
Windows XP (all versions)4 GB of physical RAM*
Windows Server 2003 (and SP1), Standard Edition4 GB of physical RAM*
Windows Server 2003, Enterprise Edition32 GB of physical RAM
Windows Server 2003, Datacenter Edition64 GB of physical RAM
Windows Server 2003 SP1, Enterprise Edition64 GB of physical RAM
Windows Server 2003 SP1, Datacenter Edition128 GB of physical RAM

To enable PAE in Windows Server 2003 and Windows 2000 (and Windows XP), append the /PAE switch to the end of the line of operating system in the Boot.ini file. To disable PAE, use the /NOPAE switch. The Boot.ini normally located in the root folder (i.e. C:\) with Read-Only and Hidden attributes, which are required to be removed before the file can be edited.

For example,

Original Boot.ini:

    [boot loader]
    timeout=0
    default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINNT=”Microsoft Windows 2000 Advanced Server”
    /fastdetect
    

Change the Boot.ini to become:

    [boot loader]
    timeout=0
    default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(1)\WINNT=”Microsoft Windows 2000 Advanced Server”
    /fastdetect /PAE
    

Resources
1. http://support.microsoft.com/kb/283037
2. http://problemandsolutions.blogspot.com

How to Fix “Repository moved permanently to… please relocate” Error In Subversion

This article assume that you are using the subversion server to control your development source code. For beginner, i believed most of you has facing this error when you try to check in or connect to your subversion repository server.

Error and symptoms : Repository moved permanently; please relocate.

Findings and Mistakes :
1. Apache DocumentRoot cannot same with the SVNPath or SVNParent. Don’t Do this!
2. SVNPath or SVNParent does not overlap Apache Documentroot. Don’t Do this!

Solutions :
1. Apache Documentroot and SVNPath or SVNParent must be in the different physical path or directory, so that it does not match the url.
2. Change the Apache configuration as below :

    <VirtualHost *:80>
    DocumentRoot /var/www/html
    ServerName svn.local
    ErrorLog logs/svn.local-error_log
    CustomLog logs/svn.local-access_log common
    </VirtualHost>
    

3. Change the SVNPath or SVNParent as below :

    <Location /svn/repos>
    DAV svn
    SVNParentPath /svn/repos
    ...
    ...
    </Location>
    

Referances :
http://subversion.apache.org
http://serverfault.com

How to Enable ssh Access for a Privileged User in VMware ESXi 4.1

On the previous post, i have teach you on how to create the additional user on VMware ESXi 4.1 host. That new user will successfully connect to ESXi host using vSphere client but will failed when you try to connect using ssh access. This error message will be prompted:

    Access Denied
    

Example:

    Login as: demoroot
    demoroot@ESXi4.1host's password:
    Access denied
    

To resolve this issue, follow below steps:

1. Connect the ESXi 4.1 host via Tech Support mode (local or remote SSH) as the root user.
2. Issue the following commands:

usermod -s /bin/ash <username>
mkdir -p /home/<username>
chown <username> /home/<username>

Example:

    ~ # usermod -s /bin/ash demoroot
    ~ # mkdir -p /home/demoroot
    ~ # chown demoroot /home/demoroot
    

Reference

How to Resolve Number of Virtual Devices Exceeds the Maximum for a Given Controller

I believed most of system administrator and vmware administrator experiencing these issues when cloning a virtual machine on ESXi vCenter server.

Symptoms
Cloning process fails at approximately 90% with error message:

    Number of virtual devices exceeds the maximum for a given controller
    

Solutions:
1. Make sure there are no CDs or ISOs mounted to the VM
2. Make sure that the source machine has been Power off before the clone to get a clean copy.
3. Clone the virtual machine again, without selecting the Edit Virtual hardware (Experimental)option.
4. Finish

References:
1. www.extropy.com
2. kb.vmware.com

How to Remove an VMware ESX/ESXi Host From vCenter Server

I will guide you the simple steps on how to remove esx/esxi host from vcenter server. This guide assume that you already have the vCenter server to manage esx/esxi hosts.

Steps:
1. Go to Esxi Host that you want to remove from vcenter
2. Right click and click remove
3. You will be warn before you remove the host
4. Click yes
5. Finish

How to Add ESX/ESXi Host Into vCenter Server

There are the simple steps to add new host into existing vCenter server. Follow these steps to proceed:

1. Login to vCenter server
2. Right click TestDataCenter
3. Then click Add host and ‘Add Host Wizard’ will appear
4. On Add Host Wizard fill in the following info:

  • Enter Host or ip address of the host to add to vCenter.
  • on Authorization, enter the administrative account information for the host such as username and password.

5. Click Next and the proceed to complete the wizard.

How to Add Separate Nav Menu for Categories in Thesis Theme

I would like to share with you guys on how to add separate nav menu for categories in Thesis theme on WordPress blog. It is very easy. This tutorial assume that you jave installed Thesis 1.8 for for wordpress theme on you blog.

Steps :
1. Login to your wordpress dashboard and Click thesis 1.8 theme.
2. Click Custom file Editor and select custom_functions.php, then click edit selected file.
3. Place this code in custom_functions.php:

    function cat_nav() { ?>
        <ul id="cat_tabs" class="menu">
            <?php wp_list_categories('title_li='); ?>
        </ul>
    <?php }
    
    add_action('thesis_hook_after_header','cat_nav');
    

4. Then, place this code in custom.css:

    ul#cat_tabs li { float: right; }
    

5. (Optional) If you want to position the category Nav Menu to right instead of left, use the same code in custom_functions.php as above, but modify wp_list_categories to reverse the sort order:

    <?php wp_list_categories('title_li=&order=DESC'); ?>
    

How to Reset User’s password on CentOS/RHEL

There are the simple steps to reset the user’s password in CentOS or RHEL server. Root password is super user which can reset any user’s password in the server. Meanwhile, the other users, for example demoroot, only can reset it’s own password as per below command :

1. Root user can reset any user’s password :

    [root@server ~]# passwd demoroot
    Changing password for user demoroot.
    New UNIX password:
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully.
    

2. Normal user only can reset it’s own password :

    [demoroot@server ~]$ passwd
    Changing password for user demoroot.
    Changing password for demoroot
    (current) UNIX password:
    New UNIX password:
    Retype new UNIX password:
    passwd: all authentication tokens updated successfully.
    

How to Install Webmin 1.550 Using TAR File

In this post i will guide you on how to install Webmin 1.550 using tar file. This post assume that the CentOS 5.5 has been installed. Please follow below steps to install the Webmin using tar file that downloaded from webmin website.

1. Download and extract the tar file.

    [root@server ~]# cd /tmp
    [root@server tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.550.tar.gz
    [root@server tmp]# tar xzf webmin-1.550.tar.gz
    [root@server tmp]# cd webmin-1.550
    

2. Run ./setup.sh to install the webmin.

    [root@server webmin-1.550]# ./setup.sh
    ***********************************************************************
    *            Welcome to the Webmin setup script, version 1.550        *
    ***********************************************************************
    Webmin is a web-based interface that allows Unix-like operating
    systems and common Unix services to be easily administered.
    
    Installing Webmin in /tmp/webmin-1.550 ...
    
    ***********************************************************************
    Webmin uses separate directories for configuration files and log files.
    Unless you want to run multiple versions of Webmin at the same time
    you can just accept the defaults.
    
    Config file directory [/etc/webmin]:
    Log file directory [/var/webmin]:
    
    ***********************************************************************
    Webmin is written entirely in Perl. Please enter the full path to the
    Perl 5 interpreter on your system.
    
    Full path to perl (default /usr/bin/perl):
    
    Testing Perl ...
    Perl seems to be installed ok
    
    ***********************************************************************
    Operating system name:    CentOS Linux
    Operating system version: 5.5
    
    ***********************************************************************
    Webmin uses its own password protected web server to provide access
    to the administration programs. The setup script needs to know :
     - What port to run the web server on. There must not be another
       web server already using this port.
     - The login name required to access the web server.
     - The password required to access the web server.
     - If the webserver should use SSL (if your system supports it).
     - Whether to start webmin at boot time.
    
    Web server port (default 10000):
    Login name (default admin):
    Login password:
    Password again:
    Use SSL (y/n): y
    Start Webmin at boot time (y/n): y
    ***********************************************************************
    Creating web server config files..
    ..done
    
    Creating access control file..
    ..done
    
    Inserting path to perl into scripts..
    ..done
    
    Creating start and stop scripts..
    ..done
    
    Copying config files..
    ..done
    
    Configuring Webmin to start at boot time..
    Created init script /etc/rc.d/init.d/webmin
    ..done
    
    Creating uninstall script /etc/webmin/uninstall.sh ..
    ..done
    
    Changing ownership and permissions ..
    ..done
    
    Running postinstall scripts ..
    ..done
    
    Enabling background status collection ..
    ..done
    
    Attempting to start Webmin mini web server..
    Starting Webmin server in /tmp/webmin-1.550
    Pre-loaded WebminCore
    ..done
    
    ***********************************************************************
    Webmin has been installed and started successfully. Use your web
    browser to go to
    
      https://server.intranet.local:10000/
    
    and login with the name and password you entered previously.
    
    Because Webmin uses SSL for encryption only, the certificate
    it uses is not signed by one of the recognized CAs such as
    Verisign. When you first connect to the Webmin server, your
    browser will ask you if you want to accept the certificate
    presented, as it does not recognize the CA. Say yes.
    
    

How to Create Bootable USB Drive for CentOS/RHEL ISO Image

In this post, i will guide you on how to create the bootable USB drive for CentOS/RHEL. This will useful when a computers do not have optical drives (CD/DVD). There are several way to create bootable USB for CentOS/RHEL installation disk. My favourite software for this purpose is ISO2USB. ISO2USB is a opensource software that enable us to create bootable USB drives easily with a few steps only. The current version can runs on Windows XP/Vista platform. You can test it on windows 7 as well.

1. Download the software here
2. After download just double click the iso2usb software.
3. Select Disk Image of ISO.
4. Select the correct USB drive letter.
5. Click OK