How to install and setup DRBD on CentOS

Zabihah Halal Vitamins
How to install and setup DRBD on CentOS
This tutorial explains how to install and setup DRBD for your server. Before I start, let me explain what actually DRBD represents and what it is used for. DRBD stands for Distributed Replicated Block Device, a software-based, shared-nothing, replicated storage solution for mirroring the content of block devices such as hard disks, partitions, logical volumes etc.

Powered by WPeMatico

How to configure Postfix relayhost (smarthost) to send eMail using an external smptd

How to configure Postfix relayhost (smarthost) to send eMail using an external smptd

How do I configure Postfix MTA to send eMail using an external cloud-based SMTP server (with username: password) from a web server on Linux or Unix-like system? How do I configure an Ubuntu server and postfix as the relay server (smarthost)?
Halal Vitamins

Powered by WPeMatico

How to Install Seafile on Ubuntu 16.04 (Xenial Xerus)

Zabihah Halal Vitamins
How to Install Seafile on Ubuntu 16.04 (Xenial Xerus)
This tutorial shows the installation of Seafile on Ubuntu 16.04. Seafile is a private cloud software, it supports encrypted file libraries to store data securely. To encrypt files in a library, you need to set a password when you create the library. The password won’t be stored on Seafile cloud, so even the administrator of the servers cannot view your encrypted data without the password.

Powered by WPeMatico

cron Error: bad username; while reading /etc/cron.d file on Linux

cron Error: bad username; while reading /etc/cron.d file on Linux

I am getting the following error in my cron job log file /var/log/cron.log:
       Aug 22 01:59:01 server2 cron[7510]: Error: bad username; while reading /etc/cron.d/backups I have job entry as follows to run a job at 00:50 every day for root user:
       50 0 * * * /etc/cron.d/backups How do I fix this problem on Linux or Unix-like system?
Halal Vitamins

Powered by WPeMatico

How to Install and Configure MongoDB on Ubuntu 16.04

Zabihah Halal Vitamins
How to Install and Configure MongoDB on Ubuntu 16.04
MongoDB is a NoSQL database that offers a high performance, high availability, and automatic scaling enterprise database. Data is stored in a “document” structure in JSON format (in MongoDB called BSON). MongoDB was first introduced in 2009 and is currently developed by the company MongoDB Inc. This tutorial shows the installation and configuration of MongoDB on Ubuntu 16.04.

Powered by WPeMatico

How to Password-Protect Directories with mod_authn_dbd and MySQL on Apache (Debian 8)

Zabihah Halal Vitamins
How to Password-Protect Directories with mod_authn_dbd and MySQL on Apache (Debian 8)
This guide explains how to password-protect web directories (with users from a MySQL database) with mod_authn_dbd on Apache2 on a Debian 8 (Jessie) server. It is an alternative to the plain-text password files provided by mod_auth and allows you to use normal SQL syntax to create/modify delete users.

Powered by WPeMatico

How to create Docker Images with a Dockerfile

Zabihah Halal Vitamins
How to create Docker Images with a Dockerfile
In this tutorial, I will show you how to create your own docker image with a dockerfile. A Dockerfile is a script that contains collections of commands and instructions that will be automatically executed in sequence in the docker environment for building a new docker images. As example, we will create a Nginx Web server with PHP-FPM.

Powered by WPeMatico

Accessing Internet from cloud VM when you have only private network enabled

Accessing Internet from cloud VM when you have only private network enabled
We have a couple of virtual servers hosted with Softlayer for processing data and backup purpose. The public interface is completely turned off i.e. no Internet access. We can only access VMs using a VPN. It resulted in decreased costs and many security problems for backend servers. However, when you order “Private Network Only” cloud VM, you cannot route outgoing traffic to the Internet using your VM.

Halal Vitamins

Powered by WPeMatico