Thursday, July 8, 2010

how to install pg_admin3 on debian

you can install easy postgres Sql on debian
just go on terminal and search postgres version
by following command

#aptitude search pgadmin
And select version
then run follow command

# aptitude install pgadmin3

and press enter

How to install mysql on debian

if you want to install mysql on debian linux so following this step.

step 1. open terminal and run following command

first search mysql on terminal by command

#aptitude search mysql

and select following link

#mysql-admin
#mysql-client-5.0
#mysql-server-5.0
#mysql-query-browser

after select run this command

#aptitude install
mysql-admin mysql-client-5.0 mysql-server-5.0 mysql-query-browser

and press enter

How to find middle node of LinkedList without using extra memory in java

To find the middle node of a LinkedList without using extra memory in Java, you can use the "tortoise and hare" algorithm. This al...