Tuesday, January 29, 2013

Clear Memory in Linux

This is a script to clear the memory. This script is typically useful for servers that use squid. Squid as a proxy so greedy with memory. Create a file to put this script, for example file "clearmemory". And place it in the folder /etc/cron.daily/, in order to run automatically every day.
vim /etc/cron.daily/clearmemory.

Saturday, January 26, 2013

Review Hotspot YFI Beta-6-1.1

This is the appearance of yfi Beta-6, that Installed in my vmware.
1. Install vmware.
2. Find the file Hotspot YFI Beta-6-1.1  from here, http://sourceforge.net/projects/hotcakes/
and download.
3. You will get file Beta-6-1.1.tar. extract the file and you will find 2 files, Beta-6-1.1.ovf and Beta-6-1.1-disk1.vmdk. Then, just click beta-6-1.1.ovf, and waiting... and run from vmware.
4. Login with default username, and default password,

Friday, January 25, 2013

Monitoring Squid with Cacti (Template Cacti for Squid... Complete...!!!)

I assume that you have installed snmp, squid and cacti, before. I will not explain again about how to install squid, snmp, cacti, etc.. there's so many article to discuss about that’s.
Then, if all installation is complete, let's make graph template for squid.

1. cek your squid configuration,
# squid -v
Squid Cache: Version 3.1.22

Saturday, January 19, 2013

Install Snmp & Cacti on Ubuntu 12.10

What is Cacti ??

Cacti is an open-source, web-based network monitoring and graphing tool designed as a front-end application for the open-source, industry-standard data logging tool RRDtool. Cacti allows a user to poll services at predetermined intervals and graph the resulting data. It is generally used to graph time-series data of metrics such as CPU load and network bandwidth utilization. A common usage is to monitor network traffic by polling a network switch or router interface via simple network management protocol (SNMP). (wikipedia)
Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database.

Friday, January 11, 2013

Edit The Password Policy on Windows Server 2008 R2

How to edit the password policy on Windows Server 2008 R2 with Active Directory

When setting up a new Windows Server 2008 server either with or without Active Directory you will discover that it has a rather strong policy for passwords.  If you are setting this up at home or in a small business environment and don't want to deal with the complex passwords that are required to meet the policy guidelines, you can edit the policy to disable the complexity requirements.  You can try going to a command prompt and typing 'gpedit.msc' then navigating to Computer Settings\Windows Settings\Security Settings\Account Policies\Password Policy\ section.
Here you will see the 'Password must meet complexity requirements' item.  When viewing the properties of it, usually the Enabled/Disabled radio buttons will be grayed out and you cannot change the values.  If they are able to be changed, go ahead and do it, and save out of the dialog boxes.  If it is grayed out and you cannot change it here, this is how you do it:

    Go to a command prompt

Thursday, January 10, 2013

Ubuntu 12.10 + Squid 3.1.23 (Transparent Proxy) + Shorewall + Mikrotik

Installation & Configuration

mikrotik and squid proxy

Step-by-step installation, almost the same as previous versions of ubuntu, can be checked from the video install ubuntu 12:04, below. Thank you for the uploader.

Sunday, January 06, 2013

Backup Konfigurasi Mikrotik

Bagan Network

bagan network mikrotik and squid proxy

Konfigurasi Mikrotik

[admin@MikroTik] > interface print

ether1 ether 1500 1526
1 R eth2-LAN ether 1500 1522
2 R eth3-SPEEDY1 ether 1500 1522
3 R eth4-PROXY ether 1500 1522
ether5 ether 1500 1522

Saturday, January 05, 2013

Squid 3.1.23 : Example Squid.conf & Squid start up


#       ----------------------------
acl snmppublic snmp_community public
acl manager proto cache_object
acl localhost src
acl to_localhost dst

acl bamboe src
#uncomment noway url, if necessary
#acl noway url_regex -i "/etc/squid/noway"
acl SSL_ports port 443
acl Safe_ports port 80          # http

Thursday, January 03, 2013

Membuat Template Multisensor di Cacti

Agar lebih menarik, beberapa sensors ditampilkan dalam 1 buah grafik saja di cacti. Bagaimana cara melakukannya ???
Postingan ini lanjutan dari postingan sebelumnya tentang "Membuat Grafik Sensors di Cacti" Jika kita memiliki beberapa buah sensors, misalkan disini ada 5 buah sensors voltage, kita bisa menjadikan kelima sensors menjadi 1 buah grafik. Default graph template sensors voltage di cacti adalah untuk 8 buah sensors (8 X). Bisa saja kita langsung memasukkan ke lima sensors pada template 8 X. Namun karena di template harus diisi semua 8 buah sensors, maka pasti nantinya akan ada yang double. Ndak keren donk kalo ada beberapa sensors yang double. Untuk itu kita harus menyesuaikan dengan merubah template sensors 8 X menjadi 5 X, sesuai dengan jumlah sensors yang kita miliki.

Wednesday, January 02, 2013

Membuat Grafik Sensors di Cacti

Sudah beberapa kali install cacti, tapi belum terarsipkan. Akhirnya ketika saya dimintain tolong sama tetangga untuk dibuatkan tampilan grafik, saya oke-oke saja, sekalian kesempatan mengingat-ingat dan mengarsipkan kembali... :)
Langsung saja. Kebetulan disini OS yang saya gunakan adalah OpenSuse 10.3.

1. Install sensors, beserta packet-packet pendukung lainnya. Lebih mudahnya gunakan yast.
Masuk ke yast --- software --- software management. Gunakan fasilitas search, untuk mencari packet sensors. Jangan lupa masukkan CD / DVD nya. Sangat mudah, karena itu, saya tidak akan menjelaskannya secara details.