Activity Stream
48,167 MEMBERS
6848 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 2 of 2
  1.     
    #1
    Too busy :|
    Website's:
    L337Fx.com BeastieBay.net

    Question HowTo : Install Squid on Linux

    Install Squid on Linux

    What is Squid ?
    Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - we're getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications.

    Where is Squid used ?
    A good question! Many of you are using Squid without even knowing it! Some companies have embedded Squid in their home or office firewall devices, others use Squid in large-scale web proxy installations to speed up broadband and dialup internet access. Squid is being increasingly used in content delivery architectures to deliver static and streaming video/audio to internet users worldwide.

    Now lets start the installation

    Login as root in your SSH and execute

    Code: 
    cd /usr/local/src
    wget  http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.1.tar.gz
    tar -zxvf squid-3.1.1.tar.gz
    cd squid-3.1.1
    ./configure --prefix=/usr/local/squid --disable-ident-lookups
    make all
    make install
    Now lets configure Squid

    Add the user 'squid', create the cache directory and then set permissions.


    Code: 
    useradd -d /usr/local/squid/cache/ -r -s /dev/null squid >/dev/null  2>&1
    mkdir /usr/local/squid/cache
    chown -R squid:squid /usr/local/squid/cache
    chown -R squid:squid /usr/local/squid
    chmod -R 755 /usr/local/squid/cache
    Generate the cache files,


    Code: 
    sudo -u squid /usr/local/squid/sbin/squid -z
    Change the cache effective user and group to squid.

    Code: 
    perl -pi -e 's/# cache_effective_user  nobody/cache_effective_user squid\ncache_effective_group squid/g'  /usr/local/squid/etc/squid.conf

    Done !

    Now start Squid

    Code: 
    /usr/local/squid/sbin/squid
    Tutorial by BlaZe
    BlaZe Reviewed by BlaZe on . HowTo : Install Squid on Linux Install Squid on Linux What is Squid ? Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - we're getting there!) HTTP/1.1 compliant. Squid offers a rich access control, authorization and logging environment to develop web proxy and content serving applications. Where is Squid used ? A good question! Many of you are using Squid without even knowing it! Some companies have embedded Squid in their home or office firewall devices, others use Squid in Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    btjunk.net
    Hm....this will be transparent proxy. Use forwarded_for off and request_header_access options.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HOWTO Install SHOUTcast on a VPS
    By BlaZe in forum Technical and Security Tutorials
    Replies: 3
    Last Post: 30th Oct 2010, 10:04 AM
  2. HOWTO Install RootKit Hunter on Linux
    By BlaZe in forum Technical and Security Tutorials
    Replies: 2
    Last Post: 12th Dec 2009, 05:40 PM
  3. HOWTO Install cURL in Linux
    By BlaZe in forum Technical and Security Tutorials
    Replies: 1
    Last Post: 15th Nov 2009, 04:03 PM
  4. Howto install cPanel / WHM
    By Nick in forum Technical and Security Tutorials
    Replies: 0
    Last Post: 9th Nov 2009, 09:19 AM
  5. HOWTO Install Plesk Control Panel on Linux
    By BlaZe in forum Technical and Security Tutorials
    Replies: 4
    Last Post: 9th Nov 2009, 07:53 AM

Tags for this Thread

BE SOCIAL