nginx
# 状态查询
systemctl status nginx.service
# 重启
cd /usr/local/webserver/nginx/sbin
./nginx -s reload
redis
# 状态查询
systemctl status redis.service
# 重启
systemctl restart nginx.service
mongodb
# 状态查询
systemctl status mongodb.service
# 重启
/usr/local/webserver/mongodb/bin/mongod --config /usr/local/webserver/mongodb/bin/mongodb.conf
node版本查询
node -v
网友评论