Linux中Plone的升级方法
2012-09-04 02:11
204 查看
Ubuntu版本11.04,64bit AMD平台,从Plone4.0.7升级到4.1.3
1、/usr/local/Plone/zinstance/bin/plonectl stop;
2、先备份/usr/local/Plone文件夹,如拷贝成文件夹Plone_backup_4.0.7;
3、将/usr/local/Plone用mv命令改名成Plone.tmp;
4、从Plone.org下载linux下的安装包;-
5、解压缩,然后以root身份安装Plone 4.1.3,standalone模式。注意要指定密码与原站点密码一致。典型的安装命令的形式如: ./install.sh standalone --password=your password here;
6、安装成功后,运行plonectl start,打开浏览器察看http://localhost:8080看Plone运行是否正常;
7、编辑buildout.cfg,将监听端口由8080改成80;
8、cd /usr/local/Plone/zinstance,执行/bin/buildout命令重新配置Plone;
9、/usr/local/Plone/zinstance/bin/plonectl restart;
10、打开浏览器察看http://localhost,看端口更改的配置是否成功;
==============================================
11、停止服务,运行/usr/local/Plone/zinstance/bin/plonectl stop;
12、将/usr/local/Plone/zinstance/var下面的filestorage和blobstorage两个文件夹移动到### Orig file backup ###文件夹中作为备份;
13、将第3步中改名的Plone.tmp文件夹中zinstance/var下的filestorage和blobstorage两个文件夹移动到/usr/local/Plone/zinstance/var文件夹中;
14、/usr/local/Plone/zinstance/bin/plonectl start;
15、打开浏览器,http://localhost,Plone会提示你站点配置需要升级;
16、按浏览器中Plone的要求,升级站点,完成!
还有,关于升级文档,在/usr/local/Plone/Plone-docs文件夹下有一个名为“UPGRADE.txt”的文件,其内容如下:
How to upgrade a Plone site to a newer version
==============================================
This is a short version, more information can be found at
http://plone.org/upgrade.
1. Stop Plone / Zope
2. Always back up your Plone site. You should back up:
* Your Data.fs which contains your site data
* Any file system files you have modified
* Your blob storage if you are already using blobs
3. Install the new version of Plone, this depends upon your installation.
The latest version of Plone is always available from
http://plone.org/download and your install will depend upon your particular
setup.
4. Restart Plone / Zope
5. Open up the Zope root folder in a browser. It will show you an overview of
all installed Plone sites and tell you which ones need to be upgraded.
Follow the onscreen instructions.
Running the upgrade may:
* Change values you have set in the ZODB, for example actions and properties
* Re-catalog your portal_catalog, this may be time-consuming
* Reapply security to objects, this may be time-consuming
If you have issues please search for an update of your Python, Zope, Plone and
third-party add-ons and read http://plone.org/upgrade.
If you still have issues please the use the bug tracker at
http://dev.plone.org/plone and include: your Python version, the platform, the
Plone versions you are upgrading to and from and most
important: the full traceback and upgrade log. Try to provide as much
information as possible.
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2012-01/52519.htm
1、/usr/local/Plone/zinstance/bin/plonectl stop;
2、先备份/usr/local/Plone文件夹,如拷贝成文件夹Plone_backup_4.0.7;
3、将/usr/local/Plone用mv命令改名成Plone.tmp;
4、从Plone.org下载linux下的安装包;-
5、解压缩,然后以root身份安装Plone 4.1.3,standalone模式。注意要指定密码与原站点密码一致。典型的安装命令的形式如: ./install.sh standalone --password=your password here;
6、安装成功后,运行plonectl start,打开浏览器察看http://localhost:8080看Plone运行是否正常;
7、编辑buildout.cfg,将监听端口由8080改成80;
8、cd /usr/local/Plone/zinstance,执行/bin/buildout命令重新配置Plone;
9、/usr/local/Plone/zinstance/bin/plonectl restart;
10、打开浏览器察看http://localhost,看端口更改的配置是否成功;
==============================================
11、停止服务,运行/usr/local/Plone/zinstance/bin/plonectl stop;
12、将/usr/local/Plone/zinstance/var下面的filestorage和blobstorage两个文件夹移动到### Orig file backup ###文件夹中作为备份;
13、将第3步中改名的Plone.tmp文件夹中zinstance/var下的filestorage和blobstorage两个文件夹移动到/usr/local/Plone/zinstance/var文件夹中;
14、/usr/local/Plone/zinstance/bin/plonectl start;
15、打开浏览器,http://localhost,Plone会提示你站点配置需要升级;
16、按浏览器中Plone的要求,升级站点,完成!
还有,关于升级文档,在/usr/local/Plone/Plone-docs文件夹下有一个名为“UPGRADE.txt”的文件,其内容如下:
How to upgrade a Plone site to a newer version
==============================================
This is a short version, more information can be found at
http://plone.org/upgrade.
1. Stop Plone / Zope
2. Always back up your Plone site. You should back up:
* Your Data.fs which contains your site data
* Any file system files you have modified
* Your blob storage if you are already using blobs
3. Install the new version of Plone, this depends upon your installation.
The latest version of Plone is always available from
http://plone.org/download and your install will depend upon your particular
setup.
4. Restart Plone / Zope
5. Open up the Zope root folder in a browser. It will show you an overview of
all installed Plone sites and tell you which ones need to be upgraded.
Follow the onscreen instructions.
Running the upgrade may:
* Change values you have set in the ZODB, for example actions and properties
* Re-catalog your portal_catalog, this may be time-consuming
* Reapply security to objects, this may be time-consuming
If you have issues please search for an update of your Python, Zope, Plone and
third-party add-ons and read http://plone.org/upgrade.
If you still have issues please the use the bug tracker at
http://dev.plone.org/plone and include: your Python version, the platform, the
Plone versions you are upgrading to and from and most
important: the full traceback and upgrade log. Try to provide as much
information as possible.
本篇文章来源于 Linux公社网站(www.linuxidc.com) 原文链接:http://www.linuxidc.com/Linux/2012-01/52519.htm
相关文章推荐
- Linux/CentOS配置:使用yum update更新时不升级内核的方法
- Linux 升级内核步骤和方法
- linux升级内核,出现:mount:could not find filesystem‘/dev/root’的解决方法
- CentOS Linux 升级内核步骤、方法
- 展讯平台Linux下升级patch方法
- linux下动态库的升级方法
- linux下升级gcc支持C++11的方法
- 编译升级linux由2.4.20-8到2.6.10内核时,遇到的错误,以及解决方法
- CentOS Linux 升级内核步骤、方法
- 升级Linux内核的一般步骤方法
- Linux升级内核虽然我按照上面的方法没有成功,原因是镜像地址下载太慢导致的,后续知道怎么解决后在评论中给出方案
- linux /centos 中OpenSSL升级方法详解
- CentOS Linux 升级内核步骤和方法
- linux中tar的升级方法
- linux 系统升级方法介绍
- Linux内核升级方法详解
- openssl-1.1.0c在linux 64位下的升级方法
- linux 下安装升级firefox12(firefox最新版)的方法
- Linux下升级JAVA的一个小方法
- linux系统不同对象升级方法详细介绍