Hello world!

Welcome to WordPress.com! This is your very first post. Click the Edit link to modify or delete it, or start a new post. If you like, use this post to tell readers why you started this blog and what you plan to do with it.

Happy blogging!


How to enable Tomcat on Solaris 10

Tomcat and Java is installed on Solaris by default.
We need not to install it. We just need to set few environment variable and then start the service for the tomcat.
Please find the steps to enable the tomcat on Solaris OS :
1. setenv CATALINA_BASE /var/apache/tomcat
2. setenv JAVA_HOME /usr/java
3. cd /var/apache/tomcat/conf
4. cp server.xml-example server.xml
5. cd /usr/apache/tomcat
6. ./bin/startup.sh
Note: setenv command is available only in csh shell. So, change the shell before executing these commands.
You need to execute these commands from the console under root directory.
You need to login as root user account to execute the tomcat server.
You can verify it by running http://localhost:8080

How to enable administrator account on Windows XP

In every installation of Windows XP, there is a built-in and defaut administrator user account named Administrator, which is equivalent to super user or root in Unix system. However, if you have set up another user account in Windows XP, the Administrator account will be hidden, cloaked and invisible in User Accounts or Computer Management.
To see the Administrator account, you have to boot the Windows in Safe Mode. However, you can modify the Windows’s registry so that the Administrator account will be shown at Windows XP’s Welcome screen for you to select, in the Control Panel’s User Accounts and in the local user lists in Computer Management.
  • Click on the Start Button.
  • Windows XP users click on Run.
  • Type “regedit” (without quotes) in the open field and press enter.
  • Navigate to HKEY_LOCAL_MACHINE\ Software\ Microsoft\ WindowsNT\ CurrentVersion\ Winlogon\ SpecialAccounts\ Userlist .
  • Right Click in the Work Area and create a new DWORD entry.
  • Name it as Administrator and change its value to 1.
  • Exit Registry Editor and Reboot/ Restart your computer to apply the changes.
Note: To launch User Accounts in Control Panel, you can go to Control Panel -> User Accounts, or click Start -> Run, and then type Control userpasswords and press Enter.
Once you unhide and reveal the Administrator account, you can change its picture or assign it a password or change the password. In addition, on the next boot to the Welcome screen, the Administrator account will be visible, along with all of the computer’s other user accounts.

How to Install PHP on IIS

Installation of PHP on IIS includes following steps. This blog provides configuration about IIS 6 shipped with Window XP Service Pack 3.
  •  Download latest version of PHP from http://www.php.net/downloads.php. Note you should download installer version not the zip version. Installer version automatically performs all necessary configurations. If we use zip version, Environmental variables must be modified manually
  •  Run the setup and choose installation directory for example C:\PHP
  •  On next screen choose your version of web server, here choose IIS ISAPI and click next.
  •  On next screen in the extension portion choose extensions to be installed on local hard drive and click Install. You may add and remove extension later.
To test your PHP installation,
Now open your favorite text editor and type following :
$str = “I am PHP”;
Echo $str;
Save this file as “test.php” in C:\Inetpub\wwwroot (assuming windows installation directory is C:) . Now open browser and type :
If page show PHP message, it means your installation is successful.
Remember PHP installer has added path of C:\php in “PATH” Environmental variable and has also added .PHP extension in IIS configuration.