Author Archives: admin

How to setup NFS Server

NFS: NFS (Network File System) allows you to ‘share’ a directory located on one networked computer with other computers/devices on that network. NFS is perfect for creating NAS (Networked Attached Storage) in Linux/Unix environment. For more information visit, SettingUpNFSHowTo Setup … Continue reading

Posted in Hardware and Networking, IDE, Uncategorized | Tagged , | Leave a comment

Block ip address using iptables

How to block ip address using iptables Some times we need to block ip address of spammer using iptables when Akismet plugin and recaptcha sometimes doesn’t work for manual spamming. Following example shows how to filter IN and OUT traffic … Continue reading

Posted in Hardware and Networking, Protocals, Proxy, Shell Script | Tagged , | Leave a comment

How to create ext4 partition from the command-line

How to create ext4 partition from the command-line These commands are destructive. Have backups and be careful using them. To quickly set up a drive up as a single ext4 partition… 1) View detected devices of class “DISK” #sudo lshw … Continue reading

Posted in Hardware and Networking | Tagged | Leave a comment

Linux command to check server configuration and hardware information

Linux command to check server configuration and hardware information, 1. How to View Linux System Information #uname -a #lsb_release -a 2. How to View Linux System Hardware Information #cat /proc/cpuinfo #cat /proc/meminfo #cat /proc/version #lshw #lshw -short #lshw -short -C … Continue reading

Posted in Hardware and Networking | Tagged | Leave a comment

Setting up Galera notification command on on Ubuntu

Galera Cluster: Galera Cluster is a synchronous multi-master database cluster, based on synchronous replication and Oracle’s MySQL/InnoDB. When Galera Cluster is in use, you can direct reads and writes to any node, and you can lose any individual node without … Continue reading

Posted in MariaDb, Uncategorized | Tagged | Leave a comment

Setting up Galera Arbitrator on Ubuntu

Galera Arbitrator: The recommended deployment of Galera Cluster is that you use a minimum of three instances. Three nodes, three datacenters and so on. In the event that the expense of adding resources, such as a third datacenter, is too … Continue reading

Posted in Architecture | Tagged , | Leave a comment

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

Best Java tools for profiling

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

Posted in Java | Tagged | 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 Virtualization | Tagged , , | Leave a comment