Warning: As of April 26, 2000, AOLserver has serious threading problems when run under Windows. We are making these installation instructions availble for those of you who like living on the bleeding edge. Currently there are two patches/workarounds you should implement:
select sysdate from dual;
To set the date format in Windows98 you will need to perform a little registry surgery as follows:
regedit
and navigate down the registry keys to HKEY_LOCAL_MACHINE\Software\ORACLE
.
HOME0
if you only have on einstallation of Oracle.
If you are an Oracle achiever and have more than one Oracle installation on your machine, you will see HOME0, HOME1, HOME2
, etc. Choose the subtree that corresponds to the Oracle installtion you wish to use with the ACS.
NLS_DATE_FORMAT
key is already present, double-click on its value and change it to 'YYYY-MM-DD' (without the quotes). If the key does not exist,
choose Edit->New->String Value
from the menu and type NLS_DATE_FORMAT
for the name of the new value to create it. Then double-click on the empty value to change it.
select sysdate from dual;
For more information on Oracle configuration look at http://www.photo.net/wtr/oracle-tips or search the Web/db Q&A Forum. One other note: the "nuke a user" admin page and Intermedia won't run unless you set open_cursors = 500
for your database.
Extract AOLserver onto the C drive and rename the folder from aolserver3_0-win32-i386
to aolserver3_0
as this will save typing in console windows. Test the stock AOLserver distribution by running install-service.bat
in c:\aolserver3_0\bin
and then take a look at http://localhost:8000
(the stock configuration file puts the web service at port 8000). You should get an introductory page with links to AOLserver documentation, some test scripts and interesting links on aolserver.com.
When you've verified the stock AOLserver installation, run remove-service.bat
in c:\aolserve3_0\bin
and reboot your machine. Copy the ArsDigita Oracle driver, ora8.dll
, to the directory with the AOLserver executable. If you followed our naming advice above, this should be c:\aolserver3_0\bin
. Reboot your machine.
c:\web
. For example, http://scorecard.org
would be rooted at c:\web\scorecard on one of our machines and if http://jobdirect.com
were on the same box then it would be at c:\web\jobdirect
.
For the sake of argument, we're going to assume that your service is called "yourdomain", is going to be at http://yourdomain.com
and is rooted at c:\web\yourdomain
in the Windows2000 file system. Note that you'll find our definitions files starting out with "yourdomain.com".
c:\temp\acs.tar.gz
c:\web\yourdomain
c:\web\yourdomain\www
contains the document root and c:\web\yourdomain\tcl
contains Tcl scripts that are loaded when the AOLserver starts up.
states
, country_codes
and counties
tables using the load-geo-tables
shell script in the c:\web\yourdomain\www\install directory. You will need to open a console window and run
zsh load-geo-tables foo/foopassword
You most likely will see a slew of "Commit point reached . . . " messages. This does not indicate a problem.
sqlplus foo/foopassword < load-data-model.sql
zsh load-site-wide-search foo foopassword ctxsys-password
Note that there's no slash between foo and foopassword here. The third argument, ctxsys-password, is the password for interMedia Text's special ctxsys user.
You will need two configuration files. The first is a Tcl file
with configuration information for AOLserver. This should be called yourdomain
and should be located in c:\aolserve3_0
. The second is an .ini file that configures the ACS and is discussed below. Note that pathnames in yourdomain
must use forward slashes rather than the Windows back slashes. This is also true for the .ini file.
The following items must be defined in yourdomain
:
c:\web\yourdomain\parameters
c:\web\yourdomain\www
c:\web\yourdomain\tcl
c:\web\yourdomain\parameters
and copy ad.ini
to yourdomain.ini
(or any other name different from ad.ini
). You don't actually have to delete ad.ini
.
Each section of yourdomain.ini
has a hardcoded "yourservername" in the name (e.g. [ns/server/yourservername/acs]
). This means that the ACS will ignore your configuration settings unless your AOLserver name happens to be "yourservername". Therefore you must go through yourdomain.ini
and change "yourservername" to whatever you're calling this particular AOLserver (look at the server name in the nsd
file for a reference).
Unless you want pages that advertise a community called "Yourdomain
Network" owned by "webmaster@yourdomain.com", you'll probably want to
edit the text of yourdomain.ini
to
change system-wide parameters. If you want to see how some of these
are used, a good place to look is c:\web\yourdomain\tcl\ad-defs
. The Tcl function, ad_parameter
, is used to grab parameter values from the .ini file.
c:\aolserver3_0
. Then run
bin\nsd -it yourdomain
If everything seems ok, you can kill the server with Control-c and then issue the following command to install as a Windows service:
bin\nsd -I -s yourdomain -t yourdomain
You can now configure error recovery and other Windows aspects of the service from the Services control panel. If you make further changes to yourdomain
or yourdomain.ini
you should stop and start the service from the Services control panel.
https://yourservername.com/admin/ug/
directory and add your personal user as a site-wide administrator. Now you're bootstrapped!
If you do not know what the system user's password is connect to Oracle using SQL Plus and run the following query:
select password from users where last_name = 'system';
https://yourservername/admin/users
. You should read the documentation for user registration and access control and decide what the appropriate user state is for anonymous on your site.
c:\web
.
lintcollectors.com
and iguanasdirect.com
. You would need the following:
lintcollectors
with a user lintcollectors
and password secretlint
iguanasdirect
with a user iguanasdirect
and password secretiguanas
c:\aolserver3_0
create files for each service, i.e. lintcollectors
and iguanasdirect
. These files would point to their respective pageroots, c:\web\lintcollectors\www
and c:\web\iguanasdirect\www
; their respective auxconfigdirs, c:\web\lintcollectors\parameters
and c:\web\iguanasdirect\parameters
; etc. In the respective auxconfigdirs would be the files lintcollectors.ini
and iguanasdirect.ini
.
Now open a console window and go to c:\aolserver3_0
. You'll start up the two services as follows:
bin\nsd -I -s lintcollectors -t lintcollectors
bin\nsd -I -s iguanasdirect -t iguanasdirect
In the services control panel you should see two services: AOLserver-lintcollectors
and AOLserver-iguanasdirect
.