标签:proxy upd 下载安装 debian download github proxysql dha key
安装
下载安装包:下载
下载完成后用系统包管理器安装程序:
wget https://github.com/sysown/proxysql/releases/download/v1.4.9/proxysql_1.4.9-ubuntu16_amd64.deb
dpkg -i proxysql_1.4.9-ubuntu16_amd64.deb
你也可以配置apt(deb/ubuntu)或者yum(centos/redhat/...)源来安装
Ubuntu / Debian:
配置repo
apt-get install -y lsb-release
wget -O - ‘http://repo.proxysql.com/ProxySQL/repo_pub_key‘ | apt-key add -
echo deb http://repo.proxysql.com/ProxySQL/proxysql-1.4.x/$(lsb_release -sc)/ ./ \
| tee /etc/apt/sources.list.d/proxysql.list
安装
apt-get update
apt-get install proxysql OR apt-get install proxysql=version
Red Hat / CentOS:
配置repo
cat <<EOF | tee /etc/yum.repos.d/proxysql.repo
[proxysql_repo]
name= ProxySQL YUM repository
baseurl=http://repo.proxysql.com/ProxySQL/proxysql-1.4.x/centos/\$releasever
gpgcheck=1
gpgkey=http://repo.proxysql.com/ProxySQL/repo_pub_key
EOF
安装
yum install proxysql OR yum install proxysql-version
标签:proxy upd 下载安装 debian download github proxysql dha key
原文地址:https://www.cnblogs.com/geek-ace/p/9523615.html