正向代理squid 以及tinyproxy的安装方法(centos8上)

  • 内容
  • 评论
  • 相关
https://github.com/tinyproxy/tinyproxy.github.io
//初始位置在,源码安装,因为没找到yum源
/root

git clone git://github.com/tinyproxy/tinyproxy
cd tinyproxy
autoreconf -i
./configure
make
cd docs/web
make

启动服务器代理tinyproxy方法
/root/tinyproxy/src/tinyproxy  -c  /root/tinyproxy/etc/tinyproxy.conf

杀掉之前进程重启方法


kill   -9    $(ps aux | grep  tinyproxy | grep -v grep  | tr -s ' '| cut -d ' ' -f 2)   &&   /root/tinyproxy/src/tinyproxy  -c  /root/tinyproxy/etc/tinyproxy.conf
ps aux | grep  tinyproxy | grep -v grep  | tr -s ' '| cut -d ' ' -f 2 |  xargs kill -9    &&   /root/tinyproxy/src/tinyproxy  -c  /root/tinyproxy/etc/tinyproxy.conf


《========================================================》


//yum安装
yum -y install squid 
vim  /etc/squid/squid.conf

//修改配置文件的服务端口以及允许所有访问
#http_access deny all
http_access allow all
http_port 5678

//启动服务,以及停止服务命令
systemctl  start   squid.service
systemctl  stop   squid.service

本文标签:

版权声明:若无特殊注明,本文皆为《菜鸟站长》原创,转载请保留文章出处。

本文链接:正向代理squid 以及tinyproxy的安装方法(centos8上) - http://wziyi.net/?post=292

发表评论

电子邮件地址不会被公开。 必填项已用*标注