L
L
logosan2015-05-26 08:54:04
ubuntu
logosan, 2015-05-26 08:54:04

How to make multiple sessions in terminal on vps?

Good day, I don’t know if I put the question correctly, but the problem is this. I decided to host the site on a VPS using node.js + mongodb. And after I start mongodb or node.js server, then you can't write anything in the terminal. How to solve this problem? Ubuntu Server 14.04
8ecfd7cdab4f4433a404c757d5d64aa8.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Luponos, 2015-05-26
@Bessome

For example, you can start like this:
But it's better to use "services" (service mysql start will start mnogodb)

V
Vlad Zhivotnev, 2015-05-26
@inkvizitor68sl

It is correct in this case to write an init script (or find a ready one).
In general - screen -R
ctrl-a , c = create a new terminal inside the screen
ctrl-a, [0-9] - switch between them
ctrl-a. d - "minimize" screen
Then you can return to it again with the command screen -R

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question