查看当前运行的jar
ps -ef |grep java
停用指定jar
kill -9 进程id
后台启动jar
nohup java -jar wxmini1.jar >wxmini1Log.txt 2>&1 &
nginx 启动
/usr/local/webserver/nginx/sbin/nginx -c /usr/local/webserver/nginx/conf/nginx.conf
nginx 重启
/usr/local/webserver/nginx/sbin/nginx -s reload
检查nginx 配置文件
/usr/local/webserver/nginx/sbin/nginx -t
查看redis是否正在运行
ps -aux | grep redis
关闭redis
./usr/local/redis/bin/redis-cli
启动redis
/usr/local/redis/bin/redis-server /usr/local/redis/redis.conf
网友评论