[Zope-dev] installer branch

Casey Duncan casey@zope.com
Thu, 22 Aug 2002 09:38:50 -0400


You rock! I'm glad this bugged you so much ;^)

-Casey

On Thursday 22 August 2002 12:38 am, Chris McDonough wrote:
> I have created (yet another, perhaps) "easy Zope install" branch off th=
e
> current Zope trunk.
>=20
> It allows for a "./configure; make; make install" sort of Zope
> installation for the source release.  It also includes a version of the
> nascent "zctl.py" that has been floating around unreleased to make
> starting, stopping, and debugging Zope easier.
>=20
> I'd like to know if folks are in favor of such a beast.
>=20
> Here is a sample session for flavor:
>=20
> [chrism@james InstallerBranch]$ ./configure
> --prefix=3D/home/chrism/opt/zoptest
>=20
> Configuring Zope installation
>=20
> Testing for an acceptable Python interpreter...
>   The optimimum Python version (2.1.3) was found at
> /home/chrism/bin/python.
>=20
> Configuring...
>   SOFTWARE_HOME (Zope binary directory) will be
> /home/chrism/opt/zoptest.
>   Makefile written.
>   'makeinstance' script written.
>=20
> [chrism@james InstallerBranch]$ make
> /home/chrism/bin/python
> /home/chrism/software/InstallerBranch/inst/compile_all.py
>=20
>=20
-------------------------------------------------------------------------=
-----
> Compiling python modules
> Building extension modules
> /home/chrism/bin/python setup.py build_ext -i
> running build_ext
> building 'AccessControl.cAccessControl' extension
> gcc -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=3D64 -g -O2 -Wall
> -Wstrict-prototypes -fPIC
> -I/home/chrism/software/InstallerBranch/lib/Components/ExtensionClass/s=
rc=20
-I/home/chrism/opt/Python2.1.3/include/python2.1 -c=20
AccessControl/cAccessControl.c -o build/temp.linux-i686-2.1/cAccessContro=
l.o
>=20
> ... and so on ...
>=20
> chmod 0711 /home/chrism/software/InstallerBranch/var
>=20
-------------------------------------------------------------------------=
-----
>=20
> /bin/touch /home/chrism/software/InstallerBranch/build
> Zope built. Next, do make install.
>=20
> [chrism@james InstallerBranch]$ make install
> /bin/mkdir -p /home/chrism/opt/zoptest
> /bin/cp -r -u /home/chrism/software/InstallerBranch/*
> /home/chrism/opt/zoptest
> ... and so on ...
> Zope binaries installed successfully.
> Now run /home/chrism/opt/zoptest/makeinstance.
>=20
> [chrism@james InstallerBranch]$ /home/chrism/opt/zoptest/makeinstance
> The instance home is the directory from which you will run Zope.
> Several instance homes, each with their own data and
> configuration, can share one copy of Zope.
>=20
> Instance home [/home/chrism/opt/zoptest]: /home/chrism/opt/instance
> '/home/chrism/opt/instance' does not exist.
> Shall I create it [y]?=20
> Created.
> Created 'Extensions' directory.
> Created 'import' directory.
> Created 'Products' directory.
> Created 'var' directory.
> Created default database
> Created zctl.py
>=20
-------------------------------------------------------------------------=
-----
>=20
> Now to create a starting user. Leave the username blank if you want to
> skip this step.
>=20
>=20
-------------------------------------------------------------------------=
-----
> Please choose a username and password.
> This will create the initial user with which you manage Zope.
> Username: admin
> Password:=20
> Verify password:=20
> chmod 0644 /home/chrism/opt/instance/inituser
> Done!  Use "/home/chrism/opt/instance/zctl.py start" to start Zope.
>=20
> [chrism@james InstallerBranch]$ cd ~
> [chrism@james chrism]$ cd opt/instance/
> [chrism@james instance]$ ./zctl.py start
> Starting Zope, using:
> "/home/chrism/bin/python" "/home/chrism/opt/zoptest/z2.py"=20
> [chrism@james instance]$=20
>=20
>=20
>=20
>=20
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>=20