Tag: Linux



7 May 10

To install latest version of postgresql we first we need to add pgdg repository to list of repositories open terminal and fire following commands, you need to be root.

wget http://yum.pgsqlrpms.org/reporpms/8.4/pgdg-redhat-8.4-1.noarch.rpm
rpm -Uhv pgdg-redhat-8.4-1.noarch.rpm

Once repository is installed properly use yum to install postgresql as shown below

yum install postgresql
yum install postgresql-server

You can do above in a single line choice is yours.

Initialize the database

initdb -D /usr/local/pgsql/data

Start the database server

pg_ctl start -D /usr/local/pgsql/data

Voila your database server is setup and ready to use.

 


Filed under: OpenSource,Programming

Trackback Uri






4 Sep 09

Eclipse latest version is Galileo and its not available from ubuntu archive I just finished installing it on my machine i thought I will share instructions with my readers.
So here we have a step by step instruction to install Eclipse Galileo (3.5) on Ubuntu mine is Hardy

Lets start with creating a directory where we want to install

mkdir /bin/ide

cd  /bin/ide

you can manually download the installable from one of the available mirrors or you can use wget for same I prefer using wget

wget http://d2u376ub0heus3.cloudfront.net/galileo/eclipse-java-galileo-linux-gtk.tar.gz

than we need to unzip the contents of the zip file and we are almost done

tar xzvf eclipse-java-galileo-linux-gtk .tar.gz

You can set the eclipse executable to your path

PATH=$PATH:/bin/ide/eclipse

This is not the best way to do it but still does the job alternatively you can create a simple shell file and keep it in bin directory whcih just calls eclipse and you are good to go.


Filed under: Linux,OpenSource

Trackback Uri