how to install postgresql!!
| От | liutengjiao |
|---|---|
| Тема | how to install postgresql!! |
| Дата | |
| Msg-id | 20020527104310.24530.qmail@sina.com обсуждение |
| Ответы |
Re: how to install postgresql!!
|
| Список | pgsql-admin |
now I have install postgreSQL7.2.tar.gz,but can't run it
my step:
1 # ./confugure
2 # make
3 # make install (prompt succed!!)
4 #LD_LIBRARY_PATH=/usr/local/pgsql/lib
# export LD_LIBRARY_PATH
#/sbin/ldconfig /usr/local/pgsql/lib
# MANPATH=/usr/local/pgsql/man:$MANPATH
(above command according to the INSTALL file of postgresql7.2 all no problem)
5 #adduser postgres
6 #mkdir /usr/local/pgsql/data
#chown postgres /usr/local/pgsql/data
#su - postgres
7 $ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
prompt:success, you can now start the database server using:
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
8 $/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
error:FATAL 1:Can't read lock file /tmp/.s.PGSQL.5432.lock:Permission denied
why?????????
can you help me? I can't input chinese in linux
please answer in chinese
3x!!
______________________________________
===================================================================
�������ѵ������� (http://mail.sina.com.cn)
���˷�����Ϣ�������г���һ�ߣ��ó���ʱ�ͳ��֣� (http://classad.sina.com.cn/2shou/)
В списке pgsql-admin по дате отправления: