Thread: a few questions

a few questions

From
William Grigg
Date:
Gentlemen,

I am hoping to be able to use GForge on my windows PC. To that end I have installed:
    1. cygwin
    2. reinstalled cygwin and selected cygipc, postgreSQL and a few other things
    3. PHP
    4 Apache
    5. downloaded and installed the GForge3 directory tree

I am listing the above just in case someone out there thinks I should uninstall some stuff. In any event, this is a
learningprocess for me, and I am still learning. One thing I think I have learned, is that with the correct
installationoptions selected, I could have just done the Internet cygwin install, and not have bothered with separately
installingApache and PHP. Recently, someone very kindly pointed me to
http://www.tishler.net/jason/software/postgresql/postgresql-7.3.2.READMEwhich I am currently trying to follow. My plan
isto reinstall cygwin, but making sure that I include all of the packages mentioned in the README. Here are some things
thatare a little unclear right now: 
    1. Should I do the basic install, or the NT services? I will assume NT services unless someone says otherwise.
    2. Are the commands shown in the README meant to be executed from the cygwin bash shell window? I assume so.
    3. Assuming that I install the NT services version, what will I see running under Windows Task Manager - Processes?
Iassume there will be something that appears there 
    4. I do not really need to compile and build postgreSQL to get it running do I? I hope not.

Any tips or suggestions would be greatly appreciated.

Bill


Re: a few questions

From
Jason Tishler
Date:
Bill,

On Tue, Jul 29, 2003 at 11:28:11AM -0400, William Grigg wrote:
> 2. reinstalled cygwin and selected cygipc, postgreSQL and
                                     ^^^^^^

Note you must use cygipc 1.14-1 from Chuck's site:

    http://www.neuro.gatech.edu/users/cwilson/cygutils/cygipc/index.html

cygipc 2.00 will *not* work with the current, official Cygwin PostgreSQL
package.

> Recently, someone very kindly pointed me to
> http://www.tishler.net/jason/software/postgresql/postgresql-7.3.2.README

You probably should use the latest version instead:

    http://www.tishler.net/jason/software/postgresql/postgresql-7.3.3.README

Although, the 7.3.3 README needs some updating for XP Home which I hope
to do for 7.3.4 shortly.

> 1. Should I do the basic install, or the NT services? I will assume NT
> services unless someone says otherwise.

If your platform supports NT services, then definitely use this
installation option.

> 2. Are the commands shown in the README meant to be executed from the
> cygwin bash shell window? I assume so.

Yes.

> 3. Assuming that I install the NT services version, what will I see
> running under Windows Task Manager - Processes? I assume there will be
> something that appears there

Under Cygwin you will see:

    $ ps -fupostgres
         UID     PID    PPID TTY     STIME COMMAND
    postgres     580       1   ?  09:27:35 /usr/bin/cygrunsrv
    postgres    2304     580   ?  09:27:36 /usr/bin/postgres
    postgres    1092    2304   ?  09:27:39 /usr/bin/postgres
    postgres     312    1092   ?  09:27:39 /usr/bin/postgres

Under Windows you will see:

    $ pslist
    [snip]
    Name         Pid Pri Thd  Hnd    Mem     User Time   Kernel Time   Elapsed Time
    [snip]
    cygrunsrv    580   8   4   59   1572   0:00:00.020   0:00:00.010    0:01:33.043
    postgres    1244   8   4  240   4188   0:00:00.060   0:00:00.100    0:01:32.893
    postgres    1092   8   5  140   3464   0:00:00.020   0:00:00.080    0:01:29.188
    postgres     312   8   3  131   3600   0:00:00.020   0:00:00.070    0:01:29.118

>     4. I do not really need to compile and build postgreSQL to get it running do I? I hope not.

Normally, you don't.  However, since you are using the combination of
Apache, PHP, and PostgreSQL, you *may* need to build one of the
interface modules.  Hopefully, someone else more knowledgeable in this
area will chime in...

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6