cat /etc/chrony.conf server ntp.aliyun.com iburst stratumweight 0 driftfile /var/lib/chrony/drift rtcsync makestep 10 3 bindcmdaddress 127.0.0
替换镜像源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun
centos6 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo centos7 wget -O /etc/yum.repos.d/CentOS-B
在CentOS7下,已经不再使用chkconfig命令管理系统开机自启动服务和条件自定义脚本服务了,而是使用管理unit的方式来控制开机自启动服务和添加自定义脚本服务。在/usr/lib/systemd/system目录下包含了各种unit文件,有service后缀的服务unit,有target后缀
Curl # 输出参数介绍 curl —s # 省略进度条 curl -S # 省略进度条是出错时显示错误 curl -o 1.txt # 制定输出目录 curl -I # 只输出响应头,小写i:加上body # 输入参数 curl -A # UA信息 curl -b # cooki
!\[请输入图片描述\]\[1\] !\[请输入图片描述\]\[2\] !\[请输入图片描述\]\[3\] !\[请输入图片描述\]\[4\] \[1\]: https://img1.imgtp.com/2022/07/20/9IwvKCUU.png \[2\]: https://img1.imgt
!\[请输入图片描述\]\[1\] !\[请输入图片描述\]\[2\] \[1\]: https://img1.imgtp.com/2022/07/20/G1AaaL9P.png \[2\]: https://img1.imgtp.com/2022/07/20/y9muf6dg.png