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
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
Introduction Percona Server is a drop-in replacement fork of the MySQL project. Percona aims to provide better performance, consistency, and scalability on all hardware. This tutorial will guide you through replacing a current MySQL or MariaDB installation with the latest Percona Server version, or installing Percona Server from scratch on a new Droplet. Benefits Percona Server has a number of benefits over a basic MySQL installation: XtraDB : One of the key benefits of switching ... 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 Sensu is a monitoring tool written in Ruby that uses RabbitMQ as a message broker and Redis for storing data. It is well-suited for monitoring cloud environments. Sensu connects the output from "check" scripts with "handler" scripts to create a robust monitoring and alert system. Check scripts can run on many nodes, and report on whether a certain condition is met, such as that Apache is running. Handler scripts can take an action like ... Read more