SFS2X Docs / GettingStarted / install-unix
» Installing under Unix
You can download the Linux .tar.gz distribution and use it under any other Unix derivative (Solaris, FreeBSD, etc) provided that you have installed an Oracle/OpenJDK version 7 or higher.
To install and run SFS2X follow the simple steps below:
- move to the directory where the installer is located
- uncompress with: tar xf {name-of-installer}
- move to the server folder and run the server with the sfs2x.sh script
For example:
$ cd /home/fozzie $ tar xf SFS2X_unix_2_12_0.tar.gz $ cd SmartFoxServer_2X/SFS2X/ $ ./sfs2x.sh
» Uninstalling SmartFoxServer 2X
In order to completely remove SFS2X from your system proceed as follows:
- stop the server if it's running
- remove the entire installation folder via GUI (drag and drop in the Trash Bin) or via terminal, like this: rm -rf {sfs-install-dir}
Please notice that this operation is not reversible and all server settings will be lost.