How To Install SmartFoxServer2X


SFS2X is a truly multi-platform solution supporting all major operating systems capable of running the Sun/Oracle Java Virtual Machine (JVM). This includes Windows (all versions), Linux, Mac OSX (10.5+) and other Unix variants.

In windows

All client and server versions of Windows are supported starting from Windows 2000 up to the latest one, including both 32 and 64 bit editions.

  • Download Windows Installer from this link.
  • Better install other than OS drivers, due to it need to have the access permissions for writing log files, if the user doesn’t admin rights it will be a problem.
  • We can install it in two modes
  • i. As a service.
  • As a standalone.

Better to install as a stand-alone (non service) mode. Because in some situations even after restarting the service the java process created by the SFS will be in running mode as of the modifications done for the code will not affect

Under Linux

  • Download the .tar.gz file based on the system type (32 bit or 64 bit) From this link..
  • Uncompress the downloaded .tar.gz file (SFS needs to write permission for logs folder for writing logs so place the extracted folder in a place where you have the permission).
  • We can start the SFS in either
  • i. Standalone-mode using sfs2x.sh file.
  • or
  • ii. As a service using sfs2x-service file/script.
  • The basic difference is standalone will logs the logs in terminal as well as log files, where as service mode will not show the terminal.
  • SFS provides a script named sfs2x-service with 4 actions as arguments
  • status (shows the current status)
  • start (starts the Server if it’s not started)
  • stop (stops the Started Server)
  • restart (restart the server)

Example Usage: SmartfoxFolder $./SFS2X/bin/sfs2x-service status.

Under Mac OS X

  • SFS will run on from Leopard (10.5).
  • Download the .dmg file from SFS download page. and follow the GUI based installation steps.
  • We can start the SFS in either
  • Standalone-mode using sfs2x.sh file.
  • or
  • As a service using sfs2x-service file/script.
  • The basic difference is
  • standalone will logs the logs in terminal as well as log files, where as service mode will not show the terminal.
  • SFS provides a script named sfs2x-service with 4 actions as arguments
  • status (shows the current status)
  • start (starts the Server if it’s not started)
  • stop (stops the Started Server)
  • restart (restart the server)
Copyright © 2018-2020 TutorialToUs. All rights reserved.