...
Rogō should run on any LAMP stack without modification however there are some configuration task which need to be undertaken to ensure smooth operation under load.
Expand | ||
---|---|---|
| ||
Most directories in Rogō should be set up to be writable by the owner only:
For these writable directories the permissions should be set to drwxrwxr-x for the user that Apache runs as. Note: |
Expand | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Optimising apache can be a specialised task so if you have an apache expert/expereinced sysadmin please consult with them. Server prefork settingsThe settings for apache adjust how many processess are listening and how many spare threads are available (As of writing this document running php as a module in apache is only recommended for the prefork configuration of apache). For small scale tests then the default apache settings are acceptable, but to increase performance then the numbers should be increased (this will usually use more ram as these are extra processess). It is recommended to increase the minumum spare servers & the start servers (as this will improve the initial start from when the users arrive at the page as it can cope with more simultaneous requests) This is directly related to how much RAM is used For more info about this please go and read the Apache documentation. Server prefork settings from a basic apache config from a default install of apache in Centos 6.2
An example from a university of Nottingham Apache config for prefork settings
Security related configuration As a minimum Apache should be configured with the following to prevent access to sensitive files
|
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
If you have a MySQL Expert or database administrator you are recommended to contact them for advice first as optimizing MySQL is an 'art'. The basic default installation config should work in small settings. It is best to increase the key_buffer (the settings do depend upon your exact conditions) then make sure that the query cache is increased. You would be recommended to have a read of the MySQL documentation. The my-large.cnf should be suitable for most configurations (this should be supplied with mysql maybe in the examples directory). An example MySQL my.cnf segment from Univesity University of Nottingham:
On systems with networked file storage (SANS) with slow disk IO times considerer using:
See 'adaptive flushing' for a description of the consequence. |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
Below are some of the settings which may need to be altered from their default values:
|
Installation
Extract Rogō into the web root and visit 'https://[YOUR_HOST_NAME]/install/index.php'. This will check your installation and create the appropriate databases and users.
...