修改系统时区

1\cp -f /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

安装 Wget

1yum install -y wget

安装 nslookup

1yum install bind-utils

获取远程脚本到本地并执行

1#1. 获取脚本
2wget "https://-----/---.sh"
3#2. 增加脚本可执行权限
4chmod +x "---.sh"
5#3. 执行脚本
6./"---.sh"

CentOS 安装软件提示 Another app is currently holding the yum lock