Configure Linux Web Services
Configuring and running Ryzom Core Web Services on GNU/Linux
Preparing Packages
For Debian/Ubuntu users you will need to install the following packages:
sudo apt-get install apache2 php5 php5-mysql php5-gd rrdtool screen
VHost
Create a public web directory and point a VHost to it.
Point a second VHost to the same directory with port 40916
Upload
Upload the following to your public web directory of your PHP host
/code/web/public_php
Upload the following to a private directory accessible by your PHP host
/code/web/private_php
Setup
Run the following script and follow the instructions
http://<hostname>/setup/
This script will create a config.php under the public php directory, and set up the nel, nel_tool and ams databases.
Additional Notes
Advanced Configuration Topics
- See Configuring WebTT for configuration details regarding the Web Translation Tool.
- See Configuring Ryzom API for configuration details regarding configuring the Ryzom API and WebIG applications.See Configuring Ryzom Ring Server for configuration details regarding the configuration of a Ryzom Ring shard.See Configuring Patching Services for configuration details regardin the patch site and tools.
- See Configuring the Character Achievement App for information on setting up the Character Achievements app.
In order to execute system commands like restarting services you will need to be able to log in as root or execute the command using sudo, e.g.:
sudo /etc/init.d/apache2 restart
- Restart Apache by typing the following.
/etc/init.d/apache2 restart
- Make sure the directory's requiring write permissions is writeable by all.
chmod a+w code/ryzom/tools/server/admin/graphs_output
chmod a+w code/ryzom/tools/server/admin/templates/default_c
chmod a+w
code/ryzom/tools/server/www/login/
logschmod a+w code/ryzom/tools/server/ryzom_ams/www/
chmod a+w code/ryzom/tools/server/ryzom_ams/www/html/cache
chmod a+w code/ryzom/tools/server/ryzom_ams/www/html/templates_c