您的位置:首页 > 其它

ubuntu 10.04安装plone4.2成功

2012-07-11 17:56 337 查看
一. 系统环境

1. 硬件环境:IBM3650

2. 系统环境:KVM虚拟机,2GB内存,4CPU。为加快运行速度,使用/dev/shm建立8GB镜像文件虚拟硬盘。

3. 操作系统:ubuntu 10.04 server 64bit

4. 应用软件:只安装了ssh和samba

二. 安装过程

1. 下载Plone4.2的linux版本Plone-4.2-UnifiedInstaller-update-1.tgz

2. 解压,产生Plone-4.2-UnifiedInstaller目录

3. 开始安装,选择zeo方式:

cd /samba/Plone-4.2-UnifiedInstaller/

svradm@svr:/samba/Plone-4.2-UnifiedInstaller$./install.sh zeo


ZEO Cluster Install selected

Error: gcc is required for the install.

See README.txt for dependencies.


4. 安装gcc:
svradm@svr:/samba/Plone-4.2-UnifiedInstaller$ sudo aptitude install gcc

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

The following NEW packages will be installed:

  binutils{a} gcc gcc-4.4{a} libc-dev-bin{a} libc6-dev{a} libgomp1{a} linux-libc-dev{a} manpages-dev{a}

0 packages upgraded, 8 newly installed, 0 to remove and 0 not upgraded.

Need to get 9,910kB of archives. After unpacking 35.3MB will be used.

Do you want to continue? [Y/n/?] y

5. 重新安装plone:

svradm@svr:/samba/Plone-4.2-UnifiedInstaller$ ./install.sh zeo

ZEO Cluster Install selected

Detailed installation log being written to /samba/Plone-4.2-UnifiedInstaller/install.log

Note: libz library and headers are required for the install.

The package name for this may be zlib-dev.

Exiting now.

6. 经试验,安装libz-dev:

svradm@svr:/samba/Plone-4.2-UnifiedInstaller$ sudo aptitude install libz-dev

7. 重新安装plone:

svradm@svr:/samba/Plone-4.2-UnifiedInstaller$ ./install.sh zeo

ZEO Cluster Install selected

Detailed installation log being written to /samba/Plone-4.2-UnifiedInstaller/install.log

Unable to find libssl or openssl/ssl.h.

libssl and its development headers are required for Plone.

If you're sure you have these installed, and are still getting this warning, you may disable the libssl check by adding the

--without-ssl flag to the install command line.

Otherwise, install your platform's openssl-dev libraries and headers

and try again.

8. 经试验,安装libssl-dev:

svradm@svr:/samba/Plone-4.2-UnifiedInstaller$ sudo aptitude install libssl-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

The following NEW packages will be installed:

  libssl-dev

0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 2,151kB of archives. After unpacking 7,176kB will be used.

Writing extended state information... Done

Get:1 http://cn.archive.ubuntu.com/ubuntu/ lucid-updates/main libssl-dev 0.9.8k-7ubuntu8.13 [2,151kB]

Fetched 2,151kB in 34s (61.8kB/s)

Selecting previously deselected package libssl-dev.

(Reading database ... 56388 files and directories currently installed.)

Unpacking libssl-dev (from .../libssl-dev_0.9.8k-7ubuntu8.13_amd64.deb) ...

Processing triggers for man-db ...

Setting up libssl-dev (0.9.8k-7ubuntu8.13) ...

Reading package lists... Done

Building dependency tree

Reading state information... Done

Reading extended state information

Initializing package states... Done

Writing extended state information... Done

9. 重新安装plone:

svradm@svr:/samba/Plone-4.2-UnifiedInstaller$ ./install.sh zeo

ZEO Cluster Install selected

Detailed installation log being written to /samba/Plone-4.2-UnifiedInstaller/install.log

Rootless install method chosen. Will install for use by system user svradm

Installing Plone 4.2 at /home/svradm/Plone

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 /home/svradm/Plone/buildout-cache

Compiling .py files in egg cache

Copying Plone-docs

Generating random password ...

Your platform's xml2/xslt are missing or out-of-date. We'll need to build them.

Copying buildout skeleton

Fixing up bin/buildout

Building lxml with static libxml2/libxslt; this takes a while...

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

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

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

Plone successfully installed at /home/svradm/Plone

See /home/svradm/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: 4R1MsRop

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)")

10. 启动plone:

/samba/Plone-4.2-UnifiedInstaller$cd ~/Plone/zeocluster$

svradm@svr:~/Plone/zeocluster$ bin/plonectl start

zeoserver: .

daemon process started, pid=12863

client1: . .

daemon process started, pid=12868

client2: . .

daemon process started, pid=12878



11. 点击创建,输入用户名、密码,进入站点创建页面。输入站点名称、语言等,创建完成。最终显示:



无数据情况下,整个系统约占用2GB容量, 复制镜像文件形成虚拟机镜像,保存。通过lvm扩展容量,可以构成生产系统。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: