摘要: 1.CentOS系统安装NTP校时包 yum install ntp 2.CentOS系统校对时间命令 ntpdate cn.pool.ntp.org 阅读全文
posted @ 2020-06-24 15:37 子非鱼灬亦非我 阅读(874) 评论(0) 推荐(0) 编辑
摘要: 1. free free命令用于显示内存状态。 free指令会显示内存的使用情况,包括实体内存,虚拟的交换文件内存,共享内存区段,以及系统核心使用的缓冲区等。 语法: free [-bkmotV][-s <间隔秒数>] 参数: -b 以Byte为单位显示内存使用情况。 -k 以KB为单位显示内存使用 阅读全文
posted @ 2020-06-23 14:16 子非鱼灬亦非我 阅读(4628) 评论(0) 推荐(0) 编辑
摘要: 备份:create table sh_user_role_backup_20191219 as select * from sh_user_rolecreate table sh_org_type_backup_20191219 as select * from sh_org_type还原:INSE 阅读全文
posted @ 2019-12-19 15:27 子非鱼灬亦非我 阅读(149) 评论(0) 推荐(0) 编辑
摘要: //计算文件(MultipartFile)的MD5 private String getFileMd5(MultipartFile file) { byte[] uploadBytes = file.getBytes(); MessageDigest messageDigest = MessageD 阅读全文
posted @ 2019-10-25 11:02 子非鱼灬亦非我 阅读(242) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-25 11:01 子非鱼灬亦非我 阅读(2) 评论(0) 推荐(0) 编辑