nohup + 命令 + &


nohup command &



例如:nohup node server.js &


fffnohup 作用是 即使关闭进程也能运行进程

& 作用是 是后台运行进程

切记不能直接推出,需要 用exit后再关闭