Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2004, 11:16 PM   #1
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Rep: Reputation: 15
Apache+Postgresql+PHP. reconfigure?

hello there to all again. im here again ask for help.
i already have installed apache + postgresQL and php into my notebook.
heres my prob. i have set my dir data to /usr/local/pgsql/data by doing tlike this:
editing my /home/postgres.bashrc and appended the following lines

and issue the command:
/usr/local/pgsql/bin/postmaster -D /home/potgres/data

now i want them(dir data file) to trasfer to '/var/pgsql/data'. i dont know how to do it. can any one show me how to do it step-by-step and nicely?
pls help..
Old 08-23-2004, 01:31 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I'm not a PosgreSQL whiz (just started playing with it), but you ought to be able to just move the data directory and change the -D argument to postmaster to reflect the location of the new data directory.
Old 08-23-2004, 03:58 AM   #3
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
u mean like this:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux + Apache + PHP + ??MySQL/PostgreSQL?? Thakowbbery Linux - Enterprise 4 10-28-2005 04:18 PM
Apache,PHP and PostgreSQL in a package Boby Linux - Software 1 03-29-2005 07:21 PM
Apache-php-postgresql-phppgadmin koswo Linux - Software 0 02-05-2004 07:05 AM
how to link apache+php+postgresql Sridhar Guntur Linux - General 3 01-09-2003 02:22 AM
PHP, Apache reconfigure to support Databases aaronsols Programming 0 04-20-2002 03:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration