Skip to main content

Plone installation in Fedora Linux

This document will help you to install and configure Plone in Fedora Linux.
(I think you can use this same steps to install Plone in CentOS and Redhat Enterprise Linux.)
 Make sure you have Fedora repositories enabled. (Here I'm using "dnf"
command.  If you are using CentOS, Redhat or Older versions of Fedora then you have to use "yum" command instead)
$ sudo dnf repolist
Last metadata expiration check: 0:07:08 ago on Sun Jul  9 01:18:52 2017.
repo id               repo name                                           status
*fedora               Fedora 25 - x86_64                                  51,669
*updates              Fedora 25 - x86_64 - Updates                        20,457


Now you have to install the per-requesites for Plone. (You have to install it manually)  
$ sudo dnf install libxml2-devel libxslt-devel \
libjpeg-turbo libjpeg-turbo-utils libjpeg-turbo-devel \
zlib zlib-devel perl-Compress-Raw-Zlib perl-IO-Zlib 

1. Now you can download Plone from https://plone.org/download
2. Extract the installation bundle.
3. Run the install.sh and provide the destination directory details and Admin password and it will begin the installation. (I am using /opt/plone as the installation directory)

$ sudo /home/hashbang/Downloads/Plone-5.0.7-UnifiedInstaller/install.sh
(If you are getting any dependencies error then install it manually) 

After the installation you can open the /InstalledPath/zinstance/README.html file and can see how to manage the Plone service. (For example /opt/plone/zinstance/README.html )

And here are the commands for my environment to manage the service. Directory path may different according to your installed path.

Starting Zope/Plone
Before you start Plone, you should review the settings in:
$ /opt/plone/zinstance/buildout.cfg
Adjust the ports Plone uses before starting the site, if necessary, and run buildout to apply settings.
To start Plone, issue the following command in a terminal window:
$ sudo -u plone_daemon /opt/plone/zinstance/bin/plonectl start
To stop Plone, issue the following command in a terminal window:
$ sudo -u plone_daemon /opt/plone/zinstance/bin/plonectl stop


Comments

Post a Comment