Keep program running after you close putty session to your CentOS server

If you want to keep your program running after you close your putty session to your CentOS server, you could use the following method: 1. install screen
sudo yum install screen
2. start screen then type whatever process you want to keep running
screen
# the command you want to keep running
3. on keyboard issue ctrl-d 4. exist putty session 5. when you logon next time, you could restore the previous session by doing
screen -r
Please refer here for an alternative solution.

No comments:

Post a Comment

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...