Setting up Squid as your caching HTTP/FTP proxy
So now your rule section should look like this.
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR
# CLIENTS
#http_access deny all
http_access allow all
Three cheers and your proxy has been setup. Now you only need to make sure
that Squid starts every time your Linux box boots.
If your using RedHat then you can start in the following manner. Login as
Admin or "su" to root & use the "setup" command. Now enter the System
Services sub menu and enable Squid.
If your using SuSE then start YaST and go to "System Administration", then
go to "Change config File", then scroll down till you come to "START
SQUID" & just enable it from "NO" to "YES".
The next time you reboot your machine your Proxy will start automatically.
Before you start using squid you need to create the swap directories. Do
this by
/usr/sbin/squid -z
This just has to be done the first time.
To start Squid right now use the following command
bash#/etc/rc.d/init.t/squid start
There, you have setup, configured and started your proxy. Just make sure
your client's web browsers have the http proxy port setup as the same port
in your /etc/squid.conf file.
- « first
- ‹ previous
- of 3