.
|
unity 3d ...chats...smartfox
After many tryings we will have soon unity 3d worlds on mixed3d
» Installing on Linux Since version 1.5 SmartFoxServer
comes with
its own x86 32-bit Sun Java Runtime.
Installing
SmartFoxServer as a Linux daemon: http://www.smartfoxserver.com/forums/viewtopic.php?t=1133&sid=db9bb4147a75d17d101dc2bd39ff9859 _________________________________________________________________________ |
Vrml........................... |
______________________________________________________________________ |
Sommaire................ |
______________________________________________________________________ |
unity
3d . ...chats............SFS2X_linux32_2_0_0RC1b.tar.gz
» Installing under LinuxWe provide two separate .tar.gz archives for 32 and 64 bit systems that allow you to deploy SFS2X under any Linux distributions. In order to install the server, make sure to choose the correct installer (32bit or 64bit), then open a terminal window and follow these steps:
Example: $ cd /home/fozzie » Running SmartFoxServer 2XYou can run SFS2X as a service using the sfs2x-service script. It provides the following switches:
In order to start
SmartFoxServer, move to the installation
folder and start the server with: ./sfs2x-service
start $ cd /home/fozzie/SFS2X-RC1/SFS2X/ If any startup problem should occur, you can check the log files under {sfs-install-dir}/logs and {sfs-install-dir}/logs/boot. In alternative you can execute the sfs2x script to run the server in standalone mode and see the logs directly in the terminal (useful for development). For example: $ cd /home/fozzie/SFS2X-RC1/SFS2X/ » Uninstalling SmartFoxServer 2XIn order to completely remove SFS2X from your system proceed as follows:
Please notice that this operation is not reversible and all server settings will be lost. » Configuring the OS file descriptors limitUnder Linux file descriptors are used to abstract not only open files but also socket connections. If your SFS2X application receives a lot of traffic it might start complaining with a "Too many open files" error. By default most Linux distributions are set to a maximum of 1024 file descriptors: each time you open a file or a socket connection you use one of these descriptors and when you reach the maximum you get the error mentioned above. You can check the value currently set in your system by typing this command in a terminal window: ulimit -n The value returned by the command is the current limit of your OS for all open files and open socket connections. In order to raise this value you can use the same command followed by a new value, for example: ulimit -n 20000 » Using port numbers <= 1024Under Linux and Unix running the server on port numbers less than or equal to 1024 requires root privileges. » Installing SmartFoxServer 2X as a daemonIn order to install SFS2X
as a daemon you will need root
priviliges. For example, supposing you have root privileges and your runlevel is 5 (multiuser mode + GUI): $ cd /etc/rc5.d _________________________________________________________________________ |
Vrml........................... |
______________________________________________________________________ |
Contents.................... |
_______________________________________________________________________ |