Linux installation (using shell)

Installation of Saurus CMS is simple: using the web-based installer you have to answer few questions and the rest will be handled automatically. No need to edit configuration files or manually set up the database. Follow the instructions below and you will have a working website in minutes.

Make sure you have PHP, MySQL and Zend Optimizer installed according to system requirements before you continue.

1. Unpack the downloaded Full Installation package to the folder where web server can access them. Eg:

mkdir saurus
tar -xzvpf SaurusCMS-4.4.0.tgz -C saurus/

2. Execute the following shell commands within unpacked folder:

cd install/
bash ./pre_install.sh
Script pre_install.sh will temporarily change file permissions for config.php.


3. Open the web browser and go to the URL of the website, e.g:

http://www.yoursite.com/install.php
Installation script will install the database and the config.php file will be
adjusted with the required database access variables.

 4. After successfully finishing install.php steps, execute the following shell command within install/ folder:

bash ./post_install.sh
Script post_install.sh will remove temporary writing permissions for the config.php files and delete installation file install.php and install/ folder.

5. Be sure that the following upload directories have write permissions for the web server:

  • public/ - files used for content management 
  • shared/ - files used for content management
  • classes/smarty/cache/ - Saurus API templates cache
  • classes/smarty/templates/ - Saurus API templates
  • classes/smarty/templates_c/ - Saurus API compiled templates code

Troubleshooting: If you have trouble with the installation (e.g. if install.php
displayes a blank page), then run script check_requirements.php in install/ folder. This script will check if your server has all the necessary requirements.

Technical FAQ can be found on page http://www.saurus.info/technical-faq

Installation

System requirements / Linux installation (using shell) / Installation using FTP / Windows installation / Windows installation with a previously installed web server / Required PHP settings / Required .htaccess directives / Installation troubleshooting / Configuring Alias module / Configuring Alias module using .htaccess directives / Version upgrade in Linux (using shell) / Version upgrade using FTP / Version upgrade in Windows / How to copy your Saurus CMS website