How do I keep my Minecraft Server running 24/7 without being connected via SSH?

September 14, 2017 381 views
Miscellaneous Ubuntu 16.04

I'm going to transfer my LAN server to a DigitalOcean Ubuntu server. How can I keep my server running without being logged into the SSH client all the time?

1 Answer

I wrote a post some time ago back in October 2015 on how to run a Minecraft server on Debian 8. You may find this useful? It is rather old now so I'm not completely sure how relevant it still is.

You're looking for something like screen to keep the SSH session persistent. Context on these two commands below is given in the above link.

  • sudo apt-get install screen
  • screen ./

There are other choices outside of screen but this should suffice.

Have another answer? Share your knowledge.