MySQL – Recover Data Using mysqlbinlog
Our company just launched a new shopping cart web application and currently is under user acceptance phase. Last night, they discovered one bug which cause the payment not synchronize with the sales...
View ArticleCentOS: Install and Configure Amanda Backup Server
I am going to setup Amanda backup into our office’s server to enable network backup to all of our servers located in different geographical area. The idea will be as below: All servers are running on...
View ArticleMailMe: Simple Bash to Notify Your Command Status via Email
I usually having problem whereby I always forgot to check what happen to my copying or downloading progress in the server. This has gives me idea to create a script to notify me via email once the...
View ArticleCentOS 6: Install VPN PPTP Client – The Simple Way
I have a PPTP server which run on Mikrotik Routerboard and I need to connect one of my CentOS 6.3 box to this VPN to retrieve some information from internal server. The VPN account already created in...
View ArticleCentOS 6: Install Remote Logging Server (rsyslog)
In my office network, we have a lot of small devices like router and switches in our environment. My boss wants me to have a report on all of our network device for auditing purposes. To accomplish...
View ArticleClone VM in VMware ESXi 5 using vSphere Client
I am a free VMware ESXi user. Cloning VM is no way to be as easy as VMware Workstation or vCenter. As you know, for free user, you can only manage your ESXi host directly using vSphere client. Cloning...
View ArticleCentOS: Install OpenLDAP with Webmin – The Simple Way
Installing OpenLDAP with Webmin will require a lot of steps. I have created a BASH script to install OpenLDAP with Webmin in CentOS 6 servers. To install, simply download the installer script at here:...
View ArticleCentOS: Restore/Recover from Amanda Backup
So I have Amanda backup server configured in 2 servers as refer to my previous post here. In that setting, I was using Amanda to backup one of the server’s directory /home/webby/public_html in server...
View ArticleBasic Linux Command in PDF
My new assistant has zero knowledge on Linux so I should prepare him some of basic linux command with some example and description. Even though he can use ‘man’ command to get detail explanation on...
View ArticleCentOS: Install MongoDB – The Simple Way
I am in phase of learning a NoSQL database called MongoDB. I will be using a CentOS 6.3 64bit box with minimal ISO installation disc with several package installed like perl, vim, wget, screen, sudo...
View ArticleHow to Fix ‘Too many open files’ Problem
I have been facing following problem when executing Percona Xtrabackup in my CentOS 6.3 box: xtrabackup_55 version 2.1.3 for Percona Server 5.5.16 Linux (x86_64) (revision id: 608) xtrabackup: uses...
View ArticleUbuntu: Error Installing MySQL Server
I encountered following error when trying to upgrade MySQL server in Ubuntu 12.04: dpkg: error processing mysql-server-5.5 (--configure): subprocess installed post-installation script returned error...
View ArticleLinux: Follow and Download using wget
Your Linux box is incomplete if you do not have wget installed. It is a simple CLI based application used to download files from network. It support HTTP, HTTPS and FTP protocols as well as retrieval...
View ArticleImporting IMDb Sample Data Set to MySQL
Here in this post, I am going to show you on how to import IMDb plain text data files available at this page into your MySQL database server. I was using this data set to perform various benchmark...
View ArticleInstall grsecurity with Yum
Easiest way to install grsecurity. The good thing about it is only grsecurity provides protection against zero-day and other advanced threats that buys administrators valuable time while vulnerability...
View ArticleReplacing OpenJDK with Oracle JDK on CentOS 6
I encountered some issues with an application running on Java. I thought it would be fine if running on standard OpenJDK release available at CentOS repository since it is really easy to install with...
View ArticleSysbench 0.5 + Ubuntu 14.04 (Trusty) + Percona Server or XtraDB Cluster
I need to perform benchmarks on Percona XtraDB Cluster and Percona Server directly from my Ubuntu 14.04 box. Sysbench 0.5 is the latest stable to date and it supports benchmarking Galera cluster. If...
View ArticlePercona Server Installation Error – libssl.so.10 and libcrypto.so.10
I stumbled upon one error when installing Percona Server and socat via yum repository with following error: --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package:...
View ArticleInstall Puppet on CentOS, Redhat, Ubuntu, Debian
Lately, I have been spending my time doing research on developing a Puppet module. As you might know, Puppet is an orchestration tool used by many sysadmins to deploy and configure servers without...
View ArticleCentOS/Redhat: How to Install MySQL Sandbox
When you have started to work heavily with MySQL servers, and you need to create, install, configure and destroy MySQL instances, MySQL Sandbox is a great tool to automate those tasks. MySQL Sandbox...
View Article