The following documentation explains how to install the Linux or UNIX server code, start the server daemon, and make a connection to a remote Linux or UNIX server.
Prerequisites
To use the Remote System Explorer communications server daemon you need to install Perl. Using the daemon helps eliminate some of the manual steps when you connect to the server.Also note that Java Development Kit (JDK) version 1.4 or higher is required.
Installing the server code
cd /opt/rseserver
jar -xf rseserver.jarAttention: The jar command is shipped with the JDK and might not be in your path. If you receive a "command not found" error when running the jar command then try to qualify the jar command with the installation directory for the JDK. For example: /opt/IBMJava2-131/bin/jar -xf rseserver.jar
dos2unix daemon.linux dos2unix server.linux chmod 755 server.linux chmod 755 daemon.linux chmod 755 auth.pl
Starting the server
java -version
java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1) Classic VM (build 1.4.1, J2RE 1.4.1 IBM build cxppc321411-20040301 (JIT enabled: jitc))
ln -s /opt/IBMJava2-131/jre/bin/java /usr/bin/java
su -l root cd /opt/rseserver perl ./daemon.linux
To start the Linux server manually
cd /opt/rseserver perl ./server.linux [port]These commands run the server.linux script located in the /opt/rseserver directory. If this does not work, try changing the permission attributes on server.linux (for example, enter chmod 755 server.linux. The port parameter to the server.linux script is optional. If you do not specify a port, then the server will pick the first one available and print the port number to standard out. By default, it is usually 4033. If you would like to use a different port, you will then have to enter this port number in port property for the Files subsystem for your connection in the Remote System Explorer (see Connecting to the Remote Server, below). Otherwise, you do not need to change this property.
To start the UNIX server manually
cd /opt/rseserver perl ./server.unix [port]These commands run the server.linux script located in the /opt/rseserver directory. If this does not work, try changing the permission attributes on server.unix (for example, enter chmod 755 server.unix. The port parameter to the server.unix script is optional. If you do not specify a port, then the server will pick the first one available and print the port number to standard out. By default, it is usually 4033. If you would like to use a different port, you will then have to enter this port number in port property for the Files subsystem for your connection in the Remote System Explorer (see Connecting to the Remote Server, below). Otherwise, you do not need to change this property.
Running the daemon at startup
cd /opt/rseserver perl ./daemon.linux &You can also add perl ./daemon.unix if you want to run the UNIX daemon at startup.
Connecting to the Remote Server
Related tasks Connecting to a remote Windows server