I'm absolutely beginner in linux. I tried to install postgresql 7.4.5 in Red Hat 9, and i followed step by step instruction in the documentation. I've managed to came until these line:
--------
[root src]# mkdir -p /usr/local/pgsql
[root src]# pw groupadd -n web
[root src]# pw useradd -n postgres -g web -d /usr/local/pgsql -s /bin/bash
[root src]# chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.5
[root src]# chmod -R 750 /usr/local/pgsql
--------
then the next steps should be these, in the documentation:
--------
Set up postgres's environment variables. They are necessary for the executable to find its supporting libraries. Put the following lines into the postgres user's environment.
[root src]# su - postgres
[postgres ~] emacs ~postgres/.bashrc
Paste this line into .bash_profile:
source $HOME/.bashrc
Paste these lines into .bashrc:
export PATH=/usr/local/bin/:$PATH:/usr/local/pgsql/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib
--------
but after i've type in su - postgres,
these what i got:
-bash-2.05b$
and when i tried to type the next commands in the instruction, don't work. What should I do next?