htpasswd /etc/squid/passwd user1
chmod o+r /etc/squid/passwd
dpkg -L squid3 | grep ncsa_auth
vi /etc/squid/squid.conf
 
Append (or modify) following configration directive:
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

Also find out your ACL section and append/modify
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
Save and close the file.

0

Linux speed test and benchmarking commands are tools I use are these

For cpu:

sysbench --test=cpu --cpu-max-prime=20000 run

For network:

wget -O /dev/null http://speedtest.dal01.softlayer.com/downloads/test100.zip
wget -O /dev/null http://speedtest.sea01.softlayer.com/downloads/test100.zip
wget -O /dev/null http://speedtest.ams01.softlayer.com/downloads/test500.zip

For Disk write speed:

wget http://speedtest.ams01.softlayer.com/downloads/test500.zip
0