Install and integrate DKIM with OpenDKIM and Postfix on a CentOS 6 Rumi, August 24, 2019February 4, 2024 UPDATE THE SYSTEM Before going any further, make sure you’re in a screen session and your system is fully up-to-date by running: ## screen -U -S opendkim-screen ## yum update ENABLE EPEL REPOSITORY OpenDKIM is available in the EPEL repository, so we need to enable it on the system before… Continue Reading
Setup a Site to Site IPsec VPN With Strongswan and PreShared Key Authentication Rumi, March 25, 2019March 25, 2019 Today we will setup a Site to Site ipsec VPN with Strongswan, which will be configured with PreShared Key Authentication. After our tunnels are established, we will be able to reach the private ips over the vpn tunnels. Get the Dependencies: Update your repository indexes and install strongswan: $ apt… Continue Reading
SCP Command Syntax Rumi, March 14, 2019 Before going into how to use the scp command, let’s start by reviewing the basic syntax. The scp utility expressions take the following form: scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2 OPTION – scp options such as cipher, ssh configuration, ssh port, limit, recursive copy ..etc [user@]SRC_HOST:]file1 – Source file. [user@]DEST_HOST:]file2 – Destination… Continue Reading
Configure Apache With Self-Signed TLS/SSL Certificate on Ubuntu 16.04 Rumi, February 10, 2019 Step 1: Generating the certificate First, let’s create a place to store the file. mkdir ~/certificates cd ~/certificates Generate CSR and private key. openssl req -x509 -newkey rsa:4096 -keyout apache.key -out apache.crt -days 365 -nodes It will ask for information for the certificate request. Complete with the appropriate information. Country… Continue Reading
Upgrade PHP version to 7.2 from 7.0 on Ubuntu 16.04 Rumi, February 9, 2019 Check your PHP version installed Before we start, we can simply type the following command to check the existing PHP version installed on the server. $ php -v If you installed Ubuntu 16.04 LTS, you will get PHP 7.0.30 installed on your server by running installation script from VestaCP. In… Continue Reading
Install MariaDB on CentOS 7 Rumi, February 9, 2019 MariaDB is an open source relational database management system, backward compatible, binary drop-in replacement of MySQL. It is developed by some of the original developers of the MySQL and by many people in the community. With the release of CentOS 7, MySQL was replaced with MariaDB as the default database… Continue Reading
SSH Tunnel on PuTTY Rumi, January 5, 2019 Most of you have probably used a tunnel with an SSH connection. What you probably weren’t aware of is that you can use a dynamic tunnel to access all remote infrastructure. Furthermore, you can specify a port and a destination IP to have direct access. This process is achieved through… Continue Reading
Clean up boot partition – Ubuntu 14.04LTS-x64, Ubuntu 16.04LTS-x64 Rumi, December 27, 2018 Case I: if /boot is not 100% full and apt is working 1. Check the current kernel version $ uname -r It will shows the list like below: 3.19.0-64-generic 2. Remove the OLD kernels 2.a. List the old kernel $ sudo dpkg –list ‘linux-image*’|awk ‘{ if ($1==”ii”) print $2}’|grep… Continue Reading
DNS Forwarder and Transfer using Bind and Webmin Rumi, June 29, 2018 To point your BIND based DNS server to use OpenDNS resolvers for external resolution you need to modify the named.conf.options and add the OpenDNS resolvers as forwarders. This can be done in two ways: via the command line, Shell\SSH via a GUI if you have Webmin installed on your BIND server Shell\SSH… Continue Reading
Bind DNS Auto Slave Using Webmin Rumi, June 13, 2018June 13, 2018 The latest webmin has bug! In this tutorials I’m using webmin verison 1.801- that actually works. Don’t know if webmin team really knows are aware of the bug 🙁 So, let’s start. But before that, it’s assumed that you have webmin installed in both the servers. Configuring Webmin Server Continue Reading