Working with Vsftpd as FTPS server with virtual users and SSL certificates in Debian or Ubuntu Introdution What is the difference between FTP , FTPS and SFTP we learned in the last article Understanding Key Differences Between FTP, FTPS and SFTP We also need to recognize the difference between active and passive ftp connections Configure VSFTPd server Install vsftpd server and pam service First you need vsftp and PAM with htpasswd utility support installed ~] apt-get install vsftpd libpam-pwdfile apache2-utils Configure pam for vsftpd Linux Pluggable Authentication Modules (PAM) provide dynamic authentication support for applications and services in a Linux or GNU/kFreeBSD system. Debian Linux Networking Security
How to Enable Full Disk Encryption with encrypted boot, root partition and ramdisk in Debian - Ubuntu Linux This is a tutorial on how to get a step-by-step installation of Debian on a fully encrypted disk. We encrypt everything, including the kernel and the initialization ramdisk. Without a password, the thief will not even blow. Security Debian Linux
Most secure SSL/TLS configuration for Apache, Nginx, Postfix, Dovecot, HAProxy and other What is a cipher suite? Cipher suites decide how secure, compatible and fast your HTTPS website is. A cipher suite is a set of information that helps determine how your web server will communicate secure data over HTTPS. A web server uses certain protocols and algorithms to determine how it will secure your web traffic. These are the ingredients of a secure connection. A cipher suite is essentially a list of those ingredients. Security Linux Networking Web Servers
How Install Redis server on Debian linux distro Redis is an open-source, in-memory, data-structure store with optional disk writes for persistence, which can be used as key-value database, cache and message broker. Redis features built-in transactions, replication, and support for a variety of data structures such as strings, hashes, lists, sets and others. Redis can be made highly available with Redis Sentinel and supports automatic partitioning with Redis Cluster. This document provides both instructions for depl oying the Redis server and an overview of best practices for maintaining Redis instances. Debian Linux
Regular Expressions Tutorial - part 1 - Basics of Regular Expressions What is Regular Expression Regular expression , regex, or regexp (sometimes called a rational expression) is special sequence of characters that define a search pattern (if you want a mask) for text strings. Regular expressions are used in search engines, search and replace dialogs of word processors and text editors, in text processing utilities such as sed and AWK and in lexical analysis. Many programming languages provide regex capabilities, built-in or via libraries. Linux Linux Utilities
Rewrite uri to lowercase in nginx and apache webserver We want make our uri case insensitive. What it is? When I call uri like https://mybluelinux.com/INdex.html, so such uri will be first rewrite to all lowercase chars like https://mybluelinux.com/index.html. Debian Linux Networking Web Servers
apache mod_rewrite module guide - part 1 mod_rewrite is an Apache module that allows for server-side manipulation of requested URLs. Incoming URLs are checked against a series of rules. The rules contain a regular expression to detect a particular pattern. If the pattern is found in the URL, and the proper conditions are met, the pattern is replaced with a provided substitution string or action. This process continues until there are no more rules left or the process is explicitly told to stop. Linux Networking Web Servers
SystemD - Introduction to systemd (part 1) SystemD is a system and service manager for Linux operating systems. It is designed to be backwards compatible with SysV init scripts, and provides a number of features such as parallel startup of system services at boot time, on-demand activation of daemons, or dependency-based service control logic. Linux Debian
SystemD - Managing System Services (part 2) Previous versions of Linux distributions like Debian or Ubuntu, which were distributed with SysV init or Upstart, used init scripts located in the /etc/rc.d/init.d/ directory. These init scripts were typically written in Bash, and allowed the system administrator to control the state of services and daemons in their system. With systemd these init scripts have been replaced with service units. Service units end with the .service file extension and serve a similar purpose as init scripts. Linux Debian
SystemD - Shutting Down, Suspending, and Hibernating the Linux System (part 3) The systemctl utility from systemd replaces a number of power management commands used in previous versions of many linux distros like reboot, poweroff, halt and many more. We learn Power Management Commands with systemctl utility that replace old power management command. Linux Debian
SystemD - Understanding the Unit File Structure (part 5) We need understand the unite file structure. A unit configuration file encodes information about a service, a socket, a device, a mount point and more. Each unit file is a simple text file describing a unit, what it does, what needs to run before or afterward, and other details. Linux Debian
SystemD - Working with systemd Targets (part 4) SystemD uses targets which serve a similar purpose as runlevels but act a little different. In the following examples, we will show you how to display and work with different linux runlevels (targets) Linux Debian