Category Archives: Open Source

Open Source.

How to setup Apache Thrift on Ubuntu

How to setup Apache Thrift on Ubuntu: The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, … Continue reading

Posted in Apache Thrift | 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

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

Composer commands

Composer : Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you. For more information check official site getcomposer. Packagist … Continue reading

Posted in Open Source, Project management tools | Leave a comment

Setup Rabbitmq Clusters on Ubuntu

Setup Rabbitmq Clusters on Ubuntu : A RabbitMQ broker is a logical grouping of one or several Erlang nodes, each running the RabbitMQ application and sharing users, virtual hosts, queues, exchanges, etc. Sometimes we refer to the collection of nodes … Continue reading

Posted in Rabbitmq | Tagged | Leave a comment

Setup newrelic redis plugin on ubuntu

Setup newrelic redis plugin on ubuntu : Web Application Monitoring New Relic is the only dashboard you need to keep an eye on application health and availability. Real user monitoring, server utilization, code-level diagnostics, and more. Get direct visibility into … Continue reading

Posted in Newrelic | Tagged | Leave a comment

Gearman shell script

Gearman shell script : This is gearman worker server demo script for getting job done from workers on distributed systems. Scripts generate pdf report using wkhtmltopdf utility and upload them to S3 server. Symphony command : app/console company:command pdf-report /tmp/gearman/wkhtmltopdf/pdfs … Continue reading

Posted in Gearman, Shell Script | Tagged , | Leave a comment

Integrate gearman with php

First Install Gearman Install Gearman PHP Extension: The Gearman PHP Extension allows you to write Gearman clients and workers using PHP. Gearman PHP Extension available for download at http://pecl.php.net/package/gearman #sudo apt-get install -y php5-dev libgearman-dev # wget http://pecl.php.net/get/gearman-1.0.3.tgz #tar -zxf gearman-1.0.3.tgz … Continue reading

Posted in Gearman | Tagged | Leave a comment

Integrate rabbitmq with php

Integrate rabbitmq with php : Follow either one of the following php-client integration. 1)php-amqplib a pure, fully featured PHP client $ mkdir php $ cd php $ wget https://github.com/videlalvaro/php-amqplib/tarball/v1.0 \ –no-check-certificate $ tar -xzvf v1.0 $ mv videlalvaro-php-amqplib-b0b8696 php-amqplib 2)PECL AMQP … Continue reading

Posted in Rabbitmq | Tagged | Leave a comment