開機啟動 sudo update-rc.d -f nginx defaults 啟動 sudo /etc/init.d/nginx start 查看配置的文件 nginx -t 后臺啟動 nohup redis-server &