Now we already have an Liferay IDE, and SDK plugins in our Eclipse. We will now setup the Liferay Portal 6.1 Bundled with tomcat(you can choose any servlet container or web server, for this tutorial I will choose Tomcat). Here are the steps:

  1. Download Liferay Portal 6.1 in this link: http://www.liferay.com/downloads/liferay-portal/available-releases
  2. Extract the File in your selected folder.
  3. In Eclipse. Go to Go to Window > Preferences > Server > Runtime environments. 
  4. Click Add to add a new Liferay runtime and find “Liferay v6.1 (Tomcat 7)” under the Liferay, Inc. category and click Next. 
  5. Click Browse and select the location of the liferay-portal-6.1.1.ce.ga2 directory.
  6. The Liferay Tomcat Directory field will now be populated. Click Finish. .
  7. Liferay portal runtime is now available in the list of runtimes in the preference page. 
  8. Click Ok to save the runtime preferences.
  9. We will now add the Server. On the servers tab, right click and select New. 
  10. Find the Liferay, Inc category and select the Liferay v6.1 Server and choose the Liferay v6 Runtime that we had previously created. 
  11. Click Finish. Liferay Server is now available.  
  12. Start the Server.
  13. Once the server is started. We can now access our Liferay Page by typing this address in web browsers: http://localhost:8080/ 

Hope it helps. 🙂

Credits to: http://www.liferay.com/documentation/

Advertisements