Skip to content

Instantly share code, notes, and snippets.

View grasses's full-sized avatar
🎯
Focusing

grasses

🎯
Focusing
View GitHub Profile
@grasses
grasses / install-squid.sh
Last active June 9, 2017 06:19 — forked from cdodd/install-squid.sh
Install a basic squid proxy with authentication on Centos 6 x64. Just modify the variables at the top and run the script on a clean system.
#!/bin/sh
PROXY_USER=user
PROXY_PASS=password
PROXY_PORT=3128
# Clear the repository index caches
yum clean all
# Update the operating system