Search squid archive

Re: Possible to install squid to non-default directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Robertson wrote:
evan@xxxxxxxxxxxxxxxx wrote:
I am running a mutation of FREEBSD called Freenas, using it for serving my
files.  It works great, and I've had no issues with it.  I've decided
however that instead of building another server, I'd like to run Squid on
the same box.  This is where my problem lies.  I'm running an embedded
version of freenas, running it off a 2GB USB stick.  My mount is on a 4
disk raid 0 array. I am able to download and install squid to a directory
/mnt/RAID0/Apps/Squid,  however when I try to run it, it doesn't start as
it's lookign for files in /usr/local/etc, which is on my USB key. Is there a way to get it to re-reference the /mnt/RAID0/Apps/Squid folder,
so that it will run there?   I tried softlinking all the files it was
looking for but ran into problems with the icons directory.

You can just softlink directories instead of files (ln -s /usr/local/etc/squid /mnt/RAID0/Apps/Squid/etc).

Otherwise, just recompile Squid from source:
cd /path/to/squid/source
./configure --help
./configure --with-options-you-want
make install


The options you want being the whole first section starting with --prefix.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
  Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux