Bikin Lagi Ah…..
Januari 18, 2012 pukul 2:55 pm | Ditulis dalam FreeBSD | Tinggalkan komentarKaitkata: cachemgr.cgi, compile, compile kernel, conf, config, FreeBSD, FreeBSD 8.1-RELEASE, hight performance, kernel, kompile, kompile kernel, lightsquid, squid, squid 3, squid 3.0, squid conf, squid config, squid HEAD, squid hight performance, squid stable, squid v3, squid version 3, squid-2.7.STABLE9, squid-3.0.STABLE21, squid-3.0.STABLE21.tar.bz2, squid-3.0.STABLE21.tar.gz, squid-3.HEAD, squid3, suid.config
Part 1
INSTAL FREEBSD 8.2
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/8.2/FreeBSD-8.2-RELEASE-i386-disc1.iso
burning….
———
booting
us keyboard
ad1
D all
C slice
S set bootable
Q
Standart MBR
ad2
D all
C slice
Q
Standart MBR
Create
2048M swap
5G /
5G /usr
25G /var
80G /cache
Q Finish
Distribution [5] Kernel-Developer
[ Yes ]
[ OK ]
Media CD/DVD
[ Yes ]
Congratulations!
[ OK ]
configure any Ethernet
[ Yes ]
Gateway
[ No ]
IPv6
[ No ]
DHCP
[ No ]
Host, Domain, IPv4 Gateway, Nameserver, IPv4, Netmask
[ OK ]
interface up
[ Yes ]
inetd
[ No ]
SSH login
[ No ]
FTP
[ No ]
NFS server
[ No ]
console
[ No ]
time zone
[ Yes ]
Asia, Indonesia
binary
[ No ]
mouse
[ No ]
browse the collection
[ No ]
User Confirmation Requested
[suka suka]
New password:
Retype new password :
Visit the general configuration
[ No ]
reboot
[ Yes ]
keluarin CD
# ee /etc/ssh/sshd_config
PermitRootLogin yes
save
# pkg_add -r cvsup-without-gui
# cp /usr/share/examples/cvsup/ports-supfile /root/
# ee ports-supfile
*default host=ftp.tw.FreeBSD.org
save
reboot
# cvsup -L 2 /root/ports-supfile
tunggu 10 jam….. HAHAHAHAHA dah ah… xixixixixixi Part 1 End
Part 2
COMPILE KERNEL
# cd /usr/src/sys/i386/conf/
# cp GENERIC KERNELBARU
# ee KERNELBARU
# untuk PF #
device pf
device pflog
device pfsync
# untuk optimasi squid #
options SYSVMSG
options MSGMNB=32768
options MSGMNI=164
options MSGSEG=8196
options MSGSSZ=512
options MSGTQL=2048
matiian wireless, usb, printer, spek selain PC kita ( HATI- HATI LOH… )
[ Save ]
# config KERNELBARU
# cd ../compile/KERNELBARU/
# make cleandepend && make depend
# make && make install
REBOOT
Install Perl5.10
# cd /usr/ports/lang/perl5.14/
# make install clean
Install Apache2.2
# cd /usr/ports/www/apache22
# make install clean
# ee /etc/rc.conf
apache22_enable=”YES”
Install Squid
# pw group add squid -g 100
# pw user add squid -u 100 -g squid -s /usr/sbin/nologin -d /usr/local/squid
# chown -Rv squid:squid /cache
# cd /usr/local/
# fetch http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.18.tar.bz2
# tar -zxvf
# cd squid-3.0.STABLE18
./configure -prefix=/usr/local/squid -enable-gnuregex -enable-async-io=24 -with-pthreads -with-aio -with-dl -with-aufs-threads=24 -with-pthreads -enable-pf-transparent -enable-ipfw-transparent -enable-storeio=aufs -enable-removal-policies=heap -enable-delay-pools -enable-underscores -enable-http-violations -enable-unlinkd -enable-snmp -enable-useragent-log -enable-htcp -enable-ssl -enable-icmp -enable-poll -enable-arp-acl -enable-cache-digests -enable-kill-parent-hack -enable-large-cache-files -enable-follow-x-forwarded-for -enable-default-err-languages=English -enable-err-languages=English -disable-ident-lookups -disable-hostname-checks -disable-wccpv2 -disable-wccp
# make && make install
# ee /usr/local/squid/etc/squid.conf
# squid -z
# /usr/local/squid/sbin/squid -k parse
# /usr/local/squid/sbin/squid -NCd1
# /usr/local/squid/sbin/squid
# ee /etc/rc.conf
squid_enable=”YES”
pf_enable=”YES
# /usr/local/etc/rc.d/apache22 restart
# /usr/local/etc/rc.d/squid restart
-= E N D =-
Tinggalkan sebuah Komentar »
RSS umpan untuk komentar-komentar dalam tulisan ini. URI Lacak Balik
Tinggalkan Balasan
Blog pada WordPress.com. | Theme: Pool by Borja Fernandez.
Tulisan dan komentar feeds.

