plone 4 on debian 5 lenny
# apt-get install g++ make libssl-dev bzip2 exim4-daemon-light
Download latest version of Plone (Unified Installer)
tar zxvf Plone-YOURVERSION-UnifiedInstaller.tgz cd Plone-YOURVERSION-UnifiedInstaller ./install.sh standalone
w3m /usr/local/Plone/zinstance/README.html less /usr/local/Plone/zinstance/buildout.cfg
Find start script at:
/usr/local/Plone/zinstance/bin/plonectl
Change Admin password:
- http://localhost:8080/manage (check zinstance/buildout.cfg for port)
- Enter the ZMI root
- Change the password for the admin user in the acl_users folder in the root
- Log in with the new password
For this, you need to copy the init script from below to /etc/init.d/plone and make it executable (chmod 755), then run update-rc.d
# update-rc.d plone defaults
Debian init script:
#! /bin/sh -e
# /etc/init.d/plone
### BEGIN INIT INFO
# Provides: plone
# Required-Start: $syslog $time $remote_fs
# Required-Stop: $syslog $time $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Plone 4
# Description: Plone 4 instance installed with the unified installer.
### END INIT INFO
#
# Author: Simon Wunderlin, swunderlin () gmail , com
#
set -e
ZINSTANCE=/usr/local/Plone/zinstance
PATH=/bin:/usr/bin:/sbin:/usr/sbin:$ZINSTANCE/bin
DAEMON=$ZINSTANCE/bin/plonectl
test -x $DAEMON || exit 0
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting plone"
$DAEMON start >> /var/log/plone.log
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping plone"
$DAEMON stop >> /var/log/plone.log
log_end_msg $?
;;
force-reload|restart)
$DAEMON stop
$DAEMON start
;;
*)
echo "Usage: /etc/init.d/plone {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0--