InstallingStendhal

From Arianne
Jump to: navigation, search


This is a generic guide. You may prefer a specific installation guide for Windows or Linux

Contents

Download Stendhal server

The server files are available as a .zip.

Configure server

From where you extracted the files to, type command:

java -cp stendhal-server-1.00.jar games.stendhal.server.core.engine.GenerateINI

For easy H2 database configuration just hit enter to accept each default and skip straight to Start the server.

For MySQL configuration (advanced):


Install MySQL (optional)

You only need to do this if you chose the advanced MySQL option, not H2 Download the appropriate MySQL install package from http://dev.mysql.com/downloads/

Also download the java connector library from the same place (it's called "MySQL Connector/J" ), unzip it, and make sure it is on the classpath when running maraurorad later. You can save this download if you get compiled version of Marauroa.

Start MySQL (optional)

You only need to do this if you chose the advanced MySQL option, not H2 Refer to the MySQL installation documentation for details.

If you used the noinstall package, you can run bin/mysqld.exe.

Make sure to edit the configuration files to disallow external access if you are just going to use it for local testing, or simply use a firewall to block external access to the database.

Configure MySQL (optional)

Read at Marauroa configuration how to create a database which matches the options given in the configuration file server.ini which you made above. The mysql command is:

create database marauroa;
grant all on marauroa.* to 'FOO'@'localhost' identified by 'BAR';

Start the server

Now start marauroa server by running runserver.bat, or runserver.sh, or

java -jar stendhal-server-1.00.jar

See also





Back to stendhal main wiki page

Personal tools
Namespaces
Variants
Actions
Navigation
stendhal for players
portal
resources
Toolbox