Install Plone CMS on Debian

To install Plone on Debian, first makes sure you meet

  • hosting requirements,
  • hardware requirements,
  • software requirements.

To view a list of all the requirements , visit the Plone documetation at:

https://docs.plone.org/manage/installing/requirements.html

On Linux platform, you need

  • Python 2.7
    • python2.7
    • python2.7-dev
  • and the following libraries:
    • python-setuptools
    • python-dev
    • build-essential
    • libbz2-dev
    • zlib1g-dev
    • libjpeg62-turbo-dev
    • libssl-dev
    • libxml2-dev
    • libxslt1-dev
  • optional libraries
    • poppler-utils (PDFs)
    • wv (office docs)
    • libreadline-dev

Installing requirements:

$ sudo apt-get install python2.7 python2.7-dev python-setuptools python-dev build-essential libbz2-dev zlib1g-dev libjpeg62-turbo-dev libssl-dev libxml2-dev libxslt1-dev

Installing optional libraries:

$ sudo apt-get install poppler-utils wv libreadline-dev

Download latest Plone unified installer:

$ wget --no-check-certificate https://launchpad.net/plone/5.1/5.1rc2/+download/Plone-5.1rc2-UnifiedInstaller.tgz

Unpack the installer:

$ tar -xf Plone-5.1.0-UnifiedInstaller-r1.tgz

Before running the installer decide on the following:

  • development/testing or production mode
  • standalone or zeo cluster
  • run installer as root or user
  • instance password
  • location were to install the instance
  • instance name
  • which Python to use

Install Plone:

$ sudo ./install.sh --password='psw' --target=path/to/location --instance=instance_name --with-python=/usr/bin/python --static-lxml zeo

If the installation is successful you will see this message:

Plone successfully installed at …

To start Plone go to the root folder of your instance and execute:

$ sudo -u plone_daemon bin/plonectl start