Friday, September 25, 2009

Where to download 64-bit jdk

After quite sometime figuring out where to download a 64-bit jdk, i found this download page. And I wouldn't like to undergo that same fate again.

Wednesday, September 9, 2009

Installing Postgres in Fedora Core 10 and Setting of default password

Lately, I was trying to install a new postgresql server in my FC10 box. I thought it was as easy as 1,2,3 but I discovered it needed some technical knowledge to install postgresql server.

After reading few blogs and my personal google docs, I came up with the following procedure.

Installing postgresql server
- Go to System -> Add/Remove Software
- Search for postgresql
- install postgresql-server and postgresql client files
- after installation, you have to initialize your database
- open terminal
- su root
- su postgres
- cd ~
- initdb data
- then start postgresql server with pg_ctl -D data -l logfile start

Setting default password for user postgres
- without exiting the terminal or su postgres, type
psql -c "ALTER USER postgres WITH PASSWORD 'password'" -d template1

that's it for now....

Tuesday, September 1, 2009

Changing Drive letter of your CDROM/DVD RW in Windows Vista

If you are using windows vista (or other windows version i think), and would like to change the letter of your drive, you can try the following:

Go to Control Panel -> Administrative Tools -> Computer Management

Click on Disk Management
Right Click on your CD/DVD Drive

Select Change Drive Letter and Paths
Select the Drive
Then Click Change
Assign a drive letter and then click ok.