вторник, 22 января 2013 г.

Plone 4. Установка


Установка Plone 4.2.3 на ОС Debian 6 (x32)

Скачиваем исходники:


root@testdeb:~# cd /home/test/

root@testdeb:/home/test# wget -c https://launchpad.net/plone/4.2/4.2.3/+download/Plone-4.2.3-UnifiedInstaller.tgz 

Устанавливаем зависимости  (список здесь - http://plone.org/documentation/manual/installing-plone/installing-on-linux-unix-bsd/debian-libraries ) :

root@testdeb:/home/test# apt-get install make gcc g++ patch bzip2 gzip zip libssl0.9.8 libssl-de

Распаковываем исходники и пробуем установить:

root@testdeb:/home/test# tar xzf Plone-4.2.3-UnifiedInstaller.tgz

root@testdeb:/home/test/Plone-4.2.3-UnifiedInstaller#


root@testdeb:/home/test/Plone-4.2.3-UnifiedInstaller# ./install.sh zeo

ZEO Cluster Install selected


Detailed installation log being written to /home/test/Plone-4.2.3-UnifiedInstaller/install.log

Unable to find libxml2 development libraries.


Plone installation requires the development versions of libxml2 and libxslt.

libxml2 must be version 2.7.8 or greater; libxslt must be 1.1.26 or greater.

Ideally, you should install these as dev package libraries before running install.sh.

If -- and only if -- these packages are not available for your platform, you may

try adding --static-lxml=yes to your install.sh command line to force a

local, static build of these libraries. This will require Internet access for the

installer to download the extra source

Installation aborted. 

Устанавливаем необходимое:
root@testdeb:/home/test/Plone-4.2.3-UnifiedInstaller# apt-get install libxml2 libxml2-dev libxslt1.1 libxslt1-dev 

Снова пробуем установить Plone:

root@testdeb:/home/test/Plone-4.2.3-UnifiedInstaller# ./install.sh zeoZEO Cluster Install selected


Detailed installation log being written to /home/test/Plone-4.2.3-UnifiedInstaller/install.log


Root install method chosen. Will install for use by system user plone


Installing Plone 4.2.3 at /usr/local/Plone


Adding user account 'plone' to system ...

Compiling and installing jpeg local libraries ...

Compiling and installing readline local libraries ...

Installing Python-2.7.3. This takes a while...

Installing distribute...

Python build looks OK.

Unpacking buildout cache to /usr/local/Plone/buildout-cache

Compiling .py files in egg cache

Copying Plone-docs

Generating random password ...

Copying buildout skeleton

Fixing up bin/buildout

Building Zope/Plone; this takes a while...

Setting instance ownership to plone

Setting buildout cache ownership to plone


#####################################################################

###################### Installation Complete ######################


Plone successfully installed at /usr/local/Plone

See /usr/local/Plone/zeocluster/README.html

for startup instructions


Use the account information below to log into the Zope Management Interface

The account has full 'Manager' privileges.


Username: admin

Password: ********


This account is created when the object database is initialized. If you change

the password later (which you should!), you'll need to use the new password.


- If you need help, ask the mailing lists or #plone on irc.freenode.net.

- The live support channel also exists at http://plone.org/chat

- You can read/post to the lists via http://plone.org/forums


- Submit feedback and report errors at http://dev.plone.org/plone

(For install problems, specify component "Installer (Unified)")

Переходим по адресу http://172.16.0.88:8080/ - страница не грузится. Переходим в каталог установки и запускаем вручную:

root@testdeb:/usr/local/Plone/zeocluster# bin/plonectl start
zeoserver: .

daemon process started, pid=724

client1: .

daemon process started, pid=729

client2: .

daemon process started, pid=736

Комментариев нет:

Отправить комментарий