IGOS Nusantara dan proxy server squid kompilasi: Perbedaan revisi
Dari IGNwiki
Baris 10: | Baris 10: | ||
Catatan: tanda "_" di depan squid ditambahkan demi alasan keamanan[1]. | Catatan: tanda "_" di depan squid ditambahkan demi alasan keamanan[1]. | ||
− | ./configure \ | + | ./configure \ |
− | --enable-gnuregex \ | + | --enable-gnuregex \ |
− | --enable-async-io=24 \ | + | --enable-async-io=24 \ |
− | --with-aufs-threads=24 \ | + | --with-aufs-threads=24 \ |
− | --with-pthreads \ | + | --with-pthreads \ |
− | --with-aio \ | + | --with-aio \ |
− | --with-dl \ | + | --with-dl \ |
− | --enable-storeio=aufs \ | + | --enable-storeio=aufs \ |
− | --enable-removal-policies=heap \ | + | --enable-removal-policies=heap \ |
− | --enable-icmp \ | + | --enable-icmp \ |
− | --enable-delay-pools \ | + | --enable-delay-pools \ |
− | --disable-wccp \ | + | --disable-wccp \ |
− | --enable-snmp \ | + | --enable-snmp \ |
− | --enable-cache-digests \ | + | --enable-cache-digests \ |
− | --enable-default-err-languages=English \ | + | --enable-default-err-languages=English \ |
− | --enable-err-languages=English \ | + | --enable-err-languages=English \ |
− | --enable-linux-netfilter \ | + | --enable-linux-netfilter \ |
− | --disable-ident-lookups \ | + | --disable-ident-lookups \ |
− | --disable-hostname-checks \ | + | --disable-hostname-checks \ |
− | --enable-underscores | + | --enable-underscores |
Opsi "--enable-async-io" memakai 24 bila memakai satu harddisk dan jenis lama. Bila memakai harddisk model baru dengan buffer 8 MB, 16 MB atau 32 MB dapat memakai 32. | Opsi "--enable-async-io" memakai 24 bila memakai satu harddisk dan jenis lama. Bila memakai harddisk model baru dengan buffer 8 MB, 16 MB atau 32 MB dapat memakai 32. | ||
[1] http://forum.linux.or.id/viewtopic.php?f=40&t=20030#p117128 | [1] http://forum.linux.or.id/viewtopic.php?f=40&t=20030#p117128 |
Revisi per 26 Januari 2011 07.38
# yum -y install gcc # mkdir /root/sumber # cd /root/sumber # wget http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.10.tar.bz2
Buat group dan user yang akan dipakai untuk menjalankan squid:
# groupadd _squid # useradd _squid -c "Squid Proxy" -d /dev/null -s /bin/false -g _squid
Catatan: tanda "_" di depan squid ditambahkan demi alasan keamanan[1].
./configure \ --enable-gnuregex \ --enable-async-io=24 \ --with-aufs-threads=24 \ --with-pthreads \ --with-aio \ --with-dl \ --enable-storeio=aufs \ --enable-removal-policies=heap \ --enable-icmp \ --enable-delay-pools \ --disable-wccp \ --enable-snmp \ --enable-cache-digests \ --enable-default-err-languages=English \ --enable-err-languages=English \ --enable-linux-netfilter \ --disable-ident-lookups \ --disable-hostname-checks \ --enable-underscores
Opsi "--enable-async-io" memakai 24 bila memakai satu harddisk dan jenis lama. Bila memakai harddisk model baru dengan buffer 8 MB, 16 MB atau 32 MB dapat memakai 32.
[1] http://forum.linux.or.id/viewtopic.php?f=40&t=20030#p117128