1. Unpack your distribution
file. (recommended install location /usr/local/bin/NowServer)
You
will have downloaded a file named flashNow.v1.4.tgz.
Untar this file with
a command like: tar xzvf
flashNow.v1.4.tgz
This
will create a NowServer directory. Change directories (cd) into this new directory.
Change the permission on the NSEnterprize-1.4 file to make it executable with
a command like: chmod
755 NSEnterprize-1.4
2. Configure your NowServer to meet your needs and server specifications:
Upon
starting, NowServer reads the NowServer.xml. If the file does not exist
a default version will be created when you run NowServer. Edit this file with
a basic text editor or XML editor to customize your server settings. For further
detail refer to the Documentation section
III configuration
3
Starting the now server
Start server with the following command: ./NSEnterprize-1.4
Text
similar to the following should appear:
20020117145957
: Enterprise Version
20020117145957 reading error messages file default.err
20020117145957
reading messages file default.msg
20020117145957 Starting NowServer 1.4 Enterprise
Edition on port 5525
3. SysV
startup script
There is an example startup script included in the tar
file "NowServerStartup".
If you have extracted the NSEnterprize-1.4 binary to a location other than the
suggested "/usr/local/bin/NowServer"
you will need to edit this startup script to point to the location where you store
the server binary.
NOTE:
the default configuration uses the CWD as the storage location for the config
and log files. If you start the server with this script the inital CWD will be
"/etc/rc.c/init.d" so
you will need to edit the configuration file to include the proper paths.
Also
note that in the example NowServerStartup file we pass the server the -c flag
with the full path to the configuration file for this same reason.
It
is also recomeded that you set the piddir to /var/run/
This is where the shutdown script will normally look for it.
Now
copy the NowServerStartup file to your "/etc/rc.c/init.d"
directory and add it to your startup runlevels. (Use the "ntsysv"
configuration tool to easily add the script to your runlevels.)
Using
this script is optional. If you do not have root access or do not want to use
the SysV mechanism, you will probably not be able to use this script.