How does mongodb start in the background on Aliyun server

  mongodb, question

How does mongodb start in the background, because mongo automatically shuts down after manually starting and closing the shell, but I want the mongo database to start and run on its own. What should I do?

The following is what I started manually:

clipboard.png

Well, set up the startup service.https://segmentfault.com/a/11 …