Archive for March 2009
Max connection squid
Berdasarkan case Sat Mar 21 03:25:33 WIT 2009, posisi client menggunakan download manager dengan 60 thread simultaneous connection, sekitar 4 bilik. Tidak perlu dbahas apa yang terjadi dengan mesin proxy server @_@.
# buka squid.conf
# vim -N /etc/squid/squid.conf
# code
acl localnet 192.168.0.0/24
acl limitconn maxconn 20
http_access deny localnet limitconn
# reconfigure / restart squid.
squid -k reconfigure atau /etc/init.d/squid restart
Read the rest of this entry »
Install Lighttpd + php5 Debian Lenny
1. Pastikan package, index files terbaru.
gmt:~# apt-get update
gmt:~# apt-get upgrade
2. Install Lighttpd.
[root@gmt ~]# apt-get install lighttpd Read the rest of this entry »
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fam libfam0 libterm-readkey-perl libterm-readline-perl-perl mime-support portmap
Suggested packages:
openssl rrdtool apache2-utils
The following NEW packages will be installed:
fam libfam0 libterm-readkey-perl libterm-readline-perl-perl lighttpd mime-support portmap
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 561kB of archives.
After this operation, 1806kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Install Squid Debian Lenny
Persiapan:
1. Tidak ada persiapan.
2. Koneksi keinternet dari kantor/noc.
3. sms/call jika bw kurang.
1. Update source, packet dan system jika perlu.
gmt:~# cp -f /usr/share/doc/apt/examples/sources.list /etc/apt/sources.list
gmt:~# cat /etc/apt/sources.list
# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb http://http.us.debian.org/debian stable main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
# Uncomment if you want the apt-get source function to work
#deb-src http://http.us.debian.org/debian stable main contrib non-free
#deb-src http://security.debian.org stable/updates main contrib non-free
2. Synchronize package index files
gmt:~# apt-get update Read the rest of this entry »
Get:1 http://security.debian.org stable/updates Release.gpg [197B]
Ign http://security.debian.org stable/updates/main Translation-en_US
Ign http://security.debian.org stable/updates/contrib Translation-en_US
Ign http://security.debian.org stable/updates/non-free Translation-en_US
Get:2 http://security.debian.org stable/updates Release [40.8kB]
Get:3 http://http.us.debian.org stable Release.gpg [386B]
Ign http://http.us.debian.org stable/main Translation-en_US
Ign http://http.us.debian.org stable/contrib Translation-en_US
Ign http://http.us.debian.org stable/non-free Translation-en_US
Get:4 http://http.us.debian.org stable Release [63.2kB]
Get:5 http://security.debian.org stable/updates/main Packages [49.2kB]
Get:6 http://http.us.debian.org stable/main Packages [6909kB]
Get:7 http://security.debian.org stable/updates/contrib Packages [20B]
Get:8 http://security.debian.org stable/updates/non-free Packages [20B]
Get:9 http://http.us.debian.org stable/contrib Packages [92.6kB]
Get:10 http://http.us.debian.org stable/non-free Packages [123kB]
Fetched 7278kB in 29s (243kB/s)
Reading package lists... Done
gmt:~#
Add new HDD Debian
Sambungan dari Quick Install Debian Lenny.
Sengaja disitu hardisk kedua tidak dipartisi, kronolgi dibuat penambahan hardisk baru semisal sewaktu-waktu ada upgrade penambahan hardsik baru. Jadi total 2 hardisk, 3 hardisk dst…
fdisk (8) – Partition table manipulator for Linux
Read the rest of this entry »
Quick Install Lenny
Minimal installasi debian Lenny menggunakan NetInstall CD, perlu di perhatikan disini hanya menggunakan NetInst CD (atau download sendiri di situs resmi debian.org). Dengan asumsi hanya “Base System” yang minimal terinstall + OpenSSH agar bisa di remote.
Download: Video Installasi
Partisi sesuaikan untuk kebutuhan service server yang nanti akan anda gunakan.
Minimal pisahkan partisi:
/boot 512MB recomended (set readonly reiserfs and boot flags "on")
/ 2GB recomended (reiserfs)
/usr 4GB recomended (reiserfs)
/var 6GB recomended (reiserfs)
swap (2 x ramsize jika ram kurang dari 2GB, 2GB swap => 2GB RAM)
/tmp 512MB recomended (reiserfs)
