管理服务
# 启动服务
systemctl start mysql.service
systemctl start redis.service
systemctl start php-fpm.service
systemctl start nginx.service
systemctl restart nginx.service
# 查看服务是否运行
ps -ef|grep mysql
ps -ef|grep redis
ps -ef|grep php-fpm
ps -ef|grep nginx
# 查看nginx监听的端口
netstat -lnpt |grep nginx
# 设置开启自启
systemctl enable mysql.service
# 设置www目前的权限
chown -R www:www /home/www
杂项(仅仅是方便复制粘贴使用)
/etc/letsencrypt/renewal
/usr/local/nginx/conf/vhost
git clone git@git.dajxyl.com:eson/biglove-cms.git
git branch -a
git checkout -b sprint16 origin/sprint16
tar -vcf m.jar ./*
tar -xvf file.tar
账号密码
http://t1.log.dajxyl.com/
账号:root
密码:root123.
DEV服务器
SSH:121.196.47.141:10073 账号:root 密码:ng8899..
MYSQL:127.0.0.1:3306 账号:root 密码:root
T1服务器
SSH:121.196.47.141:10063 账号:root 密码:ng8899..
MYSQL:127.0.0.1:3306 账号:root 密码:root