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 Allegati
20738 Visualizzazioni
Media (1 Voto)
La media del punteggio è 3.0 stelle su 5.
Commenti
Commenti Autore Data
Hi there. What's the essential difference... Vincent Liu 18 agosto 2011 22.55
* Some additional information: (1) By default... Tirthal Patel 24 gennaio 2013 1.11
I've tried logging into new instance with... Khoi Nguyen 12 dicembre 2014 19.00

Hi there.

What's the essential difference between accessing the URL www.127.0.0.1:8080 from www.vcvijayan.com:8080
Inviato il 18/08/11 22.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.
Inviato il 24/01/13 1.11.
I've tried logging into new instance with test@newdomain.com with password test. no luck. how do i get it?
Inviato il 12/12/14 19.00 in risposta a Tirthal Patel.