I run a small Apache based web-server for my personal use, and it is shared with friends and family. However, most script kiddie try to exploit php application such as WordPress using exec(), passthru(), shell_exec(), system() functions. How do I disable these functions to improve my php script security? Tutorial details Difficulty Easy (rss) Root privileges Yes Requirements LAMP Estimated completion time N/A PHP has a lot of functions which can be used to crack ... Read more
OpenSSH is the implementation of the SSH protocol. OpenSSH is recommended for remote login, making backups, remote file transfer via scp or sftp, and much more. SSH is perfect to keep confidentiality and integrity for data exchanged between two networks and systems. However, the main advantage is server authentication, through the use of public key cryptography. From time to time there are rumors about OpenSSH zero dayexploit. Here are a few things you need to ... Read more
How do I block port number with iptables under Linux operating systems? Port numbers which are recognized by Internet and other network protocols, enabling the computer to interact with others. Each Linux server has a port number (see /etc/services file). For example: TCP port 80 - HTTP Server TCP port 443 - HTTPS Server TCP port 25 - Mail Server TCP port 22 - OpenSSH (remote) secure shell server TCP port 110 - POP3 (Post ... Read more
Today we are going to learn about PHP Compilation for Ubuntu. I installed Ubuntu 14.04 and PHP 5.5 came pre-installed with the system but my problem was that I had to make use of ZendOptimizer which supports PHP upto 5.4 only therefore I decided to go manually compile PHP 5.4 and install over Ubuntu. Today we are going to learn about PHP Compilation for Ubuntu. I installed Ubuntu 14.04 and PHP 5.5 came pre-installed with ... Read more
Oracle VirtualBox 4.3.18 has been released on Oct 10th, 2014. Oracle VirtualBox 4.3.18 is a maintenance release of VirtualBox 4.3 which improves stability and fixes regressions. See the ChangeLog for more details. This article will help you to install Oracle VirtualBox on your Ubuntu 14.04 LTS, 13.10, 13.04, 12.10, 12.04 LTS and 10.04 LTS and Debian 7/6 systems. Step 1: Setup Apt Repository Firstly edit /etc/apt/sources.list file and add one of following line according to ... Read more
LAMP (Linux, Apache, MySQL and PHP ) Stack is the most popular environment in PHP website development and hosting. Linux is the operating system, Apache is the popular web server developed by Apache Foundation. MySQL is relational database management system used for storing data and PHP is an development language. This article will help you to Install Apache 2.2, MySQL and PHP 5.4 on Ubuntu 12.04 Systems. PHP 5.5 current stable version is available but ... Read more
About Meteor.js Meteor.js is a framework for JavaScript that allows web developers to write JavaScript code once and reuse it both client and server-side. This is possible thanks to Meteor's unique build process (read more about structuring your application code and code sharing ). This also solves the problem of needing a complicated deployment process between development mode , where developers code and debug, and production mode , that is secure enough for the public-facing ... Read more
Introduction Most Ruby on Rails applications require user registration and authentication mechanisms. Developing these from scratch requires a lot of time and effort – thankfully, there's Devise . Using the Devise gem, you can set up a full-fledged user authentication system within minutes. However, you could make your users happier by allowing them to access your application without creating a new account. They could simply log in using their existing Facebook, Twitter, Amazon, or DigitalOcean ... Read more
Introduction to Packages and Repositories We've all been there – needing a program – and what do we do? Most of us just apt-get install postfix and presto! We magically have Postfix installed. It isn't really magic, though. The package manager apt-get searches for, downloads, and installs the package for you. This is highly convenient, but what if apt-get can't find the program you need on its standard list of repositories? Thankfully, apt-get allows users ... Read more
Introduction Mesosphere is a system that combines a number of components to effectively manage server clustering and highly available deployments on top of an existing operating system layer. Unlike systems like CoreOS, Mesosphere is not a specialized operating system and is instead a set of packages. In this guide, we will go over how to configure a highly available cluster in Mesosphere. This configuration will set us up with failover in case any of our ... Read more