Own Notes – Iptables

24 March 2017 Leave a comment

Allow Incoming SSH only from a Specific Network

    The following rules allow incoming ssh connections only from network

    root@home# iptables -A INPUT -i eth0 -p tcp -s --dport 22 -m state --state NEW,ESTABLISHED -j ACCEPT
    root@home# iptables -A OUTPUT -o eth0 -p tcp --sport 22 -m state --state ESTABLISHED -j ACCEPT

Read more…

Create Solaris 10×86 USB bootdisk installer

28 July 2016 1 comment


USB disk (min size 4GB)

PC / laptop with solaris 10 x86 installed

Solaris installer iso image (tested with Solaris 10 x86 update 8/9/10/11)


Installation time will be much faster compare to install from DVDROM Read more…

Create network boot for concurrent RHEL6.5 installation

29 January 2015 Leave a comment


  1. Installed RHEL6.5
  2. RHEL6.5 x86_64 DVD installer
  3. Services : dhcp, NFS, tftp
  4. Familiar with vi text editor (or nano, etc)


  1. Installation can be done concurrently without DVD
  2. Time and Money saving

Read more…

RedHat Linux network redundancy using interface bonding

11 May 2014 1 comment

This notes written down when facing requirement to make barco wall-display working with redundant network link. Eventhough setup barco controller is not part of my responsibility, I still want to help our customer to fulfill their needs – for the sake of knowledge sharing.


This configuration tested using hardware and software specification

  1. Linux distribution RH7.2 (Enigma) i386
  2. network interfaces (identified as eth0 & eth1)

Read more…

Own Notes – FreeBSD

26 April 2014 2 comments

This is my own notes, work faster & reduce time for googling ๐Ÿ˜€ Read more…

Categories: FreeBSD

Solaris 10 Sys Admin Notes

26 April 2014 Leave a comment

This is my own notes, work faster & reduce time for googling ๐Ÿ˜€
Read more…

Categories: Uncategorized

Clear Digi_PortServer_TS16’s buffer using Scheduler on Solaris 10

24 September 2012 Leave a comment


Description : Digi PortServer TS16 always hang after operating for hours, and need to hot-restarted.
Analysis of Problem : We assume device hang because of buffer over flow.
Solution : Create script with specific function (login to the device, clear all buffer, logout) and execute automagicaly with cron scheduler.

Figure 1. Digi PortServer TS16 connect to Solaris box via UTP Cable

Read more…

Own Notes – Shell Script

3 September 2012 Leave a comment

Filename Wildcards

The following characters are interpreted by the shell as filename wildcards, and any word containing them is replaced by a sorted list of all the matching files.

Wildcards may be used in the directory parts of a pathname as well as the filename part. If no files match the wildcard, it is left unchanged. Wildcards are not full regular expressions. Sed, grep, awk etc. work with more flexible (and more complex) string matching operators.

Match zero or more characters.
Match any single character
Match any single character from the bracketed set. A range of characters can be specified with [ – ]
Match any single character NOT in the bracketed set. Read more…

Categories: bash scripting

Kill Zombie Process on Solaris 10 (or another *nix family)

30 August 2012 Leave a comment

    Requirement :

  1. Paham konsep Operating System secara umum.
  2. Paham konsep “process” pada unix family, utamanya Solaris.
  3. Terbiasa menggunakan OS Solaris10.
  4. Mau membaca & mencoba tulisan ini ๐Ÿ˜€

Attention :

Tulisan ini adalah pengalaman pribadi saya, kalaupun bisa menjadi tips bagi pembaca sekalian ya alhamdulillah, tapi klo systemnya menjadi error saya tidak bersedia untuk dikejar-kejar. Read more…

Create SVN Server and Browsing Repository from WebServer (https)

12 May 2012 9 comments

Salah satu kegunaan SVN (subversion) adalah untuk mempermudah programmer dalam me-manage source code yang dibuatnya. SVN membantu kita utk melakukan update source code, rollback to specific version, membuat branch, dll.
Tutorial ini menjelaskan step-by-step proses instalasi SVN server, serta browsing melalui web server (https) pada webserver apache. Pada dasarnya tanpa membuat koneksi https kita juga sdh bisa mem-browsing isi SVN server melalui web server tetapi pada disini sengaja saya gunakan HTTPS karena kita menggunakan web-based authentikasi, yang tentunya username & password yg ada tidak kita harapkan untuk di-sniff oleh kawan2 kita yg cukup “pintar”. ๐Ÿ™‚
Read more…