Postgresql 제발 형님들.. 답변 부탁드립니다 제발 부탁드립니다..

nivea1의 이미지

형님 안녕하세요..

정말 미칠것 같아서 도움받고자 글 올립니다..

저는 vm웨어로 페도라6를 설치하고

postgresql을 rpm으로 설치하였습니다.

그리고나서 메뉴얼에

/etc/init.d/postgresql start를 하라고 나왔는데요.

[실패]
[실패]

라고 나옵니다..

이거 어떻게 해야되는건가요..
도대체 머가 잘못된건지 정말 미칠것 같습니다.. ㅠㅠ

최피디의 이미지

http://www.postgresql.org/docs/8.1/interactive/tutorial-start.html
여기 나와 있는데로 그냥 합니다. :)

Quote:

#First I had to add the PostgreSQL administration commands to the PATH:
export PATH=$PATH:/usr/lib/postgresql/8.1/bin

#LOCAL_DB is the directory that will contain everything.
export LOCAL_DB=$PWD

#Setup the server
export PGDATA=$LOCAL_DB/data
initdb

#Start the server (no spaces in $LOCAL_DB !)
export PGHOST=$LOCAL_DB
pg_ctl -w -l server.log start -o "-c listen_addresses= -c unix_socket_directory=$LOCAL_DB"

#Create a database and an unprivileged user
createdb base
createuser -SDR client

#Run client commands
psql base client

중국에 살아요~

KT하이텔, 앱스 개발자