- #!/bin/bash
- #instalasi squid proxy in debian otomatis
- #code by samuderapase
- squid=instalasi squid proxy in debian
- echo $squid
- sleep 3
- sudo aptitude update #update repo
- sudo aptitude install squid #perintah menginstalasi squid
- aptitude install squid squidclient squid-cgi
- aptitude install ccze
- sleep 4
- squid=Membuat Directory cache
- echo =============================================================
- echo $squid
- mkdir /cache1 && mkdir /cache2 && mkdir /cache3 && mkdir /cache4
- touch /var/log/squid/access.log
- touch /var/log/squid/cache.log
- echo"Mengaktifkan directory cache"
- chown -R proxy.proxy /cache1
- chown -R proxy.proxy /cache2
- chown -R proxy.proxy /cache3
- chown -R proxy.proxy /cache4
- chown -R proxy.proxy /var/log/squid/access.log
- sleep 3
- echo"Edit Squid.conf"
- wget -c http://samuderapase.ucoz.de/succescrew/squid.conf >/etc/squid/ #(sesuaikan dengan jaringan,memory,hdd dari PC Proxy anda)
- sleep 4
- nano /etc/squid/squid.conf
- echo"Pengecekan file Squid.conf"
- squid -k parse
- echo"membuat direktori swap"
- squid -z
- squid -DFY
- echo"Reboot Squid Proxy"
- /etc/init.d/squid restart
- echo"cek squid apakah sudah berfungsi" sleep 3 "========================================================"
- ps -ax|grep squid
- echo"Terakhir jalankan perintah :" sleep 4
- iptables -t nat -A POSTROUTING -j MASQUERADE
- #thanks ^_^Source #http://pastebin.com/Y2fneUsa
Wednesday, 28 March 2012
Sidebar
Search
-
Selamat siang semua nya, disini saya mau share soal alamat Downloads Aplikasi gapps untuk android 4.4.2 dan 4.4.4 kitkat, biasa nya k...
-
Buat kita yang suka doyan nonton film, entah film indonesia atau film luar negeri, mungkin kadang susah buat cari film atau situs yang menye...
-
I will practice how to install slax linux in virtualbox I use ubuntu linux :) 10:10
-
LG Optimus L7 II Dual P715 smartphone owners can now be happy since their device is root-able, there is a rooting package you can utilize to...
-
There are several well-known commercial flowchart and diagram software available, e.g., Visio on Windows, OmniGraffle on MacOS X. Then wh...
-
Buat yang sudah upgrade huawei honor 3c nya ke kitkat emui 3.0 dan ingin memasang TWRP bisa menggunakan aplikasi TWRP yang akan saya...
-
Linux adalah sebuah sistem operasi yang Free/Bebas. Linux adalah sistem operasi yang bebas dan gratis untuk kita copy, gunakan dan s...
-
* You need to install the USB drivers on your computer as the initial step. Install HiSuite and it will take care of the USB drivers for y...
-
buat yang punya Acer lequid Z4 mau di upgrade ke kitkat Costum Rom nie cara nya .. sebelum nya Musti di Root dulu dan pasang cwm .. langsung...
-
untuk huawei honor 3c yang mau update super su pada saat sudah selesai upgrade huawei honor 3c nya ke Emui 3.0 dan untuk yang meng...
Popular Posts
Categories
Iklan Responsif
Blog Archive
-
▼
2012
(79)
-
▼
March
(21)
- install apache server php5 mysql phpmyadmin
- install squid otomatis di Debian
- Glances v1.3.7 released - System monitoring tool f...
- WordPress on Nginx, Part 1: Preparing VPS the Debi...
- Hacker dan Revolusi Open Source
- Firefox To Have Default Encrypted Google Searches
- How to install FTP Server
- Ubuntu 12.04 Precise Pangolin Beta 1 Kernel 3.2.0
- Asal Mula 35 Distro Linux
- Setting Ipaddres di ubuntu
- Cara mengganti thema dan icon di Backbox
- Mengenal chmod di Linux
- LINUX BACKBOX
- How to install apache2, php, mysql ON ubuntu 10.10
- How to install Compiz on Ubuntu 10.10
- E: Could not get lock /var/lib/dpkg/lock - open
- Install Ubuntu Tweak di Ubuntu 10.10 -11.04
- Cara conek modem di linux ubuntu 10.10
- Cara install Linux ubuntu di dalam windows menggu...
- Install Linux lewat USB
- Cara menginstall OS di virtualbox
-
▼
March
(21)

0 comments:
Post a Comment