Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Georgie Howard
moving dev to production issues?
19 de abril de 2012 1:17
Respuesta

Georgie Howard

Ranking: New Member

Mensajes: 3

Fecha de incorporación: 19 de abril de 2012

Mensajes recientes

Hi all,

Hope someone can help me,

I have been working on this problem for a few day but can not solve it.

I have developed a portal system on my development machine, and need to place it on a hosted server, but at first i am testing how easy it is to move the installion across onto a spare laptop.

Attempt 1:
I have install Liferay (same version) on the laptop and install mySQL database.
i have followed the backup instruction but still can not get it to work : http://www.liferay.com/community/wiki/-/wiki/Main/Back+Up+Liferay

Attempt 2:
Installed Liferay
Created a new database in utf8, but when i go the setup wizard, it will not allow me to change the default database? : http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/using-liferay-s-setup-wizard

I need to be able to do this so i can move it to a Linux box later this week.

Thanks in advance

Georgie
Ravi Kumar Gupta
RE: moving dev to production issues?
19 de abril de 2012 1:52
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1041

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

Hi,
What is that you are getting on the screen, can you please show.

I hope you are taking care of this
Once you have your database created, create a user which can do anything to the database, including create and drop tables. It's important that this user has complete rights over the Liferay database, because Liferay manages its own tables. Once you have your database and the credentials for this user, you can continue.
Jelmer Kuperus
RE: moving dev to production issues?
21 de abril de 2012 14:41
Respuesta

Jelmer Kuperus

Ranking: Liferay Legend

Mensajes: 1187

Fecha de incorporación: 10 de marzo de 2010

Mensajes recientes

just copy the portal-setup-wizard.properties from your local development machine, or even easier, just copy your complete liferay folder including data dir

Dump your database like this

mysqldump -uroot -pyourpassword yourdatabasename > my.dump

Import your database like this

create database yourdatabasename default character set utf8;
grant all on yourdatabasename.* to yourliferayuser@localhost identified by 'yourliferayuserpassword';

mysql -uyourliferayuser -pyourliferayuserpassword < my.dump
Hitoshi Ozawa
RE: moving dev to production issues?
21 de abril de 2012 17:49
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 8000

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

I usually just turn the setup wizard off because it really creates havoc to the system.

Just set the following property in the portal-ext.properties file.
setup.wizard.enabled=false