Author Archives: hack4geek

About hack4geek

The quieter you become the more you are able to hear

How to dowgrade linux(ubuntu) kernel to previous version

Recently we are bitten by the OOM bug in the ubuntu kernel version 4.4.0-59-generic. The fix will be released in updates channel tentatively on Feb 20 2017. We can’t wait till that time. So  We decided to roll back to the … Continue reading

Posted in kernel, Linux, system administration | Leave a comment

Nodemcu Blink Example

Nodemcu Working LED Blink Example

Posted in IoT | Leave a comment

Setting up Redis High Availability (HA) cluster using Sentinel

We were running redis server in one of our machine which serves one of our mirco service. The redis service was running happily for 3 months. One day suddenly redis server stopped responding because machine ran out of disk space. … Continue reading

Posted in Application Development, Cloud Computing, Database, elasticache, Linux, NoSQL, redis, sentinel | Leave a comment

mysql ssh tunneling on ec2 instance

ssh -L 4000:xxx.yyyy.rds.amazonaws.com:3306 -i .ssh/MyKey.pem ec2-user@ec2-54-215-43-78.compute-1.amazonaws.com   This will connect to mysql running on xxx.yyyy.rds.amazonaws.com on port 3306 through this  host ec2-54-215-43-78.compute-1.amazonaws.com with user name ec2-user whenever we connect localhost port 4000. To connect to  xxx.yyyy.rds.amazonaws.com mysql server just point … Continue reading

Posted in Cloud Computing | Tagged , , , | Leave a comment

Setting up play framework 2.2.x with Intellij IDEA 13.x.x

Recently i tried to prototype an application with Play Framework 2.2. After going through official document i was able run the quickstart application. I want to integrate play development work with intellij IDEA 13 because IDEA is my preferred IDE … Continue reading

Posted in Application Development | Tagged , | Leave a comment

How to install weighttp in Ubuntu?

weighttp a lightweight and simple webserver benchmarking tool. To install weighttp in ubuntu we need to install libev (It is libev not libdev) using the following command sudo apt-get install libev4 libev-dev or we can install libev for any linux … Continue reading

Posted in Linux, webserver | Tagged , , , , , , , | Leave a comment

How to install dotcloud CLI in Fedora?

Hi Everyone, I would like to share my experience in setting up dotcloud CLI(Command Line Interface ) in fedora 15 (LoveLock). Step 1 : We need to install easy_install to fetch & install python modules easily . Execute the following … Continue reading

Posted in Cloud Computing | 1 Comment