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 and cronie using yum.
We will use EPEL repo, which includes MongoDB installation package to simplify the deployment.
1. Install [...]
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 specific command, he still not to familiarize with the environment and gain some experience.
I have created following PDF where [...]
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 sv101.krispykream.net. Now I need to restore all files in directory/home/webby/public_html/blog from latest backup.
Configure Amanda Client for Restore
1. Login [...]
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:
Installation example will be as below. I am using a freshly installed CentOS 6.3 64bit installed with minimal ISO, with wget and perl [...]
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 will save your time tremendously when you want to have several machines with same configuration inside [...]
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 this objective, I need to have a server which run as logging server, accepting various type of logging [...]
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 PPTP server and this post will just show on how to connect from CentOS CLI box.
I will [...]
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 command executed and completed.
For example, I usually download a big installer file which usually make me constantly [...]
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 CentOS 6 64bit with iptables and SELINUX have been turned off.
Install Amanda Server [...]
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 order data. They thought that it is a fault transaction and proceed to delete the data to synchronize the payment back.
Now they [...]
Here are several of my BASH commands collection related to looping which I frequently used. This list will be always updated for reference and knowledge base.
1. Copy .htaccess file under /home/website1/public_html to all directories and sub-directories under /home/website2/public_html excluding .svn directories:
cd /home/website2/public_html for i in $(find -type d | egrep -v .svn); do cp [...]
Our development team are working on a new project which involved many scripts to be executed in long time using Apache. These scripts are used to migrate and convert old database to the new database fields and formats. Most of the scripts are still under development and required me to monitor the process and terminate [...]
- US Defense Dept. approves Apple devices for use on its network - Austrian Tribune 18 May 2013
- Nasa approves first asteroid mission - News24 18 May 2013
- Peugeot RCZ Magnetic edition announced for the UK - ASEAN Automotive News (blog) 18 May 2013
- Google Play Music vs Pandora: three key music streaming differences - Stabley Times 18 May 2013
- US Congress questions Google Glass's privacy safeguards - Zee News - India - Zee News 18 May 2013