Author Archives: admin

Best Java tools for profiling

Best Java tools : Recently, I was building real-time, high performance back-end Java application which computes 7K ratios per company for around 70K companies (~0.5bn total) by pulling data from different data sources like, Mongodb, Cassandra, Mysql and Redis. It … Continue reading

Posted in Uncategorized | Leave a comment

How to setup cassandra on Ubuntu 14.04

What is Cassandra? The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure make it the perfect platform for mission-critical data.Cassandra’s … Continue reading

Posted in Cassandra, Php, Uncategorized | Tagged | Leave a comment

How to setup a virtual machine

How to setup a virtual machine ? This post covers how to setup VirtualBox , VMware Workstation, VMware Player and Vagrant applications and how to setup guest operating system. Here, I’ve selected Windows 10 Home as Host OS and Ubunbu … Continue reading

Posted in Uncategorized, Virtualization | Tagged , , | Leave a comment

Cross-Origin Resource Sharing

Cross-Origin Resource Sharing: Cross-Origin Resource Sharing (CORS) is a specification that enables truly open access across domain-boundaries. If you serve public content, please consider using CORS to open it up for universal JavaScript/browser access. Usually web browsers forbids cross-domain requests, … Continue reading

Posted in Client-side Scripting. | Tagged , , | Leave a comment

Killing child process in shell script

Killing child process in shell script: Many time we need to kill child process which are hanged or block for some reason. eg. FTP connection issue. There are two approaches, 1) To create separate new parent for each child which … Continue reading

Posted in Shell Script | Tagged | Leave a comment

Setup solr using zookeeper ensemble on ubnutu

Setup Oracle Java: Follow quick step given below to setup java latest version on your system, java -version tar -zxvf jdk-8u45-linux-x64.tar.gz sudo mkdir -p /usr/lib/jvm/jdk1.8.0_45 sudo mv jdk1.8.0_45/* /usr/lib/jvm/jdk1.8.0_45/ sudo update-alternatives –install “/usr/bin/java” “java” “/usr/lib/jvm/jdk1.8.0_45/bin/java” 1 sudo update-alternatives –install “/usr/bin/javac” … Continue reading

Posted in Java, Solr, Uncategorized, Zookeeper | Tagged , , | Leave a comment

Setup ZooKeeper Ensemble on Ubuntu

Setup ZooKeeper Ensemble on Ubuntu: Download Apache ZooKeeper: The first step in setting up Apache ZooKeeper is, of course, to download the software. It’s available from http://zookeeper.apache.org/releases.html. #wget http://mirror.symnds.com/software/Apache/zookeeper/stable/zookeeper-3.4.6.tar.gz #tar -xvf zookeeper-3.4.6.tar.gz Configure the instance: Lets create one in conf/zoo1.cfg: … Continue reading

Posted in Zookeeper | Tagged | Leave a comment

How to install tor in ubuntu

How to install tor in ubuntu: What is Tor? Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, … Continue reading

Posted in Tor | Tagged | Leave a comment

Setup zabbix on ubuntu

Setup zabbix on ubuntu: Zabbix is the ultimate open source enterprise-level software designed for monitoring availability and performance of IT infrastructure components. For more details visit following links, www.zabbix.com www.zabbix.org Install Zabbix: # wget http://repo.zabbix.com/zabbix/2.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.2-1+precise_all.deb # sudo dpkg -i zabbix-release_2.2-1+precise_all.deb … Continue reading

Posted in Uncategorized, Zabbix | Tagged | Leave a comment

Setup vagrant on ubuntu

Setup vagrant on ubuntu: Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team. To … Continue reading

Posted in Virtualization | Tagged , | Leave a comment