Hello,
I am trying to understand ICAP and ECAP services for a project at work, and am
finding that squid looks to be a good first step.
To that end, I want to learn how to install and configure squid3 on my home
laptop, running Ubuntu 10.4.
I think that rather than install the squid3 package from apt-get, I will
understand it better if I build it from source.
I've seen a number of how-tos and tutorials on the Internet that make it sound
all so simple, but somehow I'm not sure if I am doing right.
So, I have a number of questions.
1. I think the basic process is to:
download the source(squid-3.1.4.tar.gz) file(s), extract the files to a
directory.open a terminal , cd to the directory, and run .configure with the
desired switches to enable desired features(e.g. - ICAP, ECAP, SSL)run make
allrun make installconfigure squid through the squid.conf file
run squid -z to initialize cache filesrun squid as a service/daemonconfigure
browser to use proxy and port.
I want to build this iteratively, enabling features successively as I get them
to work.
Does this seem to be a reasonable approach?
Any tips?
2. Specific questions:
Do I need to prepare a directory structure first?
Any recommendations on a sequence of .configure switches to apply?what messages
should I pay attention to from the make all and make install commands to look
for problems?A friend recommended to me to run as root/su to ensure that the
make commands have proper permissions?I am confused about instructions to
create the squid user and group. How is it used, and what permissions should it
have?
TIA,
Albert Wang