!-- Begin: http://adsensecamp.com/ -->

We often complain about the slow internet konseksi, alias lemot. Although we like in the browser settings more quickly, for example, for a firefox "about" config "but the connection still running slowly ....!!!

What are we do not get ubuntu slowly time browsing ..??? after I googling in the google search, I found article but I forgot that...!! to the point: to speed up web browsing connection on ubuntu, this time with menggunakn squid, squid is useful to store the cache on the website that the visit by us, now we take live update it from the server, ga usah load-script web script , template, n g in the image update/changed by admin.

Step installation and configuration squid.

1. Install Squid

Sources.list sure I have a ...??? just using Terminal
apt-get install squid.

2. Create log files and cache direcktory

mkdir/usr/local/squid
mkdir /usr/local/squid/cache
touch /usr/local/squid/cache.log
touch /usr/local/squid/access.log
sudo adduser squid
chown-squid.squid rf/usr/local/squid

3. Configuring Squid

sudo chown squid.squid/var/spool/squid-RF
sudo chown squid.squid-rf/etc/squid
sudo-u squid mv /etc/squid/squid.conf/etc/squid/squid.conf.original
sudo-u squid touch /etc/squid/squid.conf
sudo-u squid cat /etc/squid/ squid.conf.original | sed '/ * # / d; / ^ * $ / d'> /etc/squid/squid.conf

One of the items you need to customize the squid's config file is a variable that contains the log files and cache direktory refers to the so we have prepared previously.

UFS cache_dir /usr/local/squid/cache 1024 16 256
access_log /usr/local/squid/access.log
cache_log /usr/local/squid/cache.log
cache_store_log none


UFS cache_dir /usr/local/squid/cache 1024 16 256
access_log /usr/local/squid/access.log
cache_log /usr/local/squid/cache.log
cache_store_log none

Then, create a squid as a cache server

http_port 3128 transparent
cache_mem 1024 MB
cache_swap_low 94
cache_swap_high 96
maximum_object_size 16384 KB
minimum_object_size 4 KB
maximum_object_size_in_memory 2048 KB
fqdncache_size 1024
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF

visible_hostname localhost
cache_mgr admin @ localhost
cache_effective_user squid
cache_effective_group squid

4. Create cache directory structure.

Run squid with the command below

sudo-u squid squid-z


5. Test squid

squid-d 1-D

What error, just running

squid-k reconfigure

To recovery I changed the squid.conf

6. Running Squid

squid-SYD

After finish, setting your browser to use proxy on localhost port 3128
Happy Testing.....!!!

0 comments

!-- Begin: http://adsensecamp.com/ --> !-- Begin: http://adsensecamp.com/ --> !-- Begin: http://adsensecamp.com/ -->