Monday, December 29, 2008

steps to Install bizgres on ubuntu 8.04

1.Get the bizgres and make it executable as below

chmod 700 bizgres-0_9_GA-RHEL3.bin

2. Before execute follow the below steps to create symbolic links and other settings
And make sure JAVA_HOME env is set .

[export JAVA_HOME=/opt/jdk1.6.0_01
export PATH=$JAVA_HOME/bin:$PATH

sed -i "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" "bizgres- 0_9_GA-RHEL3.bin"

and to system changes to take effect run $ sudo ldconfig

[error when system changes does not take effect -
exec: 2473: /tmp/install.dir.14720/Linux/resource/jre/bin/java: not found
ln -s /usr/lib/ /usr/lib/

3.since libtermcap is obsolete install libncurses and make the symbolic
aptitide install libncurses5-dev

4.Create user bgadim , And then create the data folder as below and change the owner ship to bgadmin

mkdir /opt/BIZDATA

chown -R bgadmin:bgadmin /opt/BIZDATA

5. On bgamin .bashrc add add the following line

source /usr/local/bizgres-0_9_GA/

6.Then install following lib files and make the sym links

sudo ln -s /usr/lib/ /usr/lib/

sudo ln -s /usr/lib/ /usr/lib/

your done...
before start the server edit
/opt/BIZDATA/pg_hba.conf to set access permissions as necessary.

start the server
pg_ctl -D /opt/BIZDATA -l logfile start

No comments: