Nikmatilah Ilmu dan Hargai

route

Archive for March 2009

Max connection squid

with 2 comments

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 »

Written by agusr

March 21, 2009 at 4:46 am

Posted in FreeBSD, Linux

Tagged with

Install Lighttpd + php5 Debian Lenny

leave a comment »

1. Pastikan package, index files terbaru.
gmt:~# apt-get update
gmt:~# apt-get upgrade

2. Install Lighttpd.
[root@gmt ~]# apt-get install lighttpd
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
Read the rest of this entry »

Written by agusr

March 13, 2009 at 2:57 am

Posted in Debian

Install Squid Debian Lenny

with one comment

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
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:~#
Read the rest of this entry »

Written by agusr

March 11, 2009 at 3:15 am

Posted in Debian

Add new HDD Debian

leave a comment »

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 »

Written by agusr

March 9, 2009 at 2:49 am

Posted in Debian, Linux

Tagged with ,

Quick Install Lenny

with one comment

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)

Written by agusr

March 8, 2009 at 5:45 pm

Posted in Debian, Linux

Tagged with

Follow

Get every new post delivered to your Inbox.