个人工具
104.160.18.24
该IP地址的讨论
登录
查看“Index/python/InstallPloneInBreezy”的源代码 - Ubuntu中文
页面
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“Index/python/InstallPloneInBreezy”的源代码
来自Ubuntu中文
←
Index/python/InstallPloneInBreezy
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== Breezy 下 Plone 的安装指南 == ---- 本文出处:www.ubuntu.org.cn 本文作者:OneLeaf 翻译人员:无 校对人员:无 适用版本:5.10 ---- === 什么是 Plone === Plone是一个开放源代码的企业内容管理系统. === 如何安装 === 现在开始安装Plone: 打开 应用程序 -> 附件 -> 终端 <pre><nowiki> sudo apt-get install plone plone-site </nowiki></pre> 随后将弹出的Plone的管理员帐号,输入密码,确定,端口就使用默认的8081,确定。 === 增加plone的站点 === 安装完毕后,打开firefox,在地址栏输入: <pre><nowiki> http://127.0.0.1:8081/manage </nowiki></pre> 将提示输入刚才的帐号和密码,输入完毕后,确定进入。进入后如图1。 attachment:InstallPlone01.png 在打开网页的左上脚选择下拉框,选择 Plone Site,在点击旁边的 Add 按钮。点击完成后,如图2, attachment:InstallPlone02.png 你可以输入 id 为 plone 点击 Add Plone Site 按钮。 增加完成后,如图3所示: attachment:InstallPlone03.png 同时你可以直接在地址栏输入http://127.0.0.1:8081/plone 打开你的站点,如图4所示。 attachment:InstallPlone04.png 点击打开的网页右上脚的选项如图5 attachment:InstallPlone05.png 如果需要进行个人的设置,直接点击中间的个人选项就好了,我们下面进行网站的一些设置,点击左边的 网站设置,修改 站点标题 为你自己的网站表体,同时 将默认语言修改为 Chinese。点击网页下方的 保存 按钮,如图6 attachment:InstallPlone06.png === 与 Apache 集成 === 以下部分是我们来设置一个可以直接访问到plone的网址,不需要这样输入端口和后面的plone名称。 这里假设你的站点的域名为 www.mydomain.com 如果没有可以使用本地的IP地址代替。 安装apache2:同样我们在终端中输入: <pre><nowiki> apt-get install apache2 </nowiki></pre> 安装完毕后继续输入: <pre><nowiki> sudo a2enmod rewrite sudo a2enmod proxy </nowiki></pre> 再编辑站点配置文件 <pre><nowiki> sudo gedit /etc/apache2/sites-enabled/000-default </nowiki></pre> 将其改为如下格式(以 ubuntu.org.cn 为例) <pre><nowiki> <VirtualHost *> ServerAdmin webmaster@localhost ServerName ubuntu.org.cn ServerAlias www.ubuntu.org.cn CustomLog /var/log/apache2/www.ubuntu.org.cn-access.log combined RewriteEngine on RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/www.ubuntu.org.cn:80/plone/VirtualHostRoot/$1 [L,P] <Proxy *> Order Deny,Allow Deny from all Allow from all </Proxy> </VirtualHost> </nowiki></pre> 如果是内网,假设IP为192.168.1.124,直接使用IP如下: <pre><nowiki> <VirtualHost *> ServerAdmin webmaster@localhost ServerName ubuntu.org.cn ServerAlias www.ubuntu.org.cn CustomLog /var/log/apache2/www.ubuntu.org.cn-access.log combined RewriteEngine on RewriteRule ^/(.*) http://127.0.0.1:8081/VirtualHostBase/http/192.168.1.124:80/plone/VirtualHostRoot/$1 [L,P] <Proxy *> Order Deny,Allow Deny from all Allow from all </Proxy> </VirtualHost> </nowiki></pre> 保存文件,并关闭编辑器,重新启动apahe2服务。 好了,我们现在直接在地址栏输入: http://192.168.1.124 这里是上面输入的IP地址,你也可以输入你的域名或者改为你的IP地址。如图7所示: attachment:InstallPlone07.png 安装结束。
返回至
Index/python/InstallPloneInBreezy
。