且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将plone 4.2从Debian squeez迁移到Wheezy

更新时间:2023-09-15 17:34:28

通过复制文件,几乎无法将大型软件包从一台计算机移动到另一台计算机.例如,在这种情况下,将Plone安装设置为以特定的系统用户"plone"运行,而您在新计算机上没有该用户ID.

You can nearly never move a large software package from one machine to another by simply copying the files. In this case, for example, the Plone installation is set up to run as a particular system user, "plone", and you don't have that user ID on the new machine.

相反,请在新计算机上全新安装Plone,然后复制数据和自定义项.顺序可能应该是:

Instead, do a fresh install of Plone on the new machine, then copy over the data and customizations. The order should probably be:

1)在新机器上进行全新安装,并尽可能在旧机器上建模;测试一下;

1) Do a fresh install on the new machine, modeled as closely as possible on the old; test it;

2)复制实例.cfg文件以及./src中的任何内容;测试;

2) Copy the instance .cfg files and anything in ./src; test it;

3)注意您的资源的所有权和权限;焦油在目标机器上打开包装;检查所有权和权限;进行测试.

3) Note the ownership and permissions of your sources; tar it; unpack on the destination machine; check ownership and permissions; test it.

如果您要从一个Plone版本迁移到另一个版本,您不应该简单地复制.cfg文件.而是从您的egg =和develop =列表转移自定义项.测试以查看是否有任何自定义设置破坏了新的Plone.有关详细信息,请参阅升级指南.包迁移.传输数据时,请匹配目标(而非源)的所有权和权限.为安装中的每个Plone实例运行Plone迁移过程. 4.2-> 4.3是一个非常轻松的升级.

If you are migrating from one Plone version to another, you should not simply copy the .cfg files. Instead, transfer customizations from your eggs= and develop= lists. Test to see if any customizations break the new Plone. Consult the upgrade guide for details on package migration. When transferring your data, match the ownership and permissions from the target, not the source. Run the Plone migration process for each Plone instance in your install. 4.2 -> 4.3 is a largely painless upgrade.