实时查看日志
tail -f cdx-api-1.0.log
随机查询三条数据
ORDER BY rand() LIMIT 3
查询创建字段时间大于30分钟的数据
TIMESTAMPDIFF( MINUTE, create_time, NOW( ) ) > 30
nginx配置ssl证书
http://t.csdn.cn/AOGDs
解压tar包
tar -zxf keepalived-2.0.20.tar.gz
永久关闭防火墙
systemctl disable firewalld
后台挂载输出日志线上调试运行
https://blog.51cto.com/u_15535797/6076205
nohup java -Xdebug -Xrunjdwp:transport=dt_socket,address=63456,server=y,suspend=n -jar cdx-api-1.0.jar > cdx-api-log/cdx-api-1.0.log g 2>&1 &
后台挂载输出日志运行
nohup java -jar cdx-cms.jar > cdx-cms-log/cdx-cms-1.0.log g 2>&1 &
nohup java -jar cdx-api-1.0.jar > cdx-api-log/cdx-api-1.0.log g 2>&1 &
查看java进程
ps -aux|grep java
重启nginx
./nginx -s reload