json在线排版
https://www.json110.com/index.html#
矫正时间
1.ntpdate -u cn.pool.ntp.org #在92和122服务器上面校正时间
2.在122机器上面查看时间差距
clockdiff 172.31.240.44
clockdiff 10.70.56.92
3.在92上面查看时间差距
clockdiff 172.31.240.44
ubuntu
重新启动ntp服务:service ntp restart
vim /etc/ntp.conf
查看差距
clockdiff 172.31.240.44
clockdiff 10.70.56.92
centos停止ntp服务
systemctl stop ntpd.service
centos重新启动ntp服务
systemctl restart ntpd.service
查看其状态
systemctl status ntpd.service
查看其时间同步状态
ntpq -p
更新软件列表
sudo apt update
2.安装clockdiff
sudo apt install iputils-clockdiff
主键自增从1开始
alter table port_warn_detail_parking drop id; -- 删除已存在数据的主键id值(不会删除数据)
alter table port_warn_detail_parking add id int not null primary key auto_increment first;
部署服务
nohup java -jar harbourtransport-0.0.1-SNAPSHOT.jar > /dev/null 2>&1 &
nohup java -jar hdpfmepservice-0.0.1-SNAPSHOT.jar > /dev/null 2>&1 &