public:squid_update_proxy
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:squid_update_proxy [2020/03/11 18:20] – [Serverside] jehaverlack | public:squid_update_proxy [2024/01/25 03:31] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| A light weight Squid Proxy can be used to cached RPM and Deb packages for both RedHat (CentOS) and Debian based Linux systems. | A light weight Squid Proxy can be used to cached RPM and Deb packages for both RedHat (CentOS) and Debian based Linux systems. | ||
| + | See: https:// | ||
| ===== Serverside ===== | ===== Serverside ===== | ||
| Line 32: | Line 33: | ||
| </ | </ | ||
| + | Use htpasswd to create the password file with the **update-user**: | ||
| + | < | ||
| + | sudo htpasswd -c / | ||
| + | </ | ||
| + | ==== Firewall ==== | ||
| + | Be sure to open up firewall services for squid on port 3128. | ||
| + | |||
| + | e.g. on CentOS 7,8 | ||
| + | < | ||
| + | firewall-cmd --zone=public --add-service=squid --permanent | ||
| + | </ | ||
| ===== Clientside ===== | ===== Clientside ===== | ||
| + | |||
| + | ==== RedHat / CentOS ==== | ||
| + | On YUM clients append the following lines to | ||
| + | |||
| + | **/ | ||
| + | < | ||
| + | proxy=http:// | ||
| + | proxy_username=update-user | ||
| + | proxy_password=******** | ||
| + | </ | ||
| + | |||
| + | ==== Debian / Ubuntu / Raspbian ==== | ||
| + | On apt-get Clients create the file: | ||
| + | |||
| + | / | ||
| + | < | ||
| + | Acquire:: | ||
| + | </ | ||
| + | |||
| + | |||
| + | Then run apt-get update or apt-get install a package | ||
public/squid_update_proxy.1583950817.txt.gz · Last modified: (external edit)
