Tag Archives: mobile application development

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

How to practically use your Linux terminal (four examples)

Zabihah Halal Vitamins
How to practically use your Linux terminal (four examples)
While modern GNU/Linux distributions don’t require any use of the terminal, or any knowledge of the bash to offer 100% of their functionality and usability, it is often the case that doing things from the terminal is preferred for a set of reasons.This post is aimed at the people who just want to perform practically useful tasks right from their terminal without having to learn much about command lines.

Powered by WPeMatico

How to install and run Android Apps (APKs) on Linux with Shashlik

Zabihah Halal Vitamins
How to install and run Android Apps (APKs) on Linux with Shashlik
Shashlik is basically a set of software components that allow Linux users to install and run Android APKs right on their GNU/Linux distribution. Shashlik achieves that by using a stripped down version of Android instead of emulating one, which is nested inside the user session upon the launching of an installed Android application.

Powered by WPeMatico

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

Zabihah Halal Vitamins
How to setup HAProxy as Load Balancer for Nginx on CentOS 7
HAProxy or High Availability Proxy is an open source TCP and HTTP load balancer and proxy server software. In this tutorial, I will guide you trough the HAProxy installation and configuration for 3 servers, one load balancer, and two Nginx web servers. We will install HAProxy on a single server and then install Nginx web server on the other servers. HAProxy acts as a load balancer for the Nginx web servers.

Powered by WPeMatico

Passwordless encryption of the Linux root partition on Debian 8 with an USB key

Zabihah Halal Vitamins
Passwordless encryption of the Linux root partition on Debian 8 with an USB key
In this article, an encrypted partition is opened using a secret key which is kept in an usb memory device. An automatic shell script is used to provide a secret key for encrypted volume at boot time.

Powered by WPeMatico

How to configure sudo for two-factor authentication using pam-radius on Ubuntu and CentOS

Zabihah Halal Vitamins
How to configure sudo for two-factor authentication using pam-radius on Ubuntu and CentOS
Attackers frequently use lost, stolen, weak or default credentials to escalate their privileges after they have infiltrated your network. While two-factor authentication can greatly reduce infiltration, there are other means of gaining entry such as malware. This tutorial shows how to add radius to sudo for Centos 7 and Ubuntu 14.04 for two-factor authentication with the WiKID Strong Authentication server.

Powered by WPeMatico