Category Archives: Linux (Ubuntu)

Ubuntu setup a bonding device and enslave two real Ethernet devices

Ubuntu setup a bonding device and enslave two real Ethernet devices

How do I setup a bonding device bond0 and enslave two real Ethernet (say eth0 and eth2) devices to it on Ubuntu Linux 140.04 or 16.04 LTS server? How can I create 802.3ad bonding mode (IEEE 802.3ad Dynamic link aggregation) on Ubuntu Linux 16.04 LTS server?
Halal Vitamins

Powered by WPeMatico

How to Install WordPress with HHVM and Nginx on OpenSUSE Leap 42.1

Zabihah Halal Vitamins
How to Install WordPress with HHVM and Nginx on OpenSUSE Leap 42.1
In this tutorial, I will show you how to install WordPress (a well known CMS based on PHP) with HHVM and Nginx as our web server. I will use OpenSUSE Leap 42.1 as the operating system, so basic knowledge of OpenSUSE is required. HHVM (HipHop Virtual Machine) is an open source virtual machine developed by Facebook, it is a JIT (just-in-time) compiler to execute programs written in PHP 5 (and some features of PHP 7) and Hack language.

Powered by WPeMatico

How to Encrypt Directories with eCryptfs on Ubuntu 16.04

Zabihah Halal Vitamins
How to Encrypt Directories with eCryptfs on Ubuntu 16.04
This tutorial shows how to use eCryptfs to encrypt a directory on Ubuntu 16.04. eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. You can use it to encrypt partitions and also directories that don’t use a partition of their own, no matter the underlying filesystem, partition type, etc.

Powered by WPeMatico

How to configure PureFTPd and FileZilla to use TLS sessions on CentOS 7.2

Zabihah Halal Vitamins
How to configure PureFTPd and FileZilla to use TLS sessions on CentOS 7.2
This article explains how to configure PureFTPd to use TLS sessions on a CentOS 7.2 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

Server monitoring with Munin and Monit on CentOS 7.2

Zabihah Halal Vitamins
Server monitoring with Munin and Monit on CentOS 7.2
In this article, I will describe how you can monitor your CentOS 7.2 server with Munin and Monit. Munin produces nifty little graphics about nearly every aspect of your server (load average, memory usage, CPU usage, MySQL throughput, eth0 traffic, etc.) without much configuration, whereas Monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems (like “We need a bigger server soon, our load average is increasing rapidly.”), and a watchdog that ensures the availability of the monitored services.

Powered by WPeMatico

FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2

Zabihah Halal Vitamins
FTP server with PureFTPd, MariaDB and Virtual Users (incl. Quota and Bandwidth Management) on CentOS 7.2
This document describes how to install a PureFTPd server that uses virtual users from a MariaDB (MySQL compatible) database instead of real system users. This is much more performant and allows to have thousands of FTP users on a single machine. In addition to that, I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database.

Powered by WPeMatico

Using ATA Over Ethernet (AoE) on CentOS 7 (Initiator and Target)

Zabihah Halal Vitamins
Using ATA Over Ethernet (AoE) on CentOS 7 (Initiator and Target)
This guide explains how you can set up an AoE target and an AoE initiator (client), both running CentOS 7. AoE stands for “ATA over Ethernet” and is a storage area network (SAN) protocol which allows AoE initiators to use storage devices on the (remote) AoE target using normal ethernet cabling. “Remote” in this case means “inside the same LAN” because AoE is not routable outside a LAN (this is a major difference compared to iSCSI). To the AoE initiator, the remote storage looks like a normal, locally-attached hard drive.

Powered by WPeMatico