RE: install squid from source cords

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

 



To compile squid from source, you need to unpack the tar archive, go to
the directotro to which it has been unpacked and issue './confugure'
command with the desired options. The options will specify the SQUID
features which will be present in the complied SQUID program. This will
prepare source files and Makefiles for compilation with the desired
features. Then you should issue 'make' command to compile the source.
Then issue the command 'make install' to copy the compiled SQUID program
and other files (such as configuration and web pages with error message
s) to the locations where those files will be used.
The detailed description of the compilation process could be found at:
http://squid-docs.sourceforge.net/latest/html/x220.html

Then you should specify the runtime configuration in the file
'squid.conf'. The guides with description of run-time configuration and
usage of SQUID could be found at:
http://squid-docs.sourceforge.net/latest/html/book1.html
or on the SQUID website:
http://www.squid-cache.org/Doc

Alexey Fadyushin
Brainbench MVP for Linux.
http;//www.brainbench.com

> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of lasa
> Sent: Monday, November 28, 2005 2:52 PM
> To: General Red Hat Linux discussion list
> Subject: Re: install squid from source cords
> 
> Pls tell me the exect steps for this kink of approach, Installing
squid
> from
> source codes and bring up the service...... It is better that u can
send
> me
> a URL regarding this....
> Thanks for your help...
> 
> Lasantha
> 
> On 11/28/05, Emilio Casbas <ecasbas@xxxxxxx> wrote:
> >
> > lasa wrote:
> >
> > >I try to use squid-2.5.STABLE12.tar.gz, by untar it and compiling
and
> > >install it according to the instructions on INSTALL and QUICKSTART
> > >files comes with the packge.
> > >
> > >After I ran it want work. (I am having good experience in using
squid
> > >rpm packge )ps -A command shows the service running but cacheing
and
> > >proxing is not happening in it.If I ran it as a teminal window it
> > >shows the following error
> > >
> > >
> > >[root@angle root]# /usr/local/squid/sbin/squid -N -d1
> > >WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
> > >/usr/local/squid/var/logs/cache.log: Permission denied
> > >         messages will be sent to 'stderr'.
> > >2005/11/27 18:47:39| WARNING: Closing open FD    2
> > >2005/11/27 18:47:39| Starting Squid Cache version 2.5.STABLE12 for
> > >i686-pc-linux-gnu...
> > >2005/11/27 18:47:39| Process ID 4254
> > >2005/11/27 18:47:39| With 1024 file descriptors available
> > >2005/11/27 18:47:39| Performing DNS Tests...
> > >2005/11/27 18:47:39| Successful DNS name lookup tests...
> > >2005/11/27 18:47:39| DNS Socket created at 0.0.0.0, port 32769, FD
3
> > >2005/11/27 18:47:39| Adding nameserver 203.115.0.1 from
> /etc/resolv.conf
> > >2005/11/27 18:47:39| Adding nameserver 2[root@angle root]#
> > >/usr/local/squid/sbin/squid -N -d1
> > >WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
> > >/usr/local/squid/var/logs/cache.log: Permission denied
> > >         messages will be sent to 'stderr'.
> > >2005/11/27 18:47:39| WARNING: Closing open FD    2
> > >2005/11/27 18:47:39| Starting Squid Cache version 2.5.STABLE12 for
> > >i686-pc-linux-gnu...
> > >2005/11/27 18:47:39| Process ID 4254
> > >2005/11/27 18:47:39| With 1024 file descriptors available
> > >2005/11/27 18:47:39| Performing DNS Tests...
> > >2005/11/27 18:47:39| Successful DNS name lookup tests...
> > >2005/11/27 18:47:39| DNS Socket created at 0.0.0.0, port 32769, FD
3
> > >2005/11/27 18:47:39| Adding nameserver 203.115.0.1 from
> /etc/resolv.conf
> > >2005/11/27 18:47:39| Adding nameserver 203.115.0.18 from
> /etc/resolv.conf
> > >FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for
writing.
> > >        The parent directory must be writeable by the
> > >        user 'lasantha', which is the cache_effective_user
> > >        set in squid.conf.
> > >Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
> > >CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
> > >Maximum Resident Size: 0 KB
> > >Page faults with physical i/o: 302
> > >Aborted
> > >[root@angle root]#
> > >03.115.0.18 from /etc/resolv.conf
> > >FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for
writing.
> > >        The parent directory must be writeable by the
> > >        user 'lasantha', which is the cache_effective_user
> > >        set in squid.conf.
> > >Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
> > >CPU Usage: 0.030 seconds = 0.010 user + 0.020 sys
> > >Maximum Resident Size: 0 KB
> > >Page faults with physical i/o: 302
> > >Aborted
> > >[root@angle root]#
> > >
> > >
> > >I am new to linux in this area of install software using source
codes.
> > >Pls help me to do this work correctly. Is there any online document
to
> > >follow to get knoledge in install software using source codes Pls
let
> > >me know....
> > >
> > >
> > http://www.squid-cache.org/Doc/FAQ/FAQ-11.html#ss11.28
> > but this subject is more apropiate for the squid list.
> >
> >
> > Thanks
> > Emilio C.
> >
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 
> --
> Lasantha Amarasinghe
> Sri Lanka
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux