如何将Liferay门户从一台Windows机器迁移到另一台? [英] How to migrate Liferay portal from one windows machine to other?

查看:75
本文介绍了如何将Liferay门户从一台Windows机器迁移到另一台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从一台服务器到另一台服务器的Liferay迁移是必需的.任何人都可以在此共享将Liferay Portal 5.2.3从一台服务器迁移到另一台服务器的步骤.我正在使用Windows + Tomcat + MySql.

Liferay migration from one server to another help required. Can anyone share there steps for migration of Liferay portal 5.2.3 from one server to another. I am using Windows + Tomcat + MySql.

我已经将整个tomcat文件夹上载到了新的Windows计算机上,并且还导入了数据库,并对配置文件进行了相应的更改,例如数据库详细信息.

I have uploaded whole tomcat folder to the new windows machine and imported the database too with the corresponding change to the configuration file like Database details.

但是在启动tomcat服务器之后,它显示了一些错误,例如无法加载存储库 http://plugins.liferay.com ".知道为什么我会收到此错误吗?

But after starting the tomcat server it is showing some error like "Unable to load repository http://plugins.liferay.com". Any idea why I am getting this error ?

推荐答案

这些是我遵循的并能够成功迁移Liferay的步骤:

These are the steps that I have followed and able to migrate the Liferay successfully:

  1. 从第一台Windows计算机上备份Liferay文件和数据库.

  1. Take the backup of Liferay files and database from first windows machine.

在第二台Windows计算机上安装相同版本的Liferay(说Liferay 5.2.3).

Install the same version of Liferay (Say Liferay 5.2.3) on second windows machine.

关闭Liferay.

Shut down Liferay.

将数据库导入新系统.

添加带有相关条目的portal-ext.properties. (例如,数据库名称,用户名,密码等)

Add portal-ext.properties with relevant entries. (e.g Datbase Name, User Name , Pasword etc)

从旧计算机添加\ liferay-portal-5.2.3 \ data \ document_library文件.

Add \liferay-portal-5.2.3\data\document_library files from old machine.

启动tomcat.它将自动完成其余的工作.

Start the tomcat. It will automtically do the rest.

注意:在上述方法中,我尚未部署主题和自定义插件等,因此您还必须部署在旧系统上也使用的主题和自定义插件.

NOTE: In the above method I have not deployed Theme and custom plugins etc, you have to deploy Theme and custom plugins also that are used on old system.

这篇关于如何将Liferay门户从一台Windows机器迁移到另一台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆