IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

podify

File:
1 edited

Legend:

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

    r4802 r4804  
    1 - Create a UNIX group for Nebulous
     1=pod
    22
    3 # groupadd -g 877 nebulous
     3=head1 Installing a Nebulous Server
     4
     5=head2 Create a UNIX group for Nebulous
     6
     7    groupadd -g 877 nebulous
    48
    59This is a silly hack to generate a gid.
    610
    7 $ perl -le 'map { $gid += ord } split //, shift; print $gid' nebulous
     11    perl -le 'map { $gid += ord } split //, shift; print $gid' nebulous
    812
    9 - Add the users that you want to be able to access Nebulous to that group
     13=head2 Add the users that you want to be able to access Nebulous to that group
    1014
    11 # usermod -G nebulous foouser
     15    usermod -G nebulous foouser
    1216
    13 - build and install the Nebulous Perl modules (see: README)
     17=head2 Build and install the Nebulous Perl modules (see: README)
    1418
    15 - create and initialize the database (see: docs/database_setup.txt)
     19=head2 Create and initialize the database (see: docs/database_setup.txt)
    1620
    17 - Install Apache with mod_perl
     21=head2 Install Apache with mod_perl
    1822
    19 - mod_perl-1.29 install
    20 perl Makefile.PL USE_APXS=1 INSTALLDIRS=vendor WITH_APXS=/usr/sbin/apxs EVERYTHING=1 PERL_DEBUG=1
     23Nebulous will work with both Apache 1.3 & 2.x.
    2124
    22 #MP_TRACE = 1 MP_DEBUG = 1 MP_USE_DSO = 1 MP_INST_APACHE2 = 1 MP_APXS = /usr/sbin/apxs2
     25=head3 Apache 1.x
    2326
    24 - add the "nebulous" group to /etc/group
    25 - configure Apache to run as the nebulous group.
     27=item * building mod_perl-1.29 from source:
    2628
    27 install Apache2 >= 2.0.54 and mod_perl >= 2.0.0
     29    perl Makefile.PL USE_APXS=1 INSTALLDIRS=vendor WITH_APXS=/usr/sbin/apxs EVERYTHING=1 PERL_DEBUG=1
    2830
    29 Apache::DBI >= '0.97' is required for connect_on_init() to work under mod_perl
    30 >= 2.0.1
     31    #MP_TRACE = 1 MP_DEBUG = 1 MP_USE_DSO = 1 MP_INST_APACHE2 = 1 MP_APXS = /usr/sbin/apxs2
     32
     33=head3 Apache 2.x
     34
     35To use Nebulous with Apache2 you must have Apache2 >= 2.0.54 and mod_perl >=
     362.0.0
     37
     38Apache::DBI >= '0.97' is required for connect_on_init() to work under mod_perl >= 2.0.1
     39
     40=head3 Common Apache Setup
     41
     42=item * add the "nebulous" group to /etc/group
     43=item * configure Apache to run as the nebulous group.
     44
    3145
    3246# out of date from here down...
     
    7589chmod 1777 /tmp/imageserver.log
    7690
    77 - test the imageserver.pl is working
     91=head2 Testing the Nebulous Server
    7892
    79 telnet localhost 80
    80 Trying 127.0.0.1...
    81 Connected to localhost.
    82 Escape character is '^]'.
    83 GET /cgi-bin/imageserver.pl HTTP/1.0
     93You can test your configuration with the C<telnet> utility.
    8494
    85 HTTP/1.1 411 Length Required
    86 Date: Tue, 28 Sep 2004 21:15:58 GMT
    87 Server: Apache/2.0.49 (Gentoo/Linux)
    88 Content-Length: 0
    89 Connection: close
    90 Content-Type: text/plain; charset=ISO-8859-1
     95    telnet localhost 80
     96    Trying 127.0.0.1...
     97    Connected to localhost.
     98    Escape character is '^]'.
     99    GET /cgi-bin/imageserver.pl HTTP/1.0
    91100
    92 Connection closed by foreign host.
     101    HTTP/1.1 411 Length Required
     102    Date: Tue, 28 Sep 2004 21:15:58 GMT
     103    Server: Apache/2.0.49 (Gentoo/Linux)
     104    Content-Length: 0
     105    Connection: close
     106    Content-Type: text/plain; charset=ISO-8859-1
    93107
    94 - if you get an HTTP 5xx code check your apache error_log
     108    Connection closed by foreign host.
    95109
     110If you get an HTTP 5xx code check your apache error_log
    96111
    97 mkdir /po01/nebulous
    98 chown root:nebulous /po01/nebulous
    99 chmod 0770 /po01/nebulous
     112=head2 Directory Permissions
     113
     114    mkdir /po01/nebulous
     115    chown root:nebulous /po01/nebulous
     116    chmod 0770 /po01/nebulous
     117
     118=head2 MySQL Configuration
    100119
    101120in /etc/mysql/my.cnf
     
    104123max_connections = 200
    105124
     125=cut
Note: See TracChangeset for help on using the changeset viewer.