有关proxysql的所有运维知识可以从官网中获取,安装的具体内容可以看安装文档
wget https://github.com/sysown/proxysql/releases/download/v2.5.5/proxysql_2.5.5-dbg-ubuntu16_amd64.deb
dpkg -i proxysql_2.5.5-dbg-ubuntu16_amd64.deb
cat <<EOF | tee /etc/yum.repos.d/proxysql.repo
[proxysql_repo]
name= ProxySQL YUM repository
baseurl=https://repo.proxysql.com/ProxySQL/proxysql-2.5.x/centos/$releasever
gpgcheck=1
gpgkey=https://repo.proxysql.com/ProxySQL/proxysql-2.5.x/repo_pub_key
EOF
yum install proxysql OR yum install proxysql-version
apt-get install -y --no-install-recommends lsb-release wget apt-transport-https ca-certificates gnupg
wget -O - 'https://repo.proxysql.com/ProxySQL/proxysql-2.5.x/repo_pub_key' | apt-key add -
echo deb https://repo.proxysql.com/ProxySQL/proxysql-2.5.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