How to secure LEMP stack

How to secure LEMP stack

We’ll show you, how to secure LEMP stack. LEMP, it stands for Linux, (EngineX) NGINX, MariaDB (or MySQL) and PHP. Due to its flexibility and simplicity, NGINX slowly takes over the Internet. In this tutorial, we will attempt, through examples of bad and good practices, to go through the steps of properly securing your Linux web server. So what is the term Security? Often you can hear the IT Engineers saying “Our network is secure” or “Our servers are secure” however, those sentences although widely used are technically not correct, as in many books and publications you can find that Security as a term is not a static value, but rather a degree. From Wikipedia the definition is:
“Security is the degree of resistance to, or protection from harm. It applies to any vulnerable and/or valuable asset, such as a person, dwelling, community, item, nation, or organization.”
In terms of servers or applications, one should always be aware that the more secure their server or application is, the less accessible it becomes (it is harder to be accessed).

Of course, the best example for this is the proverb:
“The most secure server is the one that is switched off.”.

As ridiculous as it may sound, this is occasionally practiced by some organizations today, where their most secure servers are kept offline and/or in totally closed networks and are powered on only when they need to be.

Read More

Install Redmine on an Ubuntu 14.04 server with MariaDB, Puma and Nginx.

install-redmine-on-an-ubuntu-14-04-with-mariadb-puma-and-nginxIn this tutorial, we will explain how to install Redmine 2.6 on an Ubuntu 14.04 VPS with MariaDB, Puma and Nginx. Redmine is a flexible open source issue tracking and web-based project management application . Redmine is built on Ruby on Rails framework and it is cross-platform and cross-database. This guide should work on other Linux VPS systems as well but was tested and written for Ubuntu 14.04 VPS.

Read More

Install Phabricator on CentOS 7

Install Phabricator on CentOS 7

In today’s article we will cover the steps on how to install Phabricator on a CentOS 7 VPS with Apache web server, PHP and MariaDB the enhanced, drop-in replacement for MySQL. Phabricator is an open source collection of web applications which help software companies build better software. It includes the Differential code review tool, the Diffusion repository browser, the Herald change monitoring tool, the Maniphest bug tracker and the Phriction wiki. Currently maintained by Phacility, it was originally developed as an internal tool at Facebook. It is available as free software under the Apache License, version 2.

Read More

Install OpenCart 2 on an Ubuntu 14.04 VPS with Nginx and PHP-FPM

install-opencart-2-on-an-ubuntu-14-04-vps-with-nginx-and-php-fpmIn this tutorial, we will explain how to install OpenCart 2 on an Ubuntu 14.04 VPS with MariaDB, PHP-FPM and Nginx. OpenCart is an open source, feature rich, easy to use and search engine friendly PHP-based e-commerce solution. This guide should work on other Linux VPS systems as well but was tested and written for Ubuntu 14.04 VPS.

Read More

Install Invoice Ninja on a Debian 7 VPS

install-invoice-ninja-on-debian-7-vpsIn this tutorial, we’ll see how to install Invoice Ninja on a Debian 7 (Wheezy) VPS with MariaDB, PHP-FPM, and Nginx. Invoice Ninja is a free, open-source solution for invoicing and billing customers and it’s based on Laravel 4.1 framework. This guide should work on other Linux VPS systems as well but was tested and written for Debian 7 VPS.

Looking to get some fully managed hosting for your InvoiceNinja account? We offer complete migration, installation, optimization, and customization – 100% free of charge! Check out our premium affordable VPS hosting packages and switch to a more secure, more efficient server with 24/7/265 amazing customer support today.

Read More

Install LAMP (Linux Apache MariaDB and PHP) with phpMyAdmin on Fedora 20

lampIn today’s article we will cover the steps on how to install the LAMP (Linux Apache MariaDB and PHP) stack with phpMyAdmin on a Fedora 20 VPS.

LAMP represents a full featured stack containing the most popular web server known as Apache, the database server MariaDB and the most popular open-source web programming language known as PHP.

This tutorial shows how to setup LAMP on Fedora 20, but the procedure is the same for Fedora 21 OS.

Read More

Install and Configure PureFTPd with MySQL on an OpenSUSE Linux VPS

pure-ftpd-with-mysqlPure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server which is actively supported and designed with security in mind. It focuses on efficiency, ease of use and provides simple answers to common needs, plus unique useful features for personal users especially on Linux VPS servers as well as hosting providers. Pure-FTPd can even run 100% non-root, with its built-in chroot() emulation and virtual accounts.

Read More

How to install LEMP (Linux, Nginx, MariaDB & PHP-FPM) on a CentOS 7 VPS

Nginx-logoThe following article will walk you through the steps on how to install LEMP (Linux, Nginx, MariaDB & PHP-FPM) on one of our CentOS 7 Linux Virtual Servers.

If instead, you are looking for how to set-up LAMP, then please refer to our guide on how to install LAMP (Linux Apache, MariaDB & PHP) on a CentOS 7 VPS

What is LEMP?

A LEMP stack is a synonym of LEMP server or LEMP web server. It refers to a set-up which includes Linux, Nginx, MariaDB (MySQL) and PHP.

Read More