Plone 安装配置成功!以下我安装的终端命令

Python/PHP/Perl 开发与设计
回复
天生三桥
帖子: 22
注册时间: 2010-12-17 21:19
送出感谢: 0
接收感谢: 0

Plone 安装配置成功!以下我安装的终端命令

#1

帖子 天生三桥 » 2010-12-20 11:29

先解压缩tar xvzf/home/knight/Plone-4.0.2-UnifiedInstaller
root@ubuntu:/home/knight/Zope-3.4.0# cd /home/knight/Plone-4.0.2-UnifiedInstaller
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# ./install.sh

Usage: [sudo] install.sh [options] standalone|zeo

Install methods available:
standalone - install standalone zope instance
zeo - install zeo cluster

Use sudo (or run as root) for server-mode install.

Options:
--password=InstancePassword
If not specified, a random password will be generated.

--target=pathname
Use to specify top-level path for installs. Plone instances
and Python will be built inside this directory
(default is /usr/local/Plone)

--instance=instance-name
Use to specify the name of the operating instance to be created.
This will be created inside the target directory unless there's
a slash in the specification.
Default is 'zinstance' for standalone, 'zeocluster' for ZEO.

--user=user-name
In a server-mode install, sets the effective user for running the
instance. Default is 'plone'. Ignored for non-server-mode installs.

--with-python=/fullpathtopython2.6
If you have an already built Python that's adequate to run
Zope / Plone, you may specify it here.
virtualenv will be used to isolate the copy used for the install.

root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# ./install.sh --password=123 standalone
Stand-Alone Zope Instance selected

Detailed installation log being written to /home/knight/Plone-4.0.2-UnifiedInstaller/install.log


Unable to find libssl or openssl/ssl.h.
If you wish to build without SSL support, run install.sh again with
--without-ssl flag.
Otherwise, install your platform's openssl-dev libraries and headers
and try again.

root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# ./install.sh --without-ssl --password=123 standalone
Stand-Alone Zope Instance selected

Detailed installation log being written to /home/knight/Plone-4.0.2-UnifiedInstaller/install.log

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

Installing Plone 4.0.2 at /usr/local/Plone

Adding user account 'plone' to system ...
Compiling and installing jpeg local libraries ...
Compiling and installing local zlib ...
Compiling and installing readline local libraries ...
Installing Python 2.6.5. This takes a while...
Installing distribute...
Unpacking buildout cache to /usr/local/Plone/buildout-cache
Compiling .py files in egg cache
Setting buildout cache ownership to plone
Copying Plone-docs
Copying buildout skeleton
Fixing up bin/buildout
Switching user to plone
Running buildout; this takes a while...
Setting instance ownership to plone

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

Plone successfully installed at /usr/local/Plone
See /usr/local/Plone/zinstance/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: 123

This account is created when the object database is initialized. If you
change the password later, 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)")

root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# cd root
bash: cd: root: 没有那个文件或目录
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# su root
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo gedit /usr/local/Plone/zinstance/buildout.cfg
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo -u plone /usr/local/Plone/zinstance/bin/plone/plonectl start
sudo: /usr/local/Plone/zinstance/bin/plone/plonectl: command not found
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo -u plone /usr/local/Plone/zinstance/bin/plonectl start
instance: .
daemon process started, pid=26373
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo -u plone /usr/local/Plone/zinstance/bin/plonectl stop
instance: .
daemon process stopped
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo -u plone /usr/local/Plone/zinstance/bin/plonectl start
instance: .
daemon process started, pid=26395
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo -u plone /usr/local/Plone/zinstance/bin/plonectl stop
instance: .
daemon process stopped
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller# sudo gedit /usr/local/Plone/zinstance/buildout.cfg
root@ubuntu:/home/knight/Plone-4.0.2-UnifiedInstaller#
回复

回到 “Python/Php/Perl”