How to install/run PhoneGap on Ubuntu 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 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 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 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 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 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 ...

GUI on Ubuntu Server with X11 Forwarding So X11 Forwarding! Hey there! How’s it going? Today we are going to focus on how to run an application that requires a graphic interface on your Ubuntu server where typically Ubuntu server does not come with GUI. Let’s map your Desktop GUI to the remote server by using X forwarding, It is easy to accomplish X forwarding on Ubuntu using X11 ...

Apache Load Balacing with HAProxy As I said earlier loading balancing is a hot topic when it comes to High Availability(HA). So here goes the 2nd post on HAProxy. Let’s distribute the workload among server using our favorite load balancer HAProxy. If you didn’t read the 1st post on MySQL load balancing with HAProxy it’s time now or never. Today we are going to take a ...

MySQL Load Balancing With HAProxy What’s HAProxy HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world’s most visited ones. Loading balacing is a hot topic when it comes to high availability(HA). You can distribute the ...

MySQL Master-Master Replication What’s MySQL Replication Replication enables data from one MySQL database server (the master) to be replicated to one or more MySQL database servers (the slaves). So MySQL Master-Master Replication In other words MySQL replication is the process by which data stored in a database, will be copied to a second server’s database. This is called MySQL master-slave replication. Today I’m ...

Hey there! How’s it going? Today what we are going to do is remotely connect to a linux machine with a GUI. Better than ssh right? For that we’ll be using VNC. So VNC? Virtual Network Computing (VNC). VNC is a graphical desktop sharing system. It uses Remote Frame Buffer protocol (RFB) protocol for the communication. If you are curious ...

Let’s make a SOAP request from command line(curl)? Hellow there folks! These days most of the web services are exposed as REST or SOAP. There could be a chance where you need to make a request from your command line rather than installing a tool such SOAPUI. Tools are really helpful but there are times where you can’t use tools. I’ll be using curl to make the request. ...

How to SSH without a password What’s SSH & SSH Keys SSH A.K.A Secure Shell is used to make remote connections between computers to execute commands. A username and password is used for the authentication purpose when establishing the connection. If you have a very strong password, it’s almost 100% secure to use SSH since the data transmission is encrypted through SSH. But are you comfortable ...

Access a Java function from PHP Using PHP/Java Bridge If you are wondering how to access a Java function from your PHP code, this blog post is just for you. Answer to your problem is PHP/Java Bridge. You can do many more things using PHP/Java Bridge. Without beating around the bush let’s get started(happy-face). What’s PHP/Java Bridge? “The PHP/Java Bridge is an implementation of a streaming, XML-based network protocol, which ...

What & How to configure Apache Multi-Processing Modules (MPMs) Are you worried about your Apache server performance? Okay let’s talk about Apache Multi-Processing Modules (MPMs). There is a documentation for Apache MPM but who has got time to read the documentations. Let’s talk in simple plain english about Apache Multi-Processing Modules (MPMs). All you need is 15 mins to learn Apache MPMs(happy-face). What The MPMs are used to change the ...

Hi there Linux people! Today we are going to talk about the VIM editor. The VIM is a text-editor but not just a text-editor when you get to know it. The VIM editor is Based on the vi editor common to Unix-like systems. The VIM editor is a more feature rich extension of the VI editor. Best part is that the VIM editor is free. In other words ...

Where PHP security could fail or be vulnerable PART 2 Hey PHP folks! How are you? Having a bad day? Are you hacked? Are you feeling unsafe from hackers? Don’t worry, I got you. Today are going to continue our PHP security post. Haven’t you read the part 1 of this blog post? If not I would like you to read it. There I have talked about data security, SQL injection, OS ...

Where PHP security could fail or be vulnerable Hellow there PHP lovers or PHP hackers or whoever you are(happy-face). Today we are going to talk about PHP security. Yeah security. Interesting right? I know I know. Some of the stuff I mention below would be specifically applicable to PHP. But I’ll try to generalise as much as possible so you could apply them everywhere. In this blog post ...

What And How To Use Apache Virtual Host? Hellow there! How’s it going? Today I thought of concentrating my blog on Apache Virtual Host. There you have the URL to the documentation page. It’s for the Apache HTTP Server Version 2.2. Have you got time to read all that? I mean who’s got time to read all those docs? That’s why I’m here for. I’ll make this blog post ...

Unix(Linux,Mac) Screen Command Hey techies! How’s it going? I couldn’t share a blog post on unix for a while. So I thought of writing one for you guys and you are going to love it(wink-face). Do you know what we are going to talk about? Today we are going to talk about “Screen“(excited-face). The screen command works on both unix based operating systems ...

Previous Page