Blame tests/p_squid/0-install_squid.sh
|
Athmane Madjoudj |
765ebf |
#!/bin/bash
|
|
Athmane Madjoudj |
765ebf |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Athmane Madjoudj |
765ebf |
|
|
Athmane Madjoudj |
765ebf |
t_Log "$0 - installing Squid"
|
|
Athmane Madjoudj |
765ebf |
t_InstallPackage squid
|
|
Athmane Madjoudj |
51566d |
|
|
Athmane Madjoudj |
51566d |
# Add host entry
|
|
Athmane Madjoudj |
51566d |
echo "127.0.0.1 `hostname`" >> /etc/hosts
|
|
Athmane Madjoudj |
51566d |
|
|
Athmane Madjoudj |
51566d |
service squid restart
|
|
![](https://seccdn.libravatar.org/avatar/5ee4a5868feec154826c1c20b7dbff96e1c2b23222b39ecb3814404ccdffe2fd?s=16&d=retro) |
c86d2c |
t_CheckForPort 3128
|
|
![](https://seccdn.libravatar.org/avatar/5ee4a5868feec154826c1c20b7dbff96e1c2b23222b39ecb3814404ccdffe2fd?s=16&d=retro) |
c86d2c |
|