How to install SilverStripe CMS on a Linux Virtual Server

silverstripe vpsSilverStripe is a very popular open source Content Management System (CMS) and Framework that can help you to create and manage the content of your websites and web applications.
To install and run SilverStripe on a Linux virtual server follow the very easy steps described below.
The installation instructions apply to any Linux based server with LAMP (Linux, Apache, MySQL and PHP) installed on it. Currently, SilverStripe requires PHP >= 5.3+ with MySQL, GD graphics library, tidy, curl and zlib extensions enabled, Apache Web Server >= 1.3.19 compiled with mod_rewrite module and ‘AllowOverride All’ set, and MySQL >= 5.0 installed on your Linux virtual server.

Download and unpack the latest version of SilverStripe available at :

cd /root
tar -xvzf SilverStripe-cms-v3.1.1.tar.gz

Create a new MySQL database for SilverStripe on your server:

mysql -u root -p
mysql> CREATE DATABASE silverstripedb;
mysql> GRANT ALL PRIVILEGES ON silverstripedb.* TO 'silverstripe'@'localhost' IDENTIFIED BY 'YOUR-PASSWORD-HERE' WITH GRANT OPTION;
mysql> quit

Create a new virtual host directive in Apache. For example:

<VirtualHost *:80>
DocumentRoot /var/www/html/silverstripe/
<Directory /var/www/html/silverstripe/>
Options FollowSymLinks
        AllowOverride All
ErrorLog logs/
CustomLog logs/ common

Restart the Apache web server for the changes to take effect.

Move the SilverStripe installation files to the document root directory defined in the virtual host directive above:

mv /root/SilverStripe-cms-v3.1.1 /var/www/html/silverstripe

Make sure ‘date.timezone’ option in php.ini is set correctly. Also, the webserver user (Apache) needs to be able to write to ‘assets’ directory and ‘.htaccess’ and ‘mysite/_config.php’ files, so you can easily accomplish that by executing the following command:

chown apache:apache -R /var/www/html/silverstripe

Open in a web browser and you should be redirected to ‘install.php’. Enter the following information:

Database Configuration

Database server: localhost
Database username: silverstripe
Database password: your silverstripe database password 
Database name: silverstripedb

CMS Admin Account

Email: your email address
Password: your admin password

Then, select the default language of the CMS interface, select the default theme and click the ‘Install SilverStripe’ button. Once the installation is complete, click the link ‘Click here to delete the install files’ to delete the installation files.


Of course, you don’t have to do any of this if you use one of our Linux VPS Hosting services, in which case you can simply ask our expert Linux admins to install SilverStripe CMS on your server for you. They are available 24×7 and will take care of your request immediately. You can also try reading our guide on How to Install SilverStripe on Debian 8.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Leave a Comment

To prove you are human please solve the following *