yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
创建proxy目录
依次下载三个文件
proxypool
https://pan.geekrabbit.top/?explorer/share/fileOut&shareID=7tywdr6g&path=%7BshareItemLink%3A7tywdr6g%7D%2F%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%2Fproxypool%2Fproxypool
config.ymal
https://pan.geekrabbit.top/?explorer/share/fileOut&shareID=7tywdr6g&path=%7BshareItemLink%3A7tywdr6g%7D%2F%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%2Fproxypool%2Fconfig.yaml
sourcel.ymal
https://pan.geekrabbit.top/?explorer/share/fileOut&shareID=7tywdr6g&path=%7BshareItemLink%3A7tywdr6g%7D%2F%E8%84%9A%E6%9C%AC%E6%96%87%E4%BB%B6%2Fproxypool%2Fsource.yaml
下载好文件后重命名,并设置proxypool为755权限
宝塔网站里添加一个网站,域名为刚刚解析好并填入配置文件的网址
申请一个 ssl 证书,并打开强制 https
ssh启动进入/proxy
nohup ./proxypool -c config.yaml 1>>run.log 2>>run.log &
访问成功
cd /proxy ps -ef kill -s 9 4383 # 每个人的 PID 是不一样的
再次启动使用启动命令即可
nohup ./proxypool -c config.yaml 1>>run.log 2>>run.log &
原文链接