|
Installing ElectroServer on a Unix server using tar.gz is a straight-forward process. You will need to install the latest release of the 1.6 Java Virtual Machine for your platform before you can start the server. Go to http://java.sun.com for details on this.
If you install the VM and the server won't start, you will need to define the environment variable "INSTALL4J_JAVA_HOME" to point to your VM installation folder.
| 1. | To install ElectroServer 4, download ElectroServer 4 and save it to a known location on your hard drive.
|
| 2. | Pull up a command-prompt on your server.
You can do this with telnet, SSH, or any number of other techniques.
|
| 3. | Navigate to the folder where you saved the tar.gz file.
|
| 4. | Run the following command, replacing <file name> with the actual name of the file you downloaded:
gunzip <file name>
This will unzip the file and remove the ".gz" extension as it's no longer "gzipped". |
| 5. | Run the following command, replacing <file name> with the actual name of the file without the ".gz":
tar xvf <file name>
This will extract the server into a sub-directory of your current working directory named "ElectroServer_<version>". To start the server, you simply need to execute "./ElectroServer" for Standalone mode, or "./Registry" for Registry mode and "./Gateway" for Gateway mode from within the folder.
To prevent the server from stopping when you close the console, you need to use the nohup command. It would look like this in that case:
nohup ./ElectroServer & |
|