Configuring and running Ryzom Core server on GNU/Linux
Table of Contents |
---|
Preparing Packages
For Debian/Ubuntu users you will need to install the following packages:
Panel |
---|
sudo apt-get install apache2 php5 php5-mysql |
Making changes in services config files
- Change FSListenHost in
code/ryzom/server/frontend_service.cfg
to your address (e.g. 192.168.0.1). If you set up server on different machine, remember it has to be address that's reachable on client host.
Configuring Apache and web tools
...
Note: If you are using ubuntu 10.4 you will need to type.
sudo /etc/init.d/apache2 restart
...
cd code/ryzom/tools/server/admin/templates/ cp -r default default_c chmod a+w default_c
Setting up MySQL
NOTE:
The configuration files in code/ryzom/server expect your user to be named 'shard' with NO PASSWORD. If you decide to use a different name for your MySQL user, or assign it a password, you will need to go through the .cfg files and change these values from 'shard' and "" wherever they appear. (they appear in several of the .cfg files)
Since this (and a password) can lead to unexpected errors (eg. error '4000',) it's best to make sure everything works OK with defaults first.
...
/home/ryzom/code/ryzom/server/save_shard/rrd_graphs
Import in phpMyAdmin.
Running the shard
- Make sure $RYZOM_PATH is set correctly: export RYZOM_PATH="/home/user/ryzom/code/ryzom"
...
momentarily pressing "ctrl" and "a" together and then press "n" to cycle through.
Client login errors
- If your client gives you error messages on connect, check Client Connect Errors.
Notes
If you want to use your shard with the core client, you will have to copy the following file into code/ryzom/common/data_common:
...