Tuesday 29 August 2017

Access Gogo Shell in Liferay 7

Access Gogo Shell in Liferay 7

To access Gogo shell your server must be running...

Their are two ways to access Gogo shell 

1st Option

We can open Gogo Shell using Liferay IDE or Eclipse simply by right clicking on server and clicking Open Gogo Shell




This will open Gogo shell terminal in your IDE 


Option 2 

Open command prompt and hit the command

telnet localhost 11311

Important Gogo shell command

1) List Bundle Command i.e lb command

Type lb and hit Enter this will list all modules in liferay with its Id State and Name as shown bellow




2)Using grep command along with lb command:

lb command list all module available in liferay
Using grep along with liferay will narrow list of module to what we want to see

Example


Open Gogo Shell and hit following command


lb | grep Journal




This will list down only modules related to Journal

You can replace Journal with any other module name you wish to see...

3)start and stop command


You can start and stop module using simple start and stop command along with id of module


Example start 420

               stop 420

No comments:

Post a Comment