proxysql-安装部署

一、简介

有关proxysql的所有运维知识可以从官网中获取,安装的具体内容可以看安装文档

二、安装方式:

1.利用debian包安装

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

2.centos安装

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

3.利用apt在ubutu安装

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

你可能感兴趣的:(proxysql,代理模式)