Notes for Installing Symphony CMS on Ubuntu

Symphony CMS is relatively easy to install on a Ubuntu server.

Here are a couple of commands I issued on a clean Ubuntu install to get everthing I needed for Symphony CMS, including cloning the git archive.

Important notes:

  • I chose to make a symbolic link from /var/www to my user directory, to skip writing a new apache site-available file, however for production purposes I would suggest to write a new proper apache2 site configuration file
  • The default apache2 site-enabled file has “AllowOverride None” – this needs to be changed to “AllowOverride All” for mod_rewrite to work
  • The php5-xsl package is vital for XSLT to work!

sudo apt-get install git-core apache2 php5 mysql-server php5-mysql php5-xsl
## now that mysql is installed, create a database and database user and GRANT PRIVILEGES ##
sudo a2enmod rewrite
sudo vi /etc/apache2/sites-enabled/000-default (change AllowOverride None to AllowOverride All)
sudo /etc/init.d/apache2 restart
cd /home/steve
mkdir symphony-cms
cd symphony-cms
git clone git://
cd symphony-2
git submodule update --init
git clone git://
ln -s /home/steve/symphony-cms/symphony-2 /var/www/symphony
chmod -R 777 /home/steve/symphony-cms/symphony-2/workspace
chmod 777 /home/steve/symphony-cms/symphony-2
## run web configuration now at ##
chmod -R 755 workspace
rm install.php install.sql workspace/install.sql update.php

See the git documentation for further reading.

If you need any clarifications, ask away in the comments section.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">