Free Up Your Memory

18 03 2009

Cara bersihin memory klo OS dah pd lemooottt bgt running nya:
root@dns3:/home/root# free -m
total used free shared buffers cached
Mem: 376 355 21 0 121 109
-/+ buffers/cache: 123 252
Swap: 760 0 760
root@dns3:/home/root#

bikin file dgn nama apa aja, trs ketik di bwh ini:
#!/bin/sh
sync
echo 3 > /proc/sys/vm/drop_caches

klo dah pd selesai simpen, trs jalanin file td sbg root “sh namafile.sh” and ketik lg dibwh:
root@dns3:/home/root# free -m
total used free shared buffers cached
Mem: 376 138 238 0 0 22
-/+ buffers/cache: 115 260
Swap: 760 0 760
root@dns3:/home/root#

bandingin ma result pertama… apa yg terjadi… eng ing eng…

— selesai —





Remote Host Identification Has Changed

17 03 2009

Kmrn pas lg iseng main2 dari server router ke server proxy Linux via ssh nemu ky gini nih:
[root@router ~]$ ssh bos@192.168.1.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
Please contact your system administrator.
Add correct host key in /home/root/.ssh/known_hosts to get rid of this message.
Offending key in /home/root/.ssh/known_hosts:3
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
X11 forwarding is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).
[root@router ~]$

Read the rest of this entry »





BSD Family

12 03 2009

FreeBSD adalah UNIX-like operating system (sistem operasi seperti UNIX), tersedia gratis di internet, sangat banyak digunakan dalam dunia ISP (Internet service provider), embedded devices, serta bidang lain yang membutuhkan reliability tinggi.

FreeBSD dibuat dari source code UNIX original yang diproduksi oleh AT&T tahun 1970.

Bertahun-tahun yang lalu, AT&T membutuhkan banyak komputer untuk menjalankan bisnis mereka. Saat itu, AT&T dilarang untuk ikut dalam bisnis komputer. Sehingga akhirnya mereka menjual lisensi software mereka beserta source codenya ke universitas dengan harga yang murah. Mahasiswa universitas yang dapat mengakses teknologi ini dapat membaca source code dan belajar bagaimana software tersebut bekerja. Sebagai imbalan, AT&T mendapat: programmer gratis, patch gratis, serta para scientist yang meningkatkan kualitas software AT&T. semua orang senang. Software AT&T yang sangat terkenal dalam lisensi ini adalah UNIX.

Software AT&T yang sangat terkenal dalam lisensi ini adalah UNIX. kenapa disebut UNIX-like? Yah, kata “UNIX” adalah sebuah nama trademark (merk dagang) yang dimiliki oleh The Open Group. Jadi kalo kamu punya product operating system, dan ingin diberi nama UNIX, product kamu harus di-certified oleh The Open Group, dan kamu harus bayar uang yang banyak ke mereka. Karena FreeBSD dibuat bukan untuk profit, maka namanya menjadi UNIX-like.
Read the rest of this entry »





access.log di SQUID

3 11 2008

TCP_HIT ::: A valid copy of the requested object was in the cache.
TCP_MISS ::: The requested object was not in the cache.
TCP_REFRESH_HIT ::: The requested object was cached but STALE. The IMS query for the object resulted in "304 not modified".
TCP_REFRESH_FAIL_HIT ::: The requested object was cached but STALE. The IMS query failed and the stale object was delivered.
TCP_REFRESH_MISS ::: The requested object was cached but STALE. The IMS query returned the new content.
TCP_CLIENT_REFRESH_MISS ::: The client issued a "no-cache" pragma, or some analogous cache control command along with the request. Thus, the cache has to refetch the object.
TCP_IMS_HIT ::: The client issued an IMS request for an object which was in the cache and fresh.
TCP_SWAPFAIL_MISS ::: The object was believed to be in the cache, but could not be accessed.
TCP_NEGATIVE_HIT ::: Request for a negatively cached object, e.g. "404 not found", for which the cache believes to know that it is inaccessible. Also refer to the explainations for negative_ttl in your squid.conf file.
TCP_MEM_HIT ::: A valid copy of the requested object was in the cache and it was in memory, thus avoiding disk accesses.
TCP_DENIED ::: Access was denied for this request.
TCP_OFFLINE_HIT ::: The requested object was retrieved from the cache during offline mode. The offline mode never validates any object, see offline_mode in squid.conf file.
TCP_STALE_HIT ::: The object was cached and served stale. This is usually caused by stale-while-revalidate or stale-if-error.
TCP_ASYNC_HIT ::: A background request (e.g., one started by stale-while-revalidate) resulted in a refresh hit.
TCP_ASYNC_MISS ::: A background request (e.g., one started by stale-while-revalidate) resulted in a miss; i.e., the cached object (if any) was updated).
UDP_HIT ::: A valid copy of the requested object was in the cache.
UDP_MISS ::: The requested object is not in this cache.
UDP_DENIED ::: Access was denied for this request.
UDP_INVALID ::: An invalid request was received.
UDP_MISS_NOFETCH ::: During "-Y" startup, or during frequent failures, a cache in hit only mode will return either UDP_HIT or this code. Neighbours will thus only fetch hits.
NONE ::: Seen with errors and cachemgr requests.

The following codes are no longer available in Squid-2:
ERR_* ::: Errors are now contained in the status code.
TCP_CLIENT_REFRESH ::: See: TCP_CLIENT_REFRESH_MISS.
TCP_SWAPFAIL ::: See: TCP_SWAPFAIL_MISS.
TCP_IMS_MISS ::: Deleted, now replaced with TCP_IMS_HIT.
UDP_HIT_OBJ ::: Refers to an old version that would send cache hits in ICP replies. No longer implemented.
UDP_RELOADING ::: See: UDP_MISS_NOFETCH.

Sumber





Daftar ID Partisi

27 10 2008

Jika Anda pernah melakukan instalasi pd OpenBSD pasti anda ditanya tuk menentukan tipe partisi apa yg akan di gunakan, sama juga sperti linux yg mana anda bs memilih tipe partisi yg tersedia mulai dr EXT2, EXT3 sampe ReiserFS yg bs anda gunakan. Tahukah anda bahwa masing tipe partisi pd masing2 OS itu memiliki kode masing2 yg unik? Dibwh ini ada daftar nya yg mungkin anda perlukan ato pun berguna utk anda kedepannya:
Read the rest of this entry »