Couchbase Cluster Deployment (Installation) on Ubuntu

Dasun Hegoda
How’s it going tech folks? I have been using NoSQL for a while now and I like it. So today I’m going to talk about how to deploy (Install) a Couchbase database cluster on Ubuntu. What’s Couchbase Couchbase is one of the most popular NoSQL databases. If you are wondering why NoSQL? Read here. Anyway what they say about Couchbase is “Develop ...

Hadoop 2 Deployment (Installation) on Ubuntu

Dasun Hegoda
Hadoop is everywhere and gaining attention like crazy. This is not an article which explains what’s it or how it works because there are a lot of good resources for that. So I don’t want to repeat the same stuff but I’m going to help you to go step further and deploy a Hadoop multi node cluster on ubuntu. Pretty interesting right? ...

REST API Architecture – Best Practices

Dasun Hegoda
SOA(Service Oriented Architecture) has become a foundation for the most of the application that are developed today. A service oriented architecture is an architectural pattern which enables collection of services to communicate with external/internal parties to pass data or for services coordinating. Let’s start from what’s a service. What’s a Service/API A service is a function that is well-defined, self-contained, and does not depend on ...

Top 10 Linux Command Examples

Dasun Hegoda
Today let’s focus on a Linux command list that will be useful to a newbie who is just starting off with Linux. It doesn’t matter whether you are a web developer or software engineer if you are going to use Linux you have to learn these. These commands are used day to day to get done work. I don’t want ...

High Availability Deployment Architecture

Dasun Hegoda
What’s High Availability High availability is a critical success factor for any given enterprise application. Today we’ll go through how to design and deploy an application with high availability. First things first. Let’s see what’s high availability. High availability is a characteristic of a system, which describes the duration (length of time) for which the system is operational. – Wikipedia ...

SSH Tunnelling – Local Port Forwarding

Dasun Hegoda
Introduction Today we are going to experience the power of the SSH(Secure Shell) command. Yes Linux. I recently wrote an article on X11 forwarding that allows to map your local computer’s GUI to server where SSH is used underneath. It’s time for you read it if you haven’t. To understand the today’s topic let’s 1st look at what’s tunnelling that’s ...

Apache Access Logs to MySQL Database

Dasun Hegoda
Apache Access Logs Centralising Apache logs can be useful in many scenarios. Let’s get the basics 1st. So Apache logs can be defined as In order to effectively manage a web server, it is necessary to get feedback about the activity and performance of the server as well as any problems that may be occuring. The Apache HTTP Server provides ...

Web Shell – WSO – Hacking – #ImAWhiteHat

Dasun Hegoda
So WSO!!! By attempting any of the things listed in this blog post you accept full responsibility for your actions and I will not be held responsible whatsoever. This tutorial is strictly for penetration testers only.  Today we are going to talk about a slightly different topic. I’m pretty sure you are going to love it if you are techie ...

Web Shell – WSO – Security – #ImAWhiteHat

Dasun Hegoda
So WSO!!! By attempting any of the things listed in this blog post you accept full responsibility for your actions and I will not be held responsible whatsoever. This tutorial is strictly for penetration testers only.  Today we are going to talk about a slightly different topic. I’m pretty sure you are going to love it if you are techie ...

Nikto – Web Vulnerability Scanner – Tutorial

Dasun Hegoda
So Nikto!!! Is your site safe on the internet? Are you sure? Let’s make sure you are safe from hackers. Today we’ll divine into a tool which will help us to stay safe. The name is Nikto. It is a vulnerability scanner else can be called as a security testing tool that scans web servers for vulnerabilities and other known issues. ...

Nikto – Web Vulnerability Scanner – #ImAWhiteHat

Dasun Hegoda
So Nikto!!! By attempting any of the things listed in this blog post you accept full responsibility for your actions and I will not be held responsible whatsoever. This tutorial is strictly for penetration testers only.  Is your site safe on the internet? Are you sure? Let’s make sure you are safe from hackers. Today we’ll divine into a tool which ...

Nikto – Web Vulnerability Scanner

Dasun Hegoda
So Nikto!!! Is your site safe on the internet? Are you sure? Let’s make sure you are safe from hackers. Today we’ll divine into a tool which will help us to stay safe. The name is Nikto. It is a vulnerability scanner else can be called as a security testing tool that scans web servers for vulnerabilities and other known issues. ...

Class Diagram From PHP Code Using phUML

Dasun Hegoda
Today we are going to talk about UML Generator called phUML which is written in PHP. phUML is one of the best tools I have encountered to generate a class diagram from the existing PHP code. This is a common need when it comes to agile methodology. At some point we all have to write code 1st then do the documentation such ...

How to setup HAProxy with Keepalived

Dasun Hegoda
Back once again it’s Linux time. This post also can be named as how to set up a floating IP between load balancers or how to set up a shared IP for between load balancers or how to configure a high available load-balancers. what happens here we are using keepalived, which allows us to setup HAProxy nodes to create active/passive cluster so that ...

How to install/run PhoneGap on Ubuntu

Dasun Hegoda
Hybrid mobile application development is a hot topic these days. PhoneGap is one of the frameworks that can be used to develop hybrid mobile apps. If you are new to hybrid mobile application development read this post. You only have to follow these steps to have a PhoneGap app up and running in your Ubuntu. Before that, What’s PhoneGap PhoneGap is a ...

Apache with mod_proxy as a reverse proxy

Dasun Hegoda
So mod_proxy This module implements a proxy/gateway for Apache. It implements proxying capability for AJP13 (Apache JServe Protocol version 1.3), FTP, CONNECT (for SSL), HTTP/0.9, HTTP/1.0, and HTTP/1.1. The module can be configured to connect to other proxy modules for these and other protocols. This post also can be named as “How to setup a proxy passer(ProxyPass, ProxyPassReverse) in Apache2″ because today ...

What? How? Why? When? Monit

Dasun Hegoda
What Monit? Let me explain about the utility. It has the ability to start a process if it is not running, restart a process if not responding and stop a process if uses high resources. In simple words it’s a helpful program that automatically monitors and manages server programs/resources to ensure that they stay online 24/7 while maintaining the correct file size, ...

What? How? Why? When? Monit

Dasun Hegoda
What Monit? Let me explain about the utility. It has the ability to start a process if it is not running, restart a process if not responding and stop a process if uses high resources. In simple words it’s a helpful program that automatically monitors and manages server programs/resources to ensure that they stay online 24/7 while maintaining the correct file size, ...

rsync with Practical Examples

Dasun Hegoda
rsync(remote sync) commonly found on Unix-like systems which is a remote/local file synchronisation utility where It uses an algorithm that minimises the amount of data copied by only moving the portions of files that have changed. Without beating around the bush let’s get our hands dirty. I found this link really interesting. Basic syntax and options of rsync rsync options ...

Hardening & Securing Apache HTTP Server

Dasun Hegoda
How’s it going people? Everyone wants 100% secure applications but the problem is do 100% applications exist in the world? Answer is ‘Nope’. That’s bad but you can secure your application up to a certain extend by applying security. Hope you have read my last two articles on PHP Security. Article 1 & Article 2 where you can apply security at the ...