How to Install Plone 4 CMS on Debian Wheezy with Nginx

plone Plone is a popular open source enterprise grade CMS (content management system) based on the Python programming language.  Plone shares many similarities with WordPress. It is very easy to use, flexible CMS built with the main purpose to design, create and manage content rich websites. Also, Plone can be used as a groupware collaboration tool or a document publishing system. Plone runs on top of the Zope web application server. This tutorial will help you install Plone 4 on a virtual server with Debian Wheezy and Nginx installed on it.

Let’s start with the installation procedure. Please refer to the following article about how to set up a LEMP server. Make sure your Debian VPS is up-to-date:

sudo apt-get update
sudo apt-get upgrade

The ‘apt-get update’ command will refresh the package list so it is all up to date, then the ‘apt-get upgrade’ command will upgrade any packages that have newer versions. Plone 4.3.2 requires Python development environment version 2.7 or greater, built with support for Expat, SSL and Zlib. Install the required dependencies using the following command:

sudo apt-get install build-essential python-dev python-setuptools poppler-utils git wv libssl-dev libxml2-dev libreadline-dev libjpeg62-dev libxslt1-dev libbz2-dev

Download the latest stable version of Plone available at

cd /opt/
wget --no-check-certificate

Extract the downloaded file containing the Zope application server and the Plone Content Management System:

tar -xvzf Plone-4.3.2-UnifiedInstaller.tgz
cd Plone-4.3.2*

Run the ‘’ script using the following command:

./ standalone

Please note, the installation script have other options, so use the following command:

./ --help

to discover them. Once the installation is complete, you will receive the administrator login credentials that will be used to access the Zope management interface. Add the following lines to the Nginx configuration file:

 server {
  listen 80;

  location / {
    rewrite ^/(.*)$ /VirtualHostBase/http/$1 break;
  location ~* manage_ {
    deny all;

server {
  listen 80;
  access_log off;
  rewrite ^(/.*)$$1 permanent;

Test the modified Nginx configuration file:

sudo service nginx configtest

If everything is OK with the Nginx configuration, reload the Nginx service for the changes to take effect:

sudo service nginx reload

To start Plone, execute the following command:

sudo -u plone_daemon /usr/local/Plone/zinstance/bin/plonectl start

That’s it, you now have a fully functional Plone CMS ready for deployment. Open in your favorite web browser so you can create a new Plone website or enter the Zope management interface using the administrator login credentials created during setup:

plone vps

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 Plone for you. They are available 24×7 and will take care of your request 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.

Tips and Tricks
How to apply and revert a Magento security patch on a Linux VPS
Install KeystoneJS on an Ubuntu 14.04
How to install Nagios3 and Check_MK on an Ubuntu 12.04 LTS VPS
There are currently no comments.