How to install Serendipity CMS on a Linux Virtual Server
Serendipity is a simple and easy to use CMS (content management system) written in PHP. Serendipity offers more than 80 official templates so your can completely customize your web site according to your needs with a click of a button.
To install and run Serendipity CMS on a Linux virtual server
The installation instructions apply to any Linux based server with LAMP (Linux, Apache, MySQL and PHP) installed on it.
Download and unpack the latest version of Serendipity CMS available at http://www.s9y.org/12.html
cd /root wget http://prdownloads.sourceforge.net/php-blog/serendipity-1.7.3.tar.gz?download tar -xvzf serendipity-1.7.3.tar.gz
Create a new MySQL database:
mysql -u root -p mysql> CREATE DATABASE serendipity; mysql> GRANT ALL PRIVILEGES ON serendipity.* TO 'serendipity'@'localhost' IDENTIFIED BY 'YOUR-PASSWORD-HERE' WITH GRANT OPTION; mysql> FLUSH PRIVILEGES; mysql> quit
Create a new virtual host directive in Apache. For example:
<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html/serendipity/ ServerName www.your-domain.com ErrorLog logs/your-domain.com-error_log CustomLog logs/your-domain.com-access_log common </VirtualHost>
Restart the Apache web server for the changes to take effect.
Move the Serendipity installation files to the document root directory defined in the virtual host directive above:
mv /root/serendipity/ /var/www/html/serendipity/
Open http://your-domain.com/ in a Web browser and follow the easy steps. Please note, Serendipity requires PHP >= 5.2.6 with cookie session support and PCRE, GDlib, OpenSSL, mbstring, iconv and zlib extensions enabled and Imagemagick binary installed on your virtual server:
If all the requirements are met, select ‘Simple installation’ and on the next page enter your MySQL database password, administrator username and password etc. and click the ‘Complete installation’ button. That is it. Serendipity CMS has been successfully installed on your virtual server.
Of course, if you are one of our Linux VPS customers and you need more help about the installation, you don’t have to do any of this, simply ask our admins and they will install Serendipity CMS on your server for you immediately.
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.