Previous: Installing Oracle 8.1.6 | Installing AOLServer 3.0 | Next: Installing the ArsDigita Community System v 3.3 |
AOLServer is a fast, reliable, and scalable web server, and the server of choice for the ArsDigita Community System. For more information on AOLServer, you can read Philip Greenspun's introduction part 1 and part 2.
$ su - ; Enter ROOT password # groupadd nsadmin # groupadd web # mkdir /home/aol30 # useradd -g nsadmin -G dba,web -d /home/aol30 nsadmin # passwd nsadmin ; Set password # mkdir /web # chown nsadmin.web /home/aol30 # chown nsadmin.web /web # chmod 775 /home/aol30 # chmod 775 /web # exit {to logout}
export ORACLE_BASE=/ora8/m01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/8.1.6 export PATH=$PATH:$ORACLE_HOME/bin export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib export ORACLE_SID=ora8 export ORACLE_TERM=vt100 export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/dataBe absolutely certain that you have entered these lines correctly and that you have saved the file. A slight error in these lines can lead to many inscrutable error messages. Logout and log back in so these settings will take effect.
We recommend saving this archives in the /tmp directory.
$ cd /tmp {or wherever the archives are} $ tar -xzf aolserver3_0.tar.gz $ tar -xzf oracle-2.1.tar.gz
$ mv oracle aolserver3_0
This step should be completed as the nsadmin user. You will compile the AOLServer distribution and prepare for install.
$ su - nsadmin ; Enter nsadmin password $ cd /tmp/aolserver3_0 $ make all
$ cd /tmp/aolserver3_0/oracle $ export NS_HOME=/tmp/aolserver3_0 $ make allThe following compiler warning may be ignored:
ld: warning: type and size of dynamic symbol `sskgslgf' are not definedIf the compilation failed, make sure the environment variables above actually point to where you installed the AOLServer source code. If you followed our instructions, this should not be a problem. You can check the directories by doing
$ ls /tmp/aolserer3_0/includeIf you don't see any files, then you have the wrong directories. Verify your installation of Oracle and AOLServer and try again. If compilation was successful, you should now have two files, ora8.so and ora8cass.so.
You are now ready to install AOLServer.
$ cd /tmp/aolserver3_0 $ make install
$ cp oracle/ora8.so /tmp/aolserver/bin $ cp oracle/ora8cass.so /tmp/aolserver/bin
nsd
to nsd76
in /tmp/aolserver/bin
.
Change this to point to nsd8x
.
$ rm /tmp/aolserver/bin/nsd $ cd /tmp/aolserver/bin $ ln -s ./nsd8x ./nsd
$ cp -a /tmp/aolserver/* /home/aol30
Login as nsadmin. (it helps to be in X at this point) $ cd /home/aol30 $ ./bin/nsd -t nsd.tclYou should see a few normal warnings. They are safe to ignore. The first warning means that the server is missing files for running ssl, a necessary module for encrypted HTTPS. The second warning means that the AOLServer control panel, a special module for administering AOLServer could not be loaded. If you're interested in configuring either of these modules, please see the AOLServer documentation.
Warning: nsd.tcl: nsssl not loaded because key/cert files do not exist Warning: nsd.tcl: nscp not loaded because user/password is not set.
netscape
or
lynx
, and surfing over
to your web page.
$ lynx localhost:8000You should see a Welcome to AOLServer 3 page. If this doesn't work, try http://127.0.0.1:8000/.
$ killall nsdThe
killall
command will kill all processes with the name
nsd
. Clearly this is not a good tool to use for managing
your services in general. We cover that in the
ACS documentation.
That's it. On to the ArsDigita Community System!
If you can't view the welcome page, there is a problem with your server configuration. Start by viewing your AOLServer log, which is in /home/aol30/log/server.log. You should also try to find lines of the form:
[01/Jun/2000:12:11:20][5914.2051][-nssock-] Notice: nssock: listening on http://localhost.localdomain:8000 (127.0.0.1:8000) [01/Jun/2000:12:11:20][5914.2051][-nssock-] Notice: accepting connectionsIf you can find these lines, try entering the URL the server is listening on. If you cannot find these lines, there must be an error somewhere in the file. Scan for lines beginning with the word Error instead of Notice.
Variable | Value | Reason |
---|---|---|
AOLServer Username | nsadmin | AOLServer used to be NaviServer and this was the standard username for the server. |
AOLServer Directory | /home/aol30 | AOLServer 3.0 should be installed to its own home directory and it is simplest if this is the home directory of the nsadmin user and is version specific in case you upgrade your web browser. |
AOLServer Groups | nsadmin,web,dba | You should have a group for the server files, nsadmin, and a group for the web content, web. In order to connect to Oracle using svrmgrl, your user must be part of the dba group and this capability is needed to install the ACS. |
AOLServer Source Directory | /tmp/aolserver3_0 | This is simply a convenient place to uncompress the source. |
ORACLE_HOME | /ora8/m01/app/oracle/product/8.1.6 | This is the default Oracle installation directory. |
NS_HOME | /tmp/aolserver3_0 | This is where the source files are. |
Previous: Installing Oracle 8.1.6 | Installing AOLServer 3.0
part of the ACS Installation Guide | Next: Installing the ArsDigita Community System |