简体   繁体   中英

Deploy multiple Java apps on a server

I have recently started playing around with Telegram bots. I found a host (digitalocean) that gives me a linux server that is enough for my needs. The tutorial that I read said that I need to run my jar files using through using the screen command.

However, as my app runs, I cannot do anything else on that screen. I can't start another app on it, either. So here comes the question - how can I host 2 java apps on one server?

Thanks for your help!

您可以尝试以下方法:nohup java -jar yourapp.jar&

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM