"Fossies" - the Fresh Open Source Software Archive

Member "Plone-5.2.5-UnifiedInstaller-1.0/docs/zeo.rst" (13 Sep 2021, 3949 Bytes) of package /linux/www/Plone-5.2.5-UnifiedInstaller-1.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the last Fossies "Diffs" side-by-side code changes report for "zeo.rst": 5.1.5_vs_5.2.0.

Zeo

Description

How to install Plone in zeo mode as user (rootless) or as super-user (root).

local

The clustered (ZEO) setup will take advantage of multi-core CPUs and is recommended for a production deployment, while the standalone method is easier for development or testing.

For a non-super-user (rootless) installation

If you run the installation while logged in as a normal (non-root) user, Python/Zope/Plone will be built at $HOME/Plone (the user's home directory, Plone subdirectory). You will need to start Zope using the user identity used for the build, and it will run with the privileges of that user.

To install Plone 5.2 in a ZEO Cluster (ZEO server, 2 clients) configuration:

$ ./install.sh zeo

Startup/Shutdown/Restart/Status instructions

To start Plone:

$ $HOME/Plone/zeocluster/bin/plonectl start

To stop Plone:

$ $HOME/Plone/zeocluster/bin/plonectl stop

To restart Plone:

$  $HOME/Plone/zeocluster/bin/plonectl restart

To check status:

$ $HOME/Plone/zeocluster/bin/plonectl status

Install Location, Root-less Install

For a super-user (root) installation

If you run the installation with root privileges, it will install Python/Zope/Plone to /opt/plone.

Two Plone users will be created: plone_daemon and plone_buildout. You will need to start Plone as plone_daemon and run buildout as plone_buildout. The install will also create a plone_group group that includes both plone users.

To install Plone 5.2 in a ZEO Cluster (ZEO server, 2 clients) configuration:

$ sudo ./install.sh zeo

or on a sudo-less system:

$ su; ./install.sh zeo

The "sudo" utility is required for a root install. This security utility is included with most recent Unix workalikes and is easily installed on other systems. On BSD-heritage systems, this in the security directory of the ports collection.

Startup/Shutdown/Restart/Status instructions

To start Plone:

$ sudo -u plone_daemon /opt/plone/zeocluster/bin/plonectl start

To stop Plone:

$ sudo -u plone_daemon /opt/plone/zeocluster/bin/plonectl stop

To restart Plone:

$ sudo -u plone_daemon /opt/plone/zeocluster/bin/plonectl restart

To check status:

$ sudo -u plone_daemon /opt/plone/zeocluster/bin/plonectl status

test

Install Location, Root Install

Ports

ZEO Cluster

Edit buildout.cfg and run bin/buildout to change ports.