another easy way to do this is to run:
[user@host]$screen
[user@host]$python manage.py runserver 0.0.0.0:8000
Now press Ctrl+A
and then press d
to exit from this screen.
This creates the server in a screen and then detaches it. This way you can simply go back in and type:
[user@host]$screen -r
and you can take control of the server again and see whats going on.
You can also detach from the screen immediately:
screen -d -m python manage.py runserver 0.0.0.0:8000
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…