The following instructions assume that all components will be installed on the same server. We recommend that you follow these steps in the order shown to ensure a successful installation. If you encounter problems or need additional information about customizing your S-PLUS Enterprise Server installation:
S-PLUS Enterprise Server is supported on the following versions:
Minimum recommended system requirements:
The following steps explain how to install the S-PLUS Enterprise Server.
apache-tomcat-6.0.13.tar.gz using
gunzip and tar. Move the unpacked directory to the
desired installation location.
Install_SplusServer.bin on the S-PLUS Enterprise Server CD.
Append -i gui to your command line if you wish to install the
software using the InstallAnywhere graphical user interface.
Note 1: Any paths you specify to the installer must be absolute paths, not relative ones.
Note 2: Please note that the installation process may take a long time to finish, and the status indicator may not move for long periods during the installation. Please be patient.
LONG under Server Hostid Type.
lmhostid script in the FLEXnet directory
located in your S-PLUS Enterprise Server installation.
If your license manager server is located on a different machine than
your S-PLUS Enterprise Server, go to
TOMCAT_HOME/conf/Catalina/localhost (where TOMCAT_HOME is your
Tomcat installation directory) and edit the SplusServer.xml file,
setting the splus.flexnet.host property value to point to the
license manager server. By default, this value is set to
@localhost, where localhost is the S-PLUS
Enterprise Server machine. If you are not on the S-PLUS Enterprise Server
and want to access the license manager server, set the system environment
variable IFUL_LICENSE_FILE to the value @lmserver,
where lmserver is the name of the license manager
server.
The following information can be used to configure automatic startup of the S-PLUS Enterprise Server-related services when the server boots, and serves as a reference for starting and stopping the services manually.
Open a terminal session on the server and login as root.
Startup links:
Modify the value of X (typically 2, 3, 4, 5) and
SPSERVERHOME in the following lines, and copy the following
commands to the terminal session. Note: If the FLEXnet license manager is
installed on a different machine, do not run the third line (containing
flexlm).
X=3
SPSERVERHOME=/opt/IFUL/splusserver80
ln -s $SPSERVERHOME/init.d/flexlm /etc/rc$X.d/S96IFULflexlm
ln -s $SPSERVERHOME/init.d/tomcat /etc/rc$X.d/S97tomcat
Note that you must modify the tomcat file (in the last line
above) so that JAVA_HOME is the path of the JRE associated with
your Tomcat 6.0 installation.
Shutdown links:
Modify the value of X (typically 0, 1, 6) and
SPSERVERHOME in the following lines, and copy the following
commands to the terminal session. Note: If the FLEXnet license manager is
installed on a different machine, do not run the fourth line (containing
flexlm):
X=6
SPSERVERHOME=/opt/IFUL/splusserver80
ln -s $SPSERVERHOME/init.d/tomcat /etc/rc$X.d/K02tomcat
ln -s $SPSERVERHOME/init.d/flexlm /etc/rc$X.d/K03IFULflexlm
Once the Startup and Shutdown links have been established, you can use them to start and stop the services manually.
Start services manually:
Modify the value of X (typically 2, 3, 4, 5) in the first line
and copy the following commands to the terminal session. Note: If the FLEXnet
license manager is installed on a different machine, do not run the second line
(containing IFULflexlm):
X=3
/etc/rc$X.d/S96IFULflexlm start
/etc/rc$X.d/S97tomcat start
Stop services manually:
Modify the value of X (typically 0, 1, 6) in the first line and
copy the following commands to the terminal session. Note: If the FLEXnet
license manager is installed on a different machine, do not run the third line
(containing IFULflexlm):
X=6
/etc/rc$X.d/K02tomcat stop
/etc/rc$X.d/K03IFULflexlm stop
Confirm your installation was completed by accessing one of the following URLs.
If you installed the Function Service:
http://localhost:8080/SplusServer/api/function/sqrt?x=64
If you installed the Expression Service (note that you will have to right-click and select View Source to view the result):
http://localhost:8080/SplusServer/api/expression/eval?cmd=6*6
Once you have confirmed your installation works correctly, you need to
configure the S-PLUS Enterprise Server by setting the properties in
TOMCAT_HOME/conf/Catalina/localhost/SplusServer.xml, where
TOMCAT_HOME is your Tomcat installation directory. How to set the
properties in SplusServer.xml, schedule jobs, install packages and
modules, and other details can be found in the S-PLUS Enterprise Server
Administration Guide, located at SPSERVERHOME/docs/admin.pdf,
where SPSERVERHOME is your S-PLUS Enterprise Server installation
directory.