I do ssh on my terminal to run my liferay.
I use this command
ssh user@server.com
password: *****
cd tomcat/bin/
./catalina.sh run
Now when I run this command this will run my liferay just fine but when I exit my terminal it will also shut down my Liferay. causing my site to return “Service Temporarily Unavailable“
What is the proper way to run catalina script? Do I really need to keep my Terminal open to keep my server running? I think there’s something wrong to what I did.
Using Liferay 6.0
Please advice.
Thank You!
You can either use the
startup.shscript that usually ships with Tomcat (runs tomcat in the background) or use one of the many popular backgrounding techniques (nohup,screen, etc).