Monthly Archives: November 2015

Docker Installation/Setup in Ubuntu

Installation ————- Update your droplet: $ sudo apt-get update $ sudo apt-get -y upgrade Make sure aufs support is available:… Continue reading »

HAProxy setup for mysql load balancing

Available Servers —————– HAProxy: 10.0.0.100 mysql1 : 10.0.0.1 mysql2 : 10.0.0.2 Before setup, make sure that mysql servers are working… Continue reading »

Hbase Installation

Installing Hbase ——————— $ su hadoop $ wget http://www.eu.apache.org/dist/hbase/hbase-1.0.2/hbase-1.0.2-bin.tar.gz $ tar -zvxf hbase-1.0.2-bin.tar.gz $ mv hbase-1.0.2 hbase Configuration ————– $… Continue reading »

Multi-node Hadoop Cluster Setup

Installing Java 8 (Both Master and Slave) —————– $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install… Continue reading »

Git : adding, merging and deleting branches

Creating branch and pushing changes. First clone a repository to your local machine. $ git clone test@<IP>:repo.git You can see all… Continue reading »

locate: can not stat () `/var/lib/mlocate/mlocate.db’

Got the below error while trying to use the locate command. locate: can not stat () `/var/lib/mlocate/mlocate.db’: No such file… Continue reading »

Git Local Repository Setup

#Create git user account and add to appropriate group. sudo adduser –shell $(which git-shell) –gecos ‘git version control’ –disabled-password git… Continue reading »