掲示板

how to create portal instances in localserver?

8年前 に shankardayal vijayakumar によって更新されました。

how to create portal instances in localserver?

Junior Member 投稿: 49 参加年月日: 14/03/22 最新の投稿
dear all,

how to create 3 portal instances in localserver?

i am using liferay 6.2 ga 3...

thanks in advance
thumbnail
8年前 に Alexey Kakunin によって更新されました。

RE: how to create portal instances in localserver? (回答)

Liferay Master 投稿: 621 参加年月日: 08/07/07 最新の投稿
Hi! Each portal instance should have own domain.
You can use domains like instance1.localhost, instance2.localhost and instance3.localhost

Then you should go to file hosts (on unix systems it is in /etc/hosts, on windows somethere in system32/etc/host or something like this)

and add there lines:

127.0.0.1 instance1.localhost instance2.localhost instance3.localhost


After it you will able to use these domains to access your portal by different instances
8年前 に shankardayal vijayakumar によって更新されました。

RE: how to create portal instances in localserver?

Junior Member 投稿: 49 参加年月日: 14/03/22 最新の投稿
dear Alexey Kakunin,

thanks
it worked.

similarly how to create a separate portal-ext.properties for each portal instances?

thanks in advance...
thumbnail
8年前 に Ritesh Dhirubhai Gajera によって更新されました。

RE: how to create portal instances in localserver?

Junior Member 投稿: 66 参加年月日: 12/02/21 最新の投稿
You can create a separate portal-ext.properties for each portal instances.

Like as,
Portal Instance 1 for portal-ext.properties
Portal Instance 2 for portal-instance2.com.properties

After, You should define one entry which is "-Dcompany-id-properties=true" in setenv.bat file.
i.e,
set "JAVA_OPTS=%JAVA_OPTS% ............ .........-Dcompany-id-properties=true"
8年前 に shankardayal vijayakumar によって更新されました。

RE: how to create portal instances in localserver?

Junior Member 投稿: 49 参加年月日: 14/03/22 最新の投稿
dear Ritesh Dhirubhai Gajera,
im not able to create the portal-instance2.com.properties file.
please check ,is there any syntax i have missed.