Skip to content

修改系统时区

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

安装 Wget

bash
yum install -y wget

安装 nslookup

bash
yum install bind-utils

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

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

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

Made with ❤️