Changeset 4801 for trunk/Nebulous-Server/docs/setup.txt
- Timestamp:
- Aug 16, 2005, 4:43:11 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/docs/setup.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/docs/setup.txt
r4440 r4801 1 - Create a UNIX group for Nebulous 1 2 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) 3 10 4 11 - create and initialize the database (see: docs/database_setup.txt) 5 12 13 - Install Apache with mod_perl 14 15 - mod_perl-1.29 install 16 perl 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 23 install Apache2 >= 2.0.54 and mod_perl >= 2.0.0 24 25 Apache::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 34 ScriptAlias /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 43 PerlModule 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 56 PerlModule Apache::DBI 57 PerlModule Nebulous::Apache 58 59 <Location /nebulous> 60 SetHandler perl-script 61 PerlHandler Nebulous::Apache 62 </Location> 63 6 64 - setup the server 7 65 8 As a CGI, w orkwith either Apache 1.3.x or 2.0.x66 As a CGI, will with either Apache 1.3.x or 2.0.x 9 67 10 68 cp scripts/imagesever.pl /var/www/localhost/cgi-bin
Note:
See TracChangeset
for help on using the changeset viewer.
