Skip to content
badsyntax edited this page Oct 2, 2012 · 13 revisions

This page explains how to install the Proxima CMS on a Debian-Linux OS.

Requirements

  • GNU/Linux system
  • Web server: sudo apt-get install apache2
  • Apache 'rewrite' module enabled: sudo a2enmod rewrite
  • PHP5.3+: sudo apt-get install php5
  • MySQL: sudo apt-get install mysql-server php5-mysql
  • ImageMagick library and php5-imagick extension installed: sudo apt-get install imagemagick php5-imagick
  • php-apc extension installed: sudo apt-get install php-apc

All prerequisites installed in one command:

sudo apt-get install apache2 php5 mysql-server php5-mysql imagemagick php5-imagick php-apc; a2enmod rewrite

Files

Clone the files into your site directory.

git clone git://github.com/proxima-cms/core.git sitename
cd sitename
git submodule update --init --recursive

2) Permissions

Change file permissions to 777:

./application/cache
./application/logs
./httpdocs/media
./application/config/modules.php
./proxima/core/config/admin/nav.php

In one command:

sudo chmod -R 777 application/cache application/logs httpdocs/media application/config/modules.php proxima/core/config/admin/nav.php

3) Config

Update the following two config files:

./application/config/environments/development/database.php
./application/config/database.php

4) Web server config

Point your webserver to the CMS files.

Apache config

If you are using Apache you can use the example site.conf file location at:

./application/apache/site.conf 

(I would rename that file to sitename.conf, then symlink it into the /etc/apache2/sites-enabled directory.)

You can use other web servers to run Proxima CMS. The only requirement is the existence of the KOHANA_ENV environment. variable.

5) Site installation

Load your site in the browser, and if everything is installed correctly, you should see the Proxima Install test file.

Follow the instructions in the installer to continue with the installation.