IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2005, 4:43:11 PM (21 years ago)
Author:
jhoblitt
Message:

merge apache_setup.txt into setup.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/docs/setup.txt

    r4440 r4801  
     1- Create a UNIX group for Nebulous
    12
    2 - building and install the Perl modules (see: README)
     3# groupadd nebulous
     4
     5- Add the users that you want to be able to access Nebulous to that group
     6
     7# usermod -G nebulous foouser
     8
     9- build and install the Nebulous Perl modules (see: README)
    310
    411- create and initialize the database (see: docs/database_setup.txt)
    512
     13- Install Apache with mod_perl
     14
     15- mod_perl-1.29 install
     16perl Makefile.PL USE_APXS=1 INSTALLDIRS=vendor WITH_APXS=/usr/sbin/apxs EVERYTHING=1 PERL_DEBUG=1
     17
     18#MP_TRACE = 1 MP_DEBUG = 1 MP_USE_DSO = 1 MP_INST_APACHE2 = 1 MP_APXS = /usr/sbin/apxs2
     19
     20- add the "nebulous" group to /etc/group
     21- configure Apache to run as the nebulous group.
     22
     23install Apache2 >= 2.0.54 and mod_perl >= 2.0.0
     24
     25Apache::DBI >= '0.97' is required for connect_on_init() to work under mod_perl
     26>= 2.0.1
     27
     28# out of date from here down...
     29
     30#
     31# CGI interface
     32#
     33
     34ScriptAlias /nebulous /usr/local/apache/perl/imageserver.pl
     35
     36<Directory "/usr/local/apache/perl">
     37        AllowOverride None
     38        Options None
     39        Order allow,deny
     40        Allow from all
     41</Directory>
     42
     43PerlModule Apache::PerlRun
     44<Location /perl>
     45        SetHandler perl-script
     46        PerlHandler Apache::PerlRun
     47        Options ExecCGI
     48        allow from all
     49        PerlSendHeader On
     50</Location>
     51
     52#
     53# Nebulous::Apache interface
     54#
     55
     56PerlModule Apache::DBI
     57PerlModule Nebulous::Apache
     58
     59<Location /nebulous>
     60        SetHandler perl-script
     61        PerlHandler Nebulous::Apache
     62</Location>
     63
    664- setup the server
    765
    8 As a CGI, work with either Apache 1.3.x or 2.0.x
     66As a CGI, will with either Apache 1.3.x or 2.0.x
    967
    1068cp scripts/imagesever.pl /var/www/localhost/cgi-bin
Note: See TracChangeset for help on using the changeset viewer.