Tag Archives: linux

How to install a Ubuntu 16.04 (Xenial Xerus) Minimal Server

Zabihah Halal Vitamins
How to install a Ubuntu 16.04 (Xenial Xerus) Minimal Server
This tutorial shows the installation of a Ubuntu 16.04 minimal server in detail with many screenshots. The purpose of the guide is to show the basic installation of Ubuntu 16.04 that can be used as basis for our other Ubuntu tutorials here at howtoforge like our perfect server guides.

Powered by WPeMatico

How to install Lighttpd with PHP-FPM and MariaDB on CentOS 7

Zabihah Halal Vitamins
How to install Lighttpd with PHP-FPM and MariaDB on CentOS 7
Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install
Lighttpd on a Centos 7 server with PHP support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP
FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial
instead of Lighttpd’s spawn-fcgi.

Powered by WPeMatico

Replicating a master database using MariaDB 10 on Debian 8

Zabihah Halal Vitamins
Replicating a master database using MariaDB 10 on Debian 8
Replicating databases creates redundancy which can protect against data loss, and permit optimized performance for applications. This tutorial will cover the basics of replicating an existing MariaDB 10.0 master database to one or more slaves. In the following examples, the host operating system is Debian 8.

Powered by WPeMatico

Virtual Hosting with vsftpd + TLS encryption and MySQL on Ubuntu 15.10

Zabihah Halal Vitamins
Virtual Hosting with vsftpd + TLS encryption and MySQL on Ubuntu 15.10
Vsftpd is one of the most secure and fastest FTP servers for Linux. Usually vsftpd is configured to work with system users. This document describes how to install a vsftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single
machine.

Powered by WPeMatico

How to speed up apache with mod_pagespeed and Memcached on Ubuntu 15.10

Zabihah Halal Vitamins
How to speed up apache with mod_pagespeed and Memcached on Ubuntu 15.10
This tutorial shows how to improve the page load times of your website by using the Google mod_pagespeed module for Apache in conjunction with the fast in-memory cache Memcached. Pagespeed is an Apache 2 module that optimizes and caches the content of a website before it gets delivered to the browser, the result is that the page loads faster, the system load on your server gets lower and the server will be able to deliver more pages per second.

Powered by WPeMatico

How to run commands on File or Directory changes with Incron on Ubuntu

Zabihah Halal Vitamins
How to run commands on File or Directory changes with Incron on Ubuntu
This tutorial shows you how you can use incron on an Ubuntu system to run commands when a file or Directory is changed. The incron daemon is similar to cron, but instead of running commands based on time, it can trigger commands when a file or directory event occurs (e.g. a file modification, changes of permissions, etc.).

Powered by WPeMatico

How to configure PureFTPd to use TLS sessions on CentOS 7

Zabihah Halal Vitamins
How to configure PureFTPd to use TLS sessions on CentOS 7
This article explains how to configure PureFTPd to use TLS sessions on a CentOS 7 server. Plain FTP is an insecure protocol because all passwords and all data are transferred in clear text. By using TLS, the whole communication can be encrypted, thus making FTP much more secure.

Powered by WPeMatico

Docker Part 4: building and publishing custom docker images

Zabihah Halal Vitamins
Docker Part 4: building and publishing custom docker images
For this tutorial, we will use the Whale Docker image. The Whale is the official mascot of Docker and the Whale docker image resembles the cowsay program which generates ASCII pictures of a cow in the terminal with a message. It can also generate pictures using pre-made images of other animals, such as Tux the Penguin, the Linux mascot.

Powered by WPeMatico

How to integrate ClamAV into PureFTPd for virus scanning on CentOS 7

Zabihah Halal Vitamins
How to integrate ClamAV into PureFTPd for virus scanning on CentOS 7
This tutorial explains how you can integrate ClamAV into PureFTPd for virus scanning on a CentOS 7 system. In the end, whenever a file gets uploaded through PureFTPd, ClamAV will check the file and delete it if it contains a virus or malware.

Powered by WPeMatico

How to setup HAProxy as Load Balancer for MariaDB on CentOS 7

Zabihah Halal Vitamins
How to setup HAProxy as Load Balancer for MariaDB on CentOS 7
In this tutorial, I will guide you trough the installation of a MariaDB Galera cluster on CentOS 7 which has an HAProxy load balancer in front. The total setup consists of 4 servers. I will use 3 CentOS 7 servers for the database nodes, 2 nodes will be active and 1 acts as the backup node. The fourth server will be used for the HAProxy load balancer. For the balance algorithm, we use leastconn (but you can use other algorithms).

Powered by WPeMatico