Re: [squid-users] Installing Squid Issue

From: Edward Mann <[email protected]>
Date: 07 Nov 2002 10:03:29 -0600

The squid directory should have been something that you specified at
build time

--exec_prefix=/usr --bindir=/usr/sbin --libexecdir=/usr/lib/squid \
--localstatedir=/var --sysconfdir=/etc/squid \

so when you do a make install it should make the directory and install
some files into it.

So if you are going to to a squid -z you probably have edited squid.conf
somewhere? If that is the case then you can use that file when you try
to start squid -f.

On Thu, 2002-11-07 at 09:52, Technology Listserves wrote:
> Thank you for your response. At what point is the etc/squid directory created? I have squid installed to /usr/local/squid. The squid.conf file is currently in /usr/local/squid/etc. I start squid from /usr/local/squid/sbin.
>
> I haven't done many changes to the suid.conf file yet as I want to see the squid can initiate before I invest time into configuring the squid.conf file.
>
> >>> Edward Mann <edward@arctechnology.com> 11/07/02 09:49AM >>>
> Okay i'm not sure but do you have a squid.conf file on your server. If
> you are starting this from the command line are you telling it what conf
> file to use. ie. #squid -z -f /etc/squid/squid.conf, or are you starting
> the file from init.d?
>
> I take it that you have modified the squid.conf file to fit your needs?
>
> Later.
>
>
> On Thu, 2002-11-07 at 09:24, Technology Listserves wrote:
> > Good Morning.
> >
> > I recently rebuilt our test squid server with RedHat 8.0. Now I am having problems with the squid install. I downloaded the squid-2.5.STABLE1.tar.gz file from www.squid-cache.com. After running the gunzip and tar commands, I followed the directions from the INSTALL file which was to perform the following commands:
> >
> > ./configure --prefix=/usr/local/squid
> > make all
> > make install
> >
> > To start squid, I use a terminal window and go to /usr/local/squid/sbin. Then I type:
> > squid -z
> > squid -N -d1 -D
> >
> > However:
> >
> > When I type squid -z, I get this error: -bash: squid: command not found.
> > After further investigation, I see that there is no /etc/squid folder (I think that is where it should be).
> >
> > If I use the rpm package (2.4), all works, however, I would rather install from the source code and have 2.5.
> >
> > Any suggestions or pointers would be greatly appreciated. Thanks,
> > Tim
> >
>
Received on Thu Nov 07 2002 - 09:02:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:13 MST