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
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
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
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
Other Useful Post
Thank you
Happy Leaning.
No comments:
Post a Comment