Upgraded to 2.8.5
1 parent 85f1166 commit b1563ec7561e9bd3f8b744ab6f6f420de619cb7b
@Alex Tucker Alex Tucker authored on 16 Feb 2006
Showing 14 changed files
View
81
Zope-2.6.4-RPM-README 100644 → 0
Zope Post-Installation Notes: 18-May-02
 
Credit where credit is due:
---------------------------
 
This package is based on the Zope 2.4.3 RPMs Packaged by:
Jeff Rush <jrush@taupro.com>
 
Thanks Jeff!
 
 
Initial Administrator Username and Password:
-------------------------------------------
 
The default administrator username is 'admin' and password is '123'.
These are set in the /var/zope/inituser file. Zope imports this
user account into the ZODB and then deletes the inituser file on
startup.
 
The old /var/zope/access method is not implemented by this package.
 
 
Starting and Stopping Zope:
--------------------------
 
Upon installing the Zope RPMs, your system is configured to start
Zope web service automatically upon system bootup. If you wish to
start manually, enter the command:
 
/etc/rc.d/init.d/zope start
 
To stop web service, enter the command:
 
/etc/rc.d/init.d/zope stop
 
 
Log Files:
----------
 
Zserver logs to /var/log/zope directly by default. If you wish to
use syslog you'll need to edit /var/zope/zserver.sh and uncomment:
#export ZSYSLOG="/dev/log"
 
By default, zserver logs errors and web hits via syslog using
facility USER, priority INFO.
 
 
Accessing Zope from your Browser:
--------------------------------
 
The default setting of the Zope-zserver RPM is to begin listening
for HTTP requests on port 8080, and FTP requests on port 8021.
The monitor service is initially disabled, for security reasons.
To alter these port assignments or enable the monitor service,
edit the Zope startup script /var/zope/zserver.sh, changing the
arguments passed to the z2.py python program. For the specific
arguments to change, see the source for /var/zope/z2.py.
 
To begin using Zope with the default settings for ZServer, point
your browser to:
 
http://localhost:8080/
 
 
PCGI Support
------------
 
PCGI support is not installed by this package. There are some
nasty circular dependancy problems that come up if you try to
package a PCGI build with rpm. (contributed solutions welcome!)
 
As this package effectively "wraps up" the default install, it
should still be possible to build and install PCGI if you need it.
A README that may be of some help appears at: /usr/share/zope/pcgi/
 
 
 
 
RPM-Packaged by Adam Manock <abmanock@earthlink.net>
Based on the Zope 2.4.3 Package by Jeff Rush <jrush@taupro.com>
View
Zope-2.6.4-src.tgz 100644 → 0
Not supported
View
148
Zope-2.6.4-zope 100755 → 0
#!/bin/sh
#
# zope Start/Stop the Zope web-application server.
#
# chkconfig: 2345 72 72
# description: zope is a web server specifically for handling \
# HTTP requests to the Zope web-application service.
#
# Source function library.
. /etc/rc.d/init.d/functions
 
INSTANCE_HOME=/var/zope
INSTANCE_NAME=`basename ${INSTANCE_HOME}`
 
# make sure starter script exists
[ -f ${INSTANCE_HOME}/zserver.sh ] || exit 0
 
RETVAL=0
 
# Source function library does not help us with the pid
# so we find get the pid from the file here *only*
pidfile=/var/zope/var/Z2.pid
pid=
if [ -f $pidfile ]; then
pid=`cat $pidfile`
fi
 
# Modified version of killproc() from source function library
 
killproc() {
RC=0
# Test syntax.
if [ "$#" -eq 0 ]; then
echo $"Usage: killproc {program} [signal]"
return 1
fi
 
notset=0
# check for second arg to be kill level
if [ -n "$2" ]; then
killlevel=$2
else
notset=1
killlevel="-9"
fi
 
# Save basename.
base=${1##*/}
 
# Kill it.
if [ -n "${pid:-}" ] ; then
[ "$BOOTUP" = "verbose" -a -z "$LSB" ] && echo -n "$base "
if [ "$notset" -eq "1" ] ; then
if checkpid $pid 2>&1; then
# TERM first, then KILL if not dead
kill -TERM $pid
usleep 100000
if checkpid $pid && sleep 1 &&
checkpid $pid && sleep 3 &&
checkpid $pid ; then
kill -KILL $pid
usleep 100000
fi
fi
checkpid $pid
RC=$?
[ "$RC" -eq 0 ] && failure $"$base shutdown" || success $"$base shutdown"
RC=$((! $RC))
# use specified level only
else
if checkpid $pid; then
kill $killlevel $pid
RC=$?
[ "$RC" -eq 0 ] && success $"$base $killlevel" || failure $"$base $killlevel"
fi
fi
else
failure $"$base shutdown"
RC=1
fi
 
# Remove pid file if any.
if [ "$notset" = "1" ]; then
rm -f $pidfile
fi
return $RC
}
 
# Modified version of status() from source function library
 
status() {
local base=${1##*/}
 
# Test syntax.
if [ "$#" = 0 ] ; then
echo $"Usage: status {program}"
return 1
fi
 
# First and only try "$pid"
if [ -n "$pid" ]; then
echo $"${base} (pid $pid) is running..."
return 0
fi
 
# See if /var/lock/subsys/${base} exists
if [ -f /var/lock/subsys/${base} ]; then
echo $"${base} dead but subsys locked"
return 2
fi
echo $"${base} is stopped"
return 3
}
 
# See how we were called.
case "$1" in
start)
echo -n "Starting zope: "
cd ${INSTANCE_HOME}
[ "$pid" != "" ] && ps h $pid >/dev/null 2>&1 && echo && exit $RETVAL
rm -f ${INSTANCE_HOME}/var/Z2.pid
daemon ${INSTANCE_HOME}/zserver.sh
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/${INSTANCE_NAME}
;;
stop)
echo -n "Shutting down zope: "
killproc zope
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${INSTANCE_NAME} ${INSTANCE_HOME}/var/Z2.pid
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
status)
status zope
[ $RETVAL -ne 0 ] && RETVAL=$?
;;
*)
echo "Usage: zope {start|stop|restart|status}"
exit 1
esac
 
exit $RETVAL
View
Zope-2.6.4-zserver-wo-pcgi.sh 100755 → 0
View
Zope-2.6.4.spec 100644 → 0
View
Zope-2.7.1.tgz 100644 → 0
Not supported
View
Zope-2.8.5-final.tgz 0 → 100644
Not supported
View
zope-README.CentOS 0 → 100644
View
zope.init.in 0 → 100644
View
zope.logrotate.cron.in 0 → 100644
View
zope.logrotate.in 0 → 100644
View
zope.spec 0 → 100644
View
zope.sysconfig.in 0 → 100644
View
zope.zopectl.in 0 → 100644