摘要: [root@gr ~]# cat<<EOF>/script/tar_hours.sh> #!/bin/bash> tar cvf /tmp/services-`date +%F_%H`.tar /etc/services> EOF[root@gr ~]# cat /script/tar_hours. 阅读全文
posted @ 2018-07-09 16:48 viewshadow 阅读(180) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Jason_xcj/article/details/8264753 阅读全文
posted @ 2018-07-09 15:52 viewshadow 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 在网上找了一圈,结合自己情况,如下 使用镜像:CentOS-7-x86_64-DVD-1804.iso 原因: https://blog.csdn.net/moqiang02/article/details/38056831 安装系统的时选择的时区是上海,而CentOS默认bios时间是utc时间, 阅读全文
posted @ 2018-07-09 15:11 viewshadow 阅读(2397) 评论(0) 推荐(0) 编辑