Creating Portal Instances

Environment:

Liferay Version → liferay-portal-tomcat-6.0-6.0.2

Database → Mysql

Java Version → jdk 1.6

 

Step 1: Setup liferay and mysql database.

Step 2: Start the server and login as administrator.

Step 3: Navigate to Manage → Control Panel → Portal Instances.

Step 4: By default only one portal instances will be available. Now click on add and add the www.vcvijayan.com portal instances.

Step 5: Click on save, now new portal instances has been created. Like this you can create n number of portal instances.

Step 6: Now we need to mention our virtual host name in our hosts file. Which is available under

C: → Windows → System32 → Drives → etc → hosts file.

Step 7: Append the following line at the end and save it.

127.0.0.1 www.vcvijayan.com

Note: For editing the file you need system administrator permission.

Step 8: Now shutdown and start the server.

Step 9: Now access the following URL in browser www.vcvijayan.com:8080. Now new portal instances will run on liferay server.

0 附件
20742 查看
平均 (1 投票)
满分为 5,平均得分为 3.0。
评论
讨论主题回复 作者 日期
Hi there. What's the essential difference... Vincent Liu 2011年8月18日 下午10:55
* Some additional information: (1) By default... Tirthal Patel 2013年1月24日 上午1:11
I've tried logging into new instance with... Khoi Nguyen 2014年12月12日 下午7:00

Hi there.

What's the essential difference between accessing the URL www.127.0.0.1:8080 from www.vcvijayan.com:8080
在 11-8-18 下午10:55 发帖。
* Some additional information:
(1) By default all portal instances refers to same database, however all would have seperate data like users, groups, organizations, sites... So if we create one new portal instance, we can not login using other portal's user credential.
(2) I didn't find information on what can be default user credential for newly created portal instance! So i found it from database tables - (i) Find company-id from "company" table for new portal instance and you may refer "virtualhosts" table for virtual hosts entry (ii) in "user_" table you can see what all users are for required company-id & using those you can login to new portal instance
(3) In my case, it created default user as "test@<mail-domain-of-new-portal-instance>". I anticipate Liferay refers "portal.properties" configuration for creating default user credetial of portal instance.
在 13-1-24 上午1:11 发帖。
I've tried logging into new instance with test@newdomain.com with password test. no luck. how do i get it?
在 14-12-12 下午7:00 发帖以回复 Tirthal Patel