Step 1: Install Liferay IDE
Step 2: Add Liferay Portal as Server Runtime in the IDE
Step 3: Start Liferay Portal Server using the IDE
Step 4: Once the Liferay Portal Server Started, right click on the started server and open the Gogo Shell
Then open the Shell as below
After Clicking the “Open Gogo Shell” it will open the Shell in the IDE
Now we can execute various commands in the Shell. For example type lb and then enter to list out all the installed bundles.
____________________________ Welcome to Apache Felix Gogo g! lb START LEVEL 20 ID|State |Level|Name 0|Active | 0|OSGi System Bundle (3.10.200.v20150831-0856) 1|Active | 6|Liferay Util Taglib (2.4.0) 2|Active | 6|Liferay OSGi Utilities (3.0.2) 3|Active | 6|Liferay Petra XML (1.0.3) 4|Active | 6|Liferay Portal Configuration Metatype (2.0.2) 5|Active | 6|Liferay Portal Configuration Persistence (2.0.1) 6|Active | 6|Liferay Portal Log4j Extender (2.0.2) 7|Active | 6|Liferay Portal LPKG Deployer (2.0.3) 8|Active | 6|Liferay Portal OSGi Web Portlet Tracker (2.0.2) 9|Active | 6|Liferay Portal OSGi Web Servlet Context Helper (2.1.0) 10|Active | 6|Liferay Portal OSGi Web Servlet JSP Compiler (2.0.5) 11|Active | 6|Liferay Portal OSGi Web WAB Extender (2.0.6) 12|Active | 6|Liferay Portal OSGi Web WAB Generator (2.1.7) 13|Active | 6|Liferay Portal OSGi Web WAB Reference Support (1.0.3) 14|Active | 6|Liferay Portal Profile (1.0.2) 15|Resolved | 1|Liferay Portal Remote Dependency Manager TCCL (2.0.1) 16|Active | 6|Liferay Portal Target Platform Indexer (3.0.2) 17|Active | 6|Expression Language 3.0 (3.0.0) 18|Active | 6|JavaServer Pages(TM) API (2.3.2.b01) 19|Active | 6|javax.servlet.jsp.jstl (1.2.3.LIFERAY-PATCHED-2) 20|Active | 6|JavaServer Pages(TM) Standard Tag Library API (1.2.1) 21|Active | 6|Apache Aries JMX API (1.1.1) 22|Active | 6|Apache Aries JMX Core (1.1.3) 23|Active | 6|Apache Aries Util (1.0.0) 24|Active | 6|Apache Commons FileUpload Bundle (1.2.1) 25|Active | 6|Apache Commons IO Bundle (1.4.0) 26|Active | 6|Apache Felix Bundle Repository (2.0.2) 27|Active | 6|Apache Felix Configuration Admin Service (1.8.8) 28|Active | 6|Apache Felix Dependency Manager (3.2.0) 29|Active | 6|Apache Felix Dependency Manager Shell (3.2.0) 30|Active | 6|Apache Felix EventAdmin (1.4.6) 31|Active | 6|Apache Felix File Install (3.5.1.SNAPSHOT) 32|Active | 6|Apache Felix Gogo Command (0.12.0) 33|Active | 6|Apache Felix Gogo Runtime (0.10.0) 34|Active | 6|Apache Felix Gogo Shell (0.10.0) 35|Active | 6|Apache Felix Declarative Services (2.0.2) 36|Active | 6|Console plug-in (1.1.100.v20141023-1406) 37|Active | 6|Http Services Servlet (1.2.2.v20160401-1842) 38|Active | 6|Meta Type (1.4.200.v20150715-1528) 39|Active | 6|org.osgi.service.http (3.5.0.LIFERAY-PATCHED-2) 40|Active | 6|org.osgi:org.osgi.service.metatype (1.3.0.201505202024) 41|Active | 10|Liferay Collaboration (7.0.0) 42|Active | 10|Liferay Announcements Web (1.0.5) 43|Active | 10|Liferay Blogs API (3.0.1) 44|Active | 10|Liferay Blogs Editor Configuration (1.0.1) 45|Active | 10|Liferay Blogs Item Selector API (1.0.1) 46|Active | 10|Liferay Blogs Item Selector Web (1.0.2) 47|Active | 10|Liferay Blogs Layout Prototype (2.0.2) 48|Active | 10|Liferay Blogs Recent Bloggers Web (1.0.3) 49|Active | 10|Liferay Blogs Service (1.0.3) 50|Active | 10|Liferay Blogs Web (1.0.11) 51|Active | 10|Liferay Bookmarks API (2.0.1) 52|Active | 10|Liferay Bookmarks Service (1.0.7) 53|Active | 10|Liferay Bookmarks Web (1.0.9) 54|Active | 10|Liferay Comment API (2.0.1) 55|Active | 10|Liferay Comment Editor Configuration (1.0.1) 56|Active | 10|Liferay Comment Page Comments Web (1.0.2) 57|Active | 10|Liferay Comment Ratings Definition (2.0.1) 58|Active | 10|Liferay Comment Sanitizer (2.0.1) 59|Active | 10|Liferay Comment Web (1.0.5) 60|Active | 10|Liferay Directory Web (1.0.5) 61|Active | 10|Liferay Document Library API (3.0.2) 62|Active | 10|Liferay Document Library Item Selector Web (1.0.2) 63|Active | 10|Liferay Document Library Layout Set Prototype (2.0.2) 64|Active | 10|Liferay Document Library Repository CMIS API (1.0.3) 65|Active | 10|Liferay Document Library Repository CMIS Implementation (2.0.3) 66|Active | 10|Liferay Document Library Repository Search (2.0.1) 67|Active | 10|Liferay Document Library Service (1.1.2) 68|Active | 10|Liferay Document Library Web (1.0.10) 69|Active | 10|Liferay Flags API (2.0.1) 70|Active | 10|Liferay Flags Service (2.0.3) 71|Active | 10|Liferay Flags Taglib (2.0.2) 72|Active | 10|Liferay Flags Web (2.0.2) 73|Active | 10|Liferay Image Uploader Web (1.0.4) 74|Active | 10|Liferay Invitation Invite Members API (2.0.1) 75|Active | 10|Liferay Invitation Invite Members Service (2.0.4) 76|Active | 10|Liferay Invitation Invite Members Web (1.0.8) 77|Active | 10|Liferay Item Selector API (2.0.1) 78|Active | 10|Liferay Item Selector Criteria API (2.0.1) 79|Active | 10|Liferay Item Selector Editor Configuration (2.0.1) 80|Active | 10|Liferay Item Selector Taglib (1.0.6) 81|Active | 10|Liferay Item Selector Upload Web (2.0.1) 82|Active | 10|Liferay Item Selector URL Web (2.0.1) 83|Active | 10|Liferay Item Selector Web (2.0.2) 84|Active | 10|Liferay Mentions API (2.0.1) 85|Active | 10|Liferay Mentions Service (2.0.1) 86|Active | 10|Liferay Mentions Web (1.0.4) 87|Active | 10|Liferay Message Boards API (3.0.1) 88|Active | 10|Liferay Message Boards Comment (2.0.2) 89|Active | 10|Liferay Message Boards Layout Set Prototype (1.0.5) 90|Active | 10|Liferay Message Boards Parser BBCode (2.0.1) 91|Active | 10|Liferay Message Boards Service (1.0.5) 92|Active | 10|Liferay Message Boards Web (1.0.8) 93|Active | 10|Liferay Microblogs API (2.0.1) 94|Active | 10|Liferay Microblogs Service (2.0.3) 95|Active | 10|Liferay Microblogs Web (2.0.5) 96|Active | 10|Liferay Notifications Web (1.0.8) 97|Active | 10|Liferay Quick Note Web (2.0.1) 98|Active | 10|Liferay Ratings API (2.0.1) 99|Active | 10|Liferay Ratings Page Ratings Web (2.0.2) 100|Active | 10|Liferay Ratings Service (1.0.3) g!