≡ Menu

How to Setup Reverse SSH Tunnel on Linux

Reverse SSH is a technique that can be used to access systems (that are behind a firewall) from the outside world.

As you already know SSH is a network protocol that supports cryptographic communication between network nodes. Using this protocol, you can do a secure remote login, secure copy from/to a remote machine etc.
[continue reading…]

VMware Workstation is VMware’s commercial virtualization software for x64 computers.

This is a Type 2 hypervisor, which means it is installed on top of an existing operating system running on the computer hardware called the host operating system. It can be installed on both Linux and Windows host Operating Systems.

In VMware Workstation you can set up multiple virtual machines, each with its own guest operating system, and execute them simultaneously.
[continue reading…]

Nginx Vs Apache: Nginx Basic Architecture and Scalability

The need for serving large number of concurrent requests is raising every day. The prediction of C10K problem (i.e 10,000 concurrent clients) started the research on web server architecture which could solve this problem. As a result Nginx architecture was developed.

This article explains on a very high-level how Nginx works to solve the scalability problem, along with high level differences between Nginx and Apache webserver.
[continue reading…]

Building a basic Android App is relatively easy once you understand the fundamentals.

This tutorial will give you a brief introduction on Android Activity Lifecycle, the files and functions that are involved in building an Android App.

This should get you started in the right direction and help you to build your own Android app.
[continue reading…]

Linux has evolved a lot since its inception. It has become the most widely used operating system when in comes to servers and mission critical work. Though its not easy to understand Linux as a whole but there are aspects which are fundamental to Linux and worth understanding.

In this article, we will discuss about Linux processes, threads and light weight processes and understand the difference between them. Towards the end, we will also discuss various states for Linux processes.
[continue reading…]

5 SmartPhone Mistakes to Avoid at All Cost

There is no question that smartphone has changed the way how we live. For most part, it has enhanced the quality of our life dramatically.

But, the question we all should ask ourselves is that are we smart in how and when we are using our smartphones?

Let us not mistake information for knowledge. Just because we have all the information right at our fingertips doesn’t mean our knowledge has improvement.

The following 5 points will help you to get your thinking going in the right direction. Take some time to reflect and see whether you are using these devices smartly.

I’m still learning and make some of these mistakes. But, I’ve taken a conscious effort to make sure that my smartphone is not controlling my life.
[continue reading…]

5 Standard Completion Available in Linux Bash Command Line

In Linux, by default Bash provides the following standard completion for users to use in the command line:

  1. Variablename completion
  2. Username completion
  3. Executable completion
  4. Filename and directory completion
  5. Hostname completion

[continue reading…]

Q: How do I connect to a MySQL database from a perl program? I like to connect to an existing mysql database and select records from a particular table. Can you explain with a simple working example?

A: You should use perl DBI module to connect to a MySQL database as explained below.
[continue reading…]