Reset / Recovery Root Password VMWare ESXi 6.0

Dec 22, 2016 4:24 PM

Forgot your ESXi root password? don't worry. Here are a simply way to recover / reset you ESXi 6.0 root password. But, you must have physical access to the device.

Requirement :
a. Linux live cd/dvd
b. Text editor

Redhat Cluster - Fencing, what is it about?

Aug 13, 2016 7:25 AM

 ▄████▄   ██▓     █    ██   ██████ ▄▄▄█████▓▓█████  ██▀███
▒██▀ ▀█  ▓██▒     ██  ▓██▒▒██    ▒ ▓  ██▒ ▓▒▓█   ▀ ▓██ ▒ ██▒
▒▓█    ▄ ▒██░    ▓██  ▒██░░ ▓██▄   ▒ ▓██░ ▒░▒███   ▓██ ░▄█ ▒
▒▓▓▄ ▄██▒▒██░    ▓▓█  ░██░  ▒   ██▒░ ▓██▓ ░ ▒▓█  ▄ ▒██▀▀█▄
▒ ▓███▀ ░░██████▒▒▒█████▓ ▒██████▒▒  ▒██▒ ░ ░▒████▒░██▓ ▒██▒
░ ░▒ ▒  ░░ ▒░▓  ░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░  ▒ ░░   ░░ ▒░ ░░ ▒▓ ░▒▓░
  ░  ▒   ░ ░ ▒  ░░░▒░ ░ ░ ░ ░▒  ░ ░    ░     ░ ░  ░  ░▒ ░ ▒░
░          ░ ░    ░░░ ░ ░ ░  ░  ░    ░         ░     ░░   ░
░ ░          ░  ░   ░           ░              ░  ░   ░   
░ +Suwardi-Wed 10/Aug/2016 09:40 +Centenial Tower 12th fl+


What is Fencing? Fencing is a statement from cluster to cut off / disconnect a node from cluster. A node that to be disconnected, it will be cut off from share storage device connection. This function is handled by fenced daemon. 

How to Create a Shared Internal Disk on VirtualBox

May 22, 2016 12:20 PM

 __     __    ____     U  ___ u __  __  
 \ \   /"/uU | __")u    \/"_ \/ \ \/"/  
  \ \ / //  \|  _ \/    | | | | /\  /\  
  /\ V /_,-. | |_) |.-,_| |_| |U /  \ u 
 U  \_/-(_/  |____/  \_)-\___/  /_/\_\  
   //       _|| \\_       \\  ,-,>> \\_ 
  (__)     (__) (__)     (__)  \_)  (__)


There were a simple thing to create a shared disk in VirtualBox for your VM. The shared disk could be shared for sparate VMs. It's possible to create a cluster environment in VirtualBox. I have already tried to create a shared disk using Virtual SAN software or defined storage software using freenas and openfiler. But I have failed due to these virtual SAN software can't be shared to other server of the same volume. But, Virtualbox has a simple way to share an internal disk to other VMs with bellow technique :

Matikanlah share folder saat berada di public wifi!!

Nov 11, 2014 6:48 PM

    .....                                               
 .H8888888h.  ~-.                                       
 888888888888x  `>    .u    .                           
X~     `?888888hx~  .d88B :@8c        u         .u@u    
'      x8.^"*88*"  ="8888f8888r    us888u.   .zWF8888bx 
 `-:- X8888x         4888>'88"  .@88 "8888" .888  9888  
      488888>        4888> '    9888  9888  I888  9888  
    .. `"88*         4888>      9888  9888  I888  9888  
  x88888nX"      .  .d888L .+   9888  9888  I888  9888  
 !"*8888888n..  :   ^"8888*"    9888  9888  `888Nx?888  
'    "*88888888*       "Y"      "888*""888"  "88" '888  
        ^"***"`                  ^Y"   ^Y'         88E  
                                                   98>  
                                                   '8   
                                                    `   
Bagi anda yang selalu terkoneksi ke internet menggunakan wifi, mohonberhati-hati saat sharing dokumen, karena data anda bisa dilihat dan diambil orang tanpa anda sadari. Di dunia kerja, share data/file sudah biasa karena data anda juga sering dibutuhkan oleh rekan kerja yang lain. Di area kerja bisa bebas share file karena berada di Private Network (trusted area). Ketika laptop kerja yang anda pakai, anda gunakan untuk terkoneksi internet via wifi di tempat umum. Maka anda sudah masuk ke area yang tidak lagi Private/Trusted.

Artikel ini akan menjelaskan dan menggambarkan saat terkoneksi dengan wifi tanpa kita sadari ada folder/direktori anda yang dishare, kemudian file-file di folder anda bisa dipantau bahkan diambil secara ilegal. 

Linux shell scripting for mysql database backup over rsync connection

Nov 8, 2014 9:50 PM

                                                                                
 ,d88b.    ,                                                        ,d88b.    , 
'    `Y88P'  `Yb    dP' .d888b.  .dP""Yb  `Yb d88b d88b  .dP'  dP' '    `Y88P'  
 ,d88b.    ,   Yb  dP   8'   `Yb       Yb  88P   8Y   8b 88    88   ,d88b.    , 
'    `Y88P'     YbdP    Yb.   88       dP  88    8P   88 Y8   .88  '    `Y88P'  
                .8P         .dP  `YbwwdP  .8P  bdP  bdP  `Y88P'88               
              dP'  b      .dP'                                 88               
              Y.  ,P    .dP'                                   88               

               `""'                                            Y8.              
Backup database is a important task for system administrator. Database files backup are helpfull when there has data/file corruption, damage, etc. Backing up database is a task that must to do. Mysqldump is a popular tool to backup  databases in mysql. I make a bash script to backup mysql databases using mysqldump and rsync. Rsync is usefull tool to send file across network in fast transfer.

Configure Apache in FreeBSD

Sep 20, 2012 9:05 PM

  _______  _________   _______  __________ ____ ____  __________
 /   O   \|    _o___) /   O   \/   /_____//   /_\   \/   /_____/
/___/%\___\___|%%%%%'/___/%\___\___\%%%%%'\___\%/___/\___\%%%%%'
`BB'   `BB'`B'       `BB'   `BB'`BBBBBBBB' `BB' `BB'  `BBBBBBBB'

I think you already know freebsd has ports facility that so much eased sysadmin in installation software. Including apache, php and mysql enable you to install through ports. If you didn't install apache before, or it's the first time apache installation, you can go to /usr/ports/www/apache22 directory. You will build apache from here.

Get Unix Memory And CPU Statistic

Mar 21, 2012 3:46 PM

,_________________________________________________________________________,
,                 Get Memory And CPU Performance Statistic                ,
,                 ========================================                ,
,_________________________________________________________________________,

Every Unix system has amount of physical memory (RAM). With this physical memory, Unix doing addressing and break it up into chunks or "pages" of memory. 
Pages of memory is the fixed length contiguous block of virtual memory that is the smallest unit of data for memory allocation and transfer [wikipedia]. 
In linux system, we can get the number of bytes per page using function 'getpagesize()' from standar library, for the example as follow:

 #include <unistd.h>
 #include <stdio.h>
 int main(int argc, char *argv[]) {
  printf("Page size: %d\n", getpagesize());
 }

So, how about the tools to measure the performances?. I will show you one greath tool to measure the memory and CPU. The tool are:

Enable ftp connection using proftpd

Feb 26, 2012 11:13 PM

Enable file transfer using ftp is not difficult task in linux system. After ftp server application installed, then check it: for example in slackware,
$ ls /var/log/packages/ | grep ftpd
proftpd-1.3.3e-i486-1
vsftpd-2.3.4-i486-1

Re-compile the linux kernel and make your own kernel version

Feb 25, 2012 8:54 AM

.____/\ ._______.______  .______  ._______.___    
:   /  \: .____/: __   \ :      \ : .____/|   |   
|.  ___/| : _/\ |  \____||       || : _/\ |   |   
|     \ |   /  \|   :  \ |   |   ||   /  \|   |/\ 
|      \|_.: __/|   |___\|___|   ||_.: __/|   /  \
|___\  /   :/   |___|        |___|   :/   |______/
     \/+Suwardi - Sun Feb 19 09:25:41 2012                                


+++: Introduction

I have easy way to modify and recompile the linux kernel. I will not explain about what is the kernel, you can find huge explaination about kernel in internet or in the kernel documentation. In this article, i just want to show you tips about how to recompile the linux kernel with fun and easy way. 

+++: Step one, you must have the kernel source installed your linux machine. If you didn't have it, you must install. For example a kernel source in rpm.


Connecting wifi in CLI mode

Feb 18, 2012 3:56 PM

          __      __.______________.___         
         /  \    /  \   \_   _____/|   |        
  ______ \   \/\/   /   ||    __)  |   |  ______
 /_____/  \        /|   ||     \   |   | /_____/
           \__/\  / |___|\___  /   |___|        
                \/           \/                 

When i was work as sysadmin command line interface is a big friend, i always use command line in my live every day. I didn't feel heavy while using it. For the example, when i want to connecting my notebook to the wifi. Ofcourse unix/linux has so much tool for handling wireless connection which is run over GUI. But, connecting wifi using command line was more fun. Did you not believe? I will show you the tips.

It just for fun connecting notebook to wifi using command line interface. First of all, your wireless interface must be detected by your kernel. Unless, you must configure your wireless driver, for this issue see my article: "Howto configure ndiswrapper for broadcom driver in linux slackware".

Walking through SMB Tracking

Feb 10, 2012 6:25 AM

When you connecting your computer to the public network like restaurant, cafe, airport, and etc. You have to be aware with your personal data. If you forgot to disable file sharing in your PC/notebook, your shared data are in a danger!!!, why???. It can be described from your notebook while it live in your office. While you powered on it machine in your office, it's not a problem to share anything data in a trusted network. Then, when you go to the public area and connecting your notebook to the public network arround you. Don't forget to disable your file share, except you have protected your share with some password. It's a general negligance in the world.

Howto Split a String in shell scripting and Get IP Address string from Shell

6:20 AM

Sometimes, programming in shell scripting needs input ip address from stdin or variables. By default, ip address can be acquired by ifconfig command. This simple tutorial will show you howto cut output string from shell to get piece of string that you need. Login with root or sudo from your user account then run this ifconfig command.

root@war49:/home/war49# ifconfig eth0
eth0 Link encap:Ethernet HWaddr a4:ba:db:d8:05:97
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:47

Howto build SMS server with gammu

6:16 AM


  ▄████  ▄▄▄       ███▄ ▄███▓ ███▄ ▄███▓ █    ██ 
 ██▒ ▀█▒▒████▄    ▓██▒▀█▀ ██▒▓██▒▀█▀ ██▒ ██  ▓██▒
▒██░▄▄▄░▒██  ▀█▄  ▓██    ▓██░▓██    ▓██░▓██  ▒██░
░▓█  ██▓░██▄▄▄▄██ ▒██    ▒██ ▒██    ▒██ ▓▓█  ░██░
░▒▓███▀▒ ▓█   ▓██▒▒██▒   ░██▒▒██▒   ░██▒▒▒█████▓ 
 ░▒   ▒  ▒▒   ▓▒█░░ ▒░   ░  ░░ ▒░   ░  ░░▒▓▒ ▒ ▒ 
  ░   ░   ▒   ▒▒ ░░  ░      ░░  ░      ░░░▒░ ░ ░ 
░ ░   ░   ░   ▒   ░      ░   ░      ░    ░░░ ░ ░ 

      ░       ░  ░       ░          ░      ░  

There are many companies and organizations need tool to spread information to their members or partners. Short message service (SMS) is a simple, cheap, and fast service for that requirement. One of the tool for this sms engine called gammu. Gammu is a sms engine, which control for sending and receiving messages. Gammu is open source tool that provides abstraction layer access for cell phones. It covers wide range of phones, focussing on AT compatible and nokia phones.

Configure Ndiswrapper for Broadcom Driver on Linux Slackware

Jun 22, 2010 1:28 PM

Configuring wifi card drivers for linux are complex, but it's not confused as you thought. Configure all drivers on linux need more skills and more understanding. For the example, configure wifi card which has atheros chipset, you must have a madwifi-ng driver and skill to modify some configurations and to compile madwifi-ng source files. Same as you will configure broadcom driver, you must have a broadcom windows driver and it contains .inf file. In this article, i will give a tutorial to configure broadcom driver here.



Article list :