centos8 yum无法安装tinyproxy 故可以用squid 替代之:
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