Configuring and running Ryzom Core server on GNU/Linux
...
Tip |
---|
If your frontend service is available through a firewall using NAT and a mapped IP address this is how you can advertise that external IP address. For example if your FS is on 192.168.1.100 internally but your firewall maps 74.125.225.210 through to your FS you would want to configure FSListenHost to be the address the clients connect to: 74.125.225.210. |
Configuring Apache and web tools
...
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 is best to make sure everything works correctly with the defaults first. |
...
* Login to the MySQL database server using the command line:
mysql -uroot -p
* Create your databases ( nel, nel_tool, and ring_open ):
Code Block | ||||
---|---|---|---|---|
| ||||
CREATE DATABASE nel;
CREATE DATABASE nel_tool;
CREATE DATABASE ring_open; |
...
|
...
|
...
GRANT ALL ON nel.* TO shard@localhost;
GRANT ALL ON nel_tool.* TO shard@localhost;
GRANT ALL ON ring_open.* TO shard@localhost; |
...
|
...
|
...
FLUSH PRIVILEGES; |
...
- If you use different usernames and password for database, you need to change files:
code/ryzom/server/sql.cfg
,code/ryzom/tools/server/www/login/config.php
,code/ryzom/tools/server/admin/config.php
...
/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:
...