Hi Mehmet,
On Thursday 20 July 2006 10:25, Mehmet, Levent (Accenture) wrote:
> Hi Peter
>
> Thanks
>
> Yes you are correct we installed our own self - compiled squid which is
> why I don't see the files.
>
> I shall install this package. Do you think there would be any confiction
> with the live squid running if I perform this task
It depends on where you installed your Squid files.
There are two options to get /etc/logrotate.d/squid on your system:
1) You stay with your self-compiled Squid. Then I recommend installing the
Squid package on another machine and copying /etc/logrotate.d/squid to your
"real" server. logrotate will detect the squid file and will rotate the log
files automatically, so no other action is required.
If you want/need to install the package on your "real" server, please check
first if it would overwrite some of your own files. To get the list of
files in the rpm package, do
rpm -qpl /path/to/the/squidpackage
But there are more than 1000 files in the package ...
2) Save your squid.conf and install the package from the installation media.
(Maybe remove all your self-installed squid files first to get a clean
system.) Then copy your configuration to /etc/squid/squid.conf and start
your Squid. Using Squid from the installation media also has the advantage
that you can use the start script /etc/init.d/squid. So you don't need to
modify anthing besides the configuration. And using rpm packages allows
easily for removing/updating packages with all dependencies and all files.
Do you have a special need why you can't use the Squid package provided on
the DVD/CD? Normally it should be fine using this package.
Regards,
Peter
-- Peter Albrecht, Novell Training Services, peter.albrecht@novell.comReceived on Thu Jul 20 2006 - 03:02:31 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT