AFAIK, some steps are not necessary, and while you install "screen", you never make use of it The server actually comes with a Shell script to launch the game with "screen".
** 2016-01-30 : You need to install Java 8. Support for Java 7 has ended last year. **
1. Install Oracle Java 8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer oracle-java8-set-default
2. Install dependencies
apt-get install screen python-software-properties mysql-server
3. Download dedicated server file here
4. Extract files (ex: /home/$USER/risingworld) and edit server.properties
NOTE : When using MySQL, use the root user by default. For more experienced users, create and configure your Rising World Server user accordingly.
5. Start server
cd ~/risingworld
./linux_startscript.sh start
If everything worked fine, running ./linux_startscript.sh status should display information about the server running normally.
6. For advanced users only, create an init script
Note : this script has not been tested, but should be a good ground for starting. Feedback appreciated!
# Provides: Rising World Server
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Short-Description: Start Rising World Dedicated Server
# Description: This file should be saved as /etc/init.d/risingworld
# Author: LordFoobar <lordfoobar@mind2soft.com>
# Set the user running the server (other than root)
DESC="Rising World Game Server"
NAME=linux_startscript.sh
DAEMON=/home/$USER/risingworld/$NAME
SCRIPTNAME=/etc/init.d/risingworld
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# Load the VERBOSE setting and other rcS variables
# Define LSB log_* functions.
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
# and status_of_proc is working.
. /lib/lsb/init-functions
# Function that starts the server
return exec su -l $USER -c "$DEAMON start $DEAMON_ARGS"
# Function that stops the server
return exec su -l $USER -c "$DEAMON stop"
# Function that restarts the server
exec su -l $USER -c "$DEAMON restart"
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC"
0) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
*) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC"
*) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
[ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC"
0) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
*) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
echo "Usage: $SCRIPTNAME {start|stop|status|restart}" >&2
Display More