Membangun Proxy di Ubuntu Server
Yang Dibutuhkan
Spesifikasi minimum untuk membuat proxy server:- Ubuntu 10.04 LTS 64 bit
- Dual Core Processor
- RAM 1 GB
- HDD SATA 250 GB
Instal Paket Ditempatkan
1
2
| apt-get install squid squidclient squid-cgi gcc \build-essential sharutils ccze libzip-dev automake1.9 |
Install Lusca
1
2
3
| http wget: / / ddl . fauzievolute.com / squid / LUSCA_FMI . tar . gztar xzvf LUSCA_FMI. tar . gzcd LUSCA_FMI |
1
2
3
4
5
6
7
8
9
10
11
| . / configure - prefix = / usr - exec_prefix = / usr \- Bindir = / usr / sbin - sbindir = / usr / sbin \- Libexecdir = / usr / lib / squid - sysconfdir = / etc / squid \- Localstatedir = / var / spool / squid - datadir = / usr / share / squid \- enable -http- gzip - enable -async-io = 24 - with-aufs-threads = 24 \- With-pthreads - enable -storeio = aufs - with-maxfd = 65536 \- enable -linux-netfilter - enable -arp-acl - enable -epoll \- memungkinkan -removal-kebijakan tumpukan = - with-AIO - with-dl - enable -snmp \- memungkinkan -delay-pools - enable -htcp - enable -cache-digests \- Disable-unlinkd - enable -large-cache-files - with-besar-file \- enable -err-languages = Bahasa Inggris - enable -default-err-language = Inggris |
1
| membuat && membuat menginstal |
Konfigurasi Proxy Server
Penghasilan kena pajak semuanya terinstall Mencari Google Artikel Baru Baik, lalai pintu gerbang Ke Direktori / etc / squid, Lalu Ganti file squid.conf Mencari Google Artikel Yang Baru, Dan sebelumnya backup terlebih Cipta Putra file squid.conf Yang pribumi.
1
2
| mv squid.conf squid.conf.aslihttp wget: / / ddl . fauzievolute.com / squid / config / squid . conf |
1
| http wget: / / ddl . fauzievolute.com / squid / config / storeurl . pl |
1
2
3
4
| cd / etc / init . drm cumiwget http: / / ddl . fauzievolute.com / squid / lainnya / squidchmod + x cumi |
1
| / Etc / init . d / squid berhenti |
1
2
3
4
5
6
| mkdir / cachechown proxy: proxy yang / cachechmod 777 / cachechown proxy: proxy yang / etc / squid / storeurl . plchmod 777 / etc / squid / storeurl . plchmod 600 / etc / squid / squid . conf |
1
| squid-f / etc / squid / squid . conf-z |
1
| / Etc / init . d / squid Restart |

Tidak ada komentar:
Posting Komentar