How to Installing and Configuring Server Zope and Plone

How to Installing and Configuring Server Zope and Plone

Installing and Configuring a Server Zope / Plone: How to Install a Server Zope, Zope is a platform created from the Python language, which is their base. Applications created in Zope are called ” products”, and in this article, we will talk about the product called Plone. The framework of Professional Content Management, based on the CMF.



Installing and Configuring a Server Zope / Plone

1 – What is Zope / Plone

Zope is a web application server created by Zope Corporation (www.zope.org).

Its acronym stands for “Z Object Publishing Environment” (Environment Z Object Publishing), a powerful web programming environment in which to develop web applications remotely.

Zope is a platform created from the Python language (www.python.org), which is its base.

The Zope use applications are diverse but has been used in large scale by various corporations in the outside world as CMS (Content Managment System).

Applications created in Zope are called “products”, and in this article, we will talk about the product called Plone (www.plone.org). The framework of Professional Content Management, based on the CMF.

Plone is undoubtedly one of the best Open Source CMS market, with many of the features a PHP-NUKE portal and the like have.

Plone is used by NASA, IDGNow, AOL and others.

2 – Installing Python

To begin use in a Zope / Plone server, which is necessary Let’s install your programming language, Python.

These examples were created in Fedora Core 1, but can be used in other distributions.

Visit the website www.python.org and download the latest version.When this article was written , the current version was Python – 2.3.3.tgz .

Log on as root and follow the instructions:
Copy the file to / tmp (or a directory of your choice )
Make tar Python 2.3.3.tgz zxvf
Go to the directory and run: ./configure
Run: make

At this time the Python already operational, but is not installed in / usr / local in the system . Take the following steps:

3 – To install run: make install

Ready, already installed Python, now we will install Zope.

Installing Zope

After installing Python, we will perform the installation of Zope. Www.zope.org access and lower the Zope – 2.7.0.tgz version.

Log on as root and follow the instructions:
Copy the file to the / tmp directory (or another directory of your choice )
Enter the directory and run: tar Zope – 2.7.0 zxvf
Run ./configure

If you do not find the Python run like this:

./configure –with -python = / usr / local / bin / python (or other way)

make

At this time Zope is already running, you can use it from the directory where it was unzipped or install it. We will install.
make install

Once installed, we will create an instance, which is a directory with the files needed to run software on Zope.
/onde/foi/instalado/Zope-2.7/bin/mkzopeinstance.py
or the default location /opt/Zope-2.7/bin/mkzopeinstance.py .
Choose a directory . We will use / zopeteste .
Choose a name for the administrator of the instance. Let’s put “admin”.
Choose a password for your user. Confirm the Password.

Install Zope and create an instance of use. Now we can use Zope.

4 – Configuring and Starting Zope

Once installed, go to the directory (in our example was / zopeteste ) .

Zope can be run by any user, but cannot run Zope using the root. We must create a user giving permission and tell Zope to start using this user.
Create a Zope user : useradd zopetest
Access / zopetest / etc and edit the file zope.conf .
Look for the ” effective user ” line. Remove the comment (# ) and change the user who is there ( chrism ) by zopetest . Save the file .
Run: chmod 777 / zopetest / var
Run: chmod 777 / zopetest / log
Access / zopetest / bin and run: ./zopectl start

Ready , Zope server is already running.
To access the server , open your browser and type:
http : // localhost: 8080
To configure the server , open the browser :
http : // localhost: 8080 / manage
and enter your username and password

5 – Installing Plone

Once installed Python and Zope, Plone will install .

Access : http://prdownloads.sourceforge.net/plone/Plone-2.0.3.tar.gz?download and download the Plone Core , which is the functional package of Plone.

Copy the file to / tmp (or the directory of your choice ) .
Run : tar xvf Plone – 2.0.3.tar.gz
Execute / zopeteste / bin / stop zopectl
Copy all the file folders and paste into / zopeteste / Products .
Execute / zopeteste / bin / start zopectl
Ready! Now let’s set up .

6 – Configuring and starting Plone

Let’s set up a Plone site . We have to create a Plone site .

Enter the Zope Management Console by visiting:
http : // localhost: 8080 / manage
Enter your username and password (admin and your password) .
Upon entering , look on the right side of the screen is an option called “Select type to add .”
Click this option and look for Plone site .
In the ” Id ” field put the site name .
In “title ” put the site title .
In the ” Membership source ” option , keep the default .
In “description ” put the description of the site .
Click “Add Plone Site” .

Okay, now are using.
Soon I will be writing a tutorial to configure Plone and develop applications using it.




LEAVE A REPLY

Please enter your comment!
Please enter your name here