Step 1: Install OpenVPN Server on Debian Update the package list:sudo apt updateInstall OpenVPN and additional required packages:sudo apt install openvpn easy-rsaSet up the Public Key Infrastructure (PKI) by navigating to the EasyRSA directory and building the CA:make-cadir ~/openvpn-cacd ~/openvpn-ca./easyrsa init-pki./easyrsa build-caGenerate the server certificate and key:./easyrsa gen-req server nopass./easyrsa sign-req server serverGenerate client certificates, […]
Read MoreDebian upgrade from Stretch to Buster
Key to success: less software installed on your system, the higher chance for a successful upgrade. The chances for a successful and fully functional upgrade are decreased by a number of 3rd-party packages installed on your current system. From this reason, remove any obsolete standard repository and 3rd-party software before you attempt the upgrade. The […]
Read MoreBackup-Restore OpenLDAP
Backup-Restore OpenLDAP If we have OpenLDAP running just the way we want, it is time to ensure we can save all of our work and restore it as needed. What we need is a way to backup the directory database(s), specifically the configuration backend (cn=config) and the DIT (dc=example,dc=com). If we are going to backup […]
Read MoreVMware linux VM CPU and RAM hot-plug script
The script below will turn all CPU and RAM online for you.
Read MoreInstall MariaDB
installation guide consists of these three steps: sudo apt update sudo apt install mariadb-server sudo mysql_secure_installation sudo mysql MariaDB [(none)]> GRANT ALL ON *.* TO ‘admin’@’localhost’ IDENTIFIED BY ‘password’ WITH GRANT OPTION; MariaDB [(none)]> FLUSH PRIVILEGES; MariaDB [(none)]> exit
Read MoreInstall Fail2ban on CentOS 7
While Fail2ban is not available in the official CentOS package repository, it is packaged for the EPEL project. EPEL, standing for Extra Packages for Enterprise Linux, can be installed with a release package that is available from CentOS: You will be prompted to continue—press y, followed by Enter: Now we should be able to install […]
Read More