We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
路径Quick-Installation-ZABBIX-master\zabbix6\centos-7.sh
sudo tee /etc/yum.repos.d/MariaDB.repo <<EOF
[mariadb] name = MariaDB baseurl = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/11.0/centos7-amd64 gpgkey=https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB gpgcheck=1 EOF
sudo rpm --import https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
sudo yum update -y
The text was updated successfully, but these errors were encountered:
No branches or pull requests
路径Quick-Installation-ZABBIX-master\zabbix6\centos-7.sh
这段语句有问题,国内用户无法访问:
安装mariadb源
echo '安装mariadb源...'
sudo curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=11.0
修正建议如下:
创建 MariaDB 仓库配置文件
sudo tee /etc/yum.repos.d/MariaDB.repo <<EOF
MariaDB 11.0 CentOS repository list - created 2024-06-24 08:00 UTC
https://mirrors.tuna.tsinghua.edu.cn/
[mariadb]
name = MariaDB
baseurl = https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/11.0/centos7-amd64
gpgkey=https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
导入 MariaDB GPG 密钥
sudo rpm --import https://mirrors.tuna.tsinghua.edu.cn/mariadb/yum/RPM-GPG-KEY-MariaDB
更新包索引
sudo yum update -y
The text was updated successfully, but these errors were encountered: