Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

squid proxy linux ubuntu 10.04



  1. Instalasi
    Pertama-tama pastikan kita memiliki repository untuk ubuntu sesuai versinya, atau terhubung langsung ke internet. kemudian install squid melalui synaptic atau melalui terminal dengan cara :
    # apt-get install squid
Setelah selesai maka Squid langsung dapat di konfigurasikan pada file squid.conf dengan cara :# nano /etc/squid/squid.conf

Tetapi sebelum di edit terlebih dahulu backup dulu file aslinya agar kalau rusak bisa dikembalikan ke default :# cp /etc/squid/squid.conf /etc/squid/squid.conf.bak


  1. Konfigurasi
sebelum mengkonfigurasi, ada baiknya untuk membackup konfigurasi default squid dengan cara :
#cp /etc/squid/squid.conf /etc/squid/squid.conf.bak

konfigurasikan pada file squid.conf dengan cara :# nano /etc/squid/squid.conf
konfigurasi yang kami gunakan pada squid adalah sebagai berikut:

PERHATIAN ...!!!
kalau bisa jangan copy paste karena biasanya squid tidak bisa membacanya, jadi yang palimudah adalah menggunakan editor GEDIT bkn nano, ketika file squid.conf di GEDIT terbuka, tekan CTRL+F, kemudian ketik salah satu kopnfigurasi dibawah ini, setelah baris perintah ditemukan, baru diedit sesuai konfigurasi.
tanda ( # ) : berarti baris perintah tersebut tidak dieksekusi/tidak di aktifkan, jadi kalau ingin diaktifkan, silahkan silangkan tanda ( # ).

# WELCOME TO SQUID 2.7.STABLE6
#by mac_group
# -----------------------------------------------
# OPTION JARINGAN
# —————————————————————————–
http_port 3128
icp_port 3130
# OPTION UKURAN CACHE
# ——————————————————————-
cache_mem 256 MB
cache_swap_low 94
cache_swap_high 97
maximum_object_size 20480 KB
minimum_object_size 2 KB
maximum_object_size_in_memory 2048 KB
# DIREKTORI LOG DAN CACHE
# ——————————————————————
cache_dir ufs /var/spool/squid 5000 128 256
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
# TUNING CACHE PROXY
# ——————————————————————
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

# MEMBLOK SITUS
# ————————————-
acl key_blokir url_regex -i "/etc/squid/key_block.txt"
acl domain_blokir dstdomain "/etc/squid/domain_block.txt"
acl ip_blokir dst "/etc/squid/ip_block.txt"

# AKSES KONTROL
# ——————————————————————
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

#DAFTAR IP ADDRESS
# ————————————-
acl client src 192.168.1.10-192.168.1.100/255.255.255.0

# RULE YANG DITERAPKAN
# ————————————-
          http_access deny key_blokir
http_access deny domain_blokir
http_access deny ip_blokir
http_access allow waktu_akses
http_access allow client
http_access allow localnet
http_access allow localhost
http_access deny all
# PARAMETER ADMINISTRATOR
# —————————————————————–
cache_mgr admin@mac_group.org
visible_hostname mac_group.org
# PESAN ERROR
# ——————————————————————–
error_directory /usr/share/squid/errors/en

Ubuntu 10.04 (Lucid Lynx)


Ubuntu 10.04 (Lucid Lynx) was first announced at the Atlanta Linux Fest by Shuttleworth on 19 September 2009, and is planned for release on 29 April 2010.The new release includes the Linux kernel 2.6.32 and improved support for Nvidia proprietary graphics drivers, while switching to the open source Nvidia graphics driver, nouveau, by default. On 4 March 2010 it was announced that Lucid Lynx will feature a new theme, including new logos, taking Ubuntu's new paradigm into account:

The new style in Ubuntu is inspired by the idea of "Light". We're drawn to Light because it denotes both warmth and clarity, and intrigued by the idea that "light" is a good value in software. Good software is "light" in the sense that it uses your resources efficiently, runs quickly, and can easily be reshaped as needed. Ubuntu represents a break with the bloatware of proprietary operating systems and an opportunity to delight to those who use computers for work and play. More and more of our communications are powered by light, and in future, our processing power will depend on our ability to work with light, too. Visually, light is beautiful, light is ethereal, light brings clarity and comfort. Historical perspective: From 2004-2010, the theme in Ubuntu was "Human". Our tagline was "Linux for Human Beings" and we used a palette reflective of the full range of humanity. Our focus as a project was bringing Linux from the data center into the lives of our friends and global family.
Critical responses to the new theme have been mixed. Ars Technica's Ryan Paul said "The new themes and updated color palette are nice improvement for Ubuntu... After testing the new theme for several hours, I feel like it's a step forward, but it still falls a bit short of my expectations." Paul also noted that the most controversial aspect of the new design amongst users has been the placement of the window control buttons on the left instead of the right side of the windows. TechSource's Jun Auza expressed concern that the new theme is too close to that used by Apple's Mac OS X: "I think Ubuntu is having an identity crisis right now and should seriously consider changing several things in terms of look and feel to avoid being branded as a Mac OS X rip-off, or worse, get sued by Apple." Auza also summarized Ubuntu user feedback: "I believe the fans are divided right now. Some have learned to love the brown color scheme since it uniquely represents Ubuntu, while others wanted change."






source : 
http://en.wikipedia.org/wiki/Ubuntu_10.04#Ubuntu_10.04_LTS_.28Lucid_Lynx.29
http://www.ubuntu.com/
http://anotherubuntu.blogspot.com/2009/11/lucid-lynx-timeline.html 

Download :

Artikel update lainnya

Comunity Link :