Virtualmin create a catch-all email account Rumi, June 21, 2023 This tutorial will cover how to setup a catch-all email account. Once finished, it will be the default destination for any email arriving at your domain, unless overridden by another email account or alias. It assumes you have logged into Virtualmin as the root user. You can make any email… Continue Reading
Implementing DKIM in Zentyal MTA with SoGO Rumi, June 14, 2023 To implement this authentication mechanism, you can use a third party software called OpenDKIM. These are the steps you have to follow to deploy DKIM. 1. Install the necessary packages: sudo apt-get install -y opendkim opendkim-tools 2. Create the folder for the DKIM keys: sudo mkdir -vp /etc/opendkim/keys 3. Generate the DKIM keys: sudo… Continue Reading
Mounting OCI bucket on CentOS 7 Linux Rumi, May 30, 2023June 14, 2023 Install s3fs-fuse In order to use this you have to enable EPEL Repository- sudo yum install epel-release sudo yum install s3fs-fuse [opc@linux8 ~]$ sudo yum install s3fs-fuse Last metadata expiration check: 0:00:41 ago on Sun 15 May 2022 05:40:13 PM CST. Dependencies resolved. ================================================================================================================================= Package Architecture Version Repository Size =================================================================================================================================… Continue Reading
Nginx Reverse Proxy with Sub Directory Mapping Rumi, May 30, 2023May 30, 2023 Setup Note: My web application has a sub-directory, 192.168.1.8:8088/messages, that I want to expose to the outside world as messages.mysite.com. I’ve gotten half way there but I seem to be stuck. My requirements are as follows Redirect the site from HTTP to HTTPS. As I cannot edit the links the… Continue Reading
Rsync upload local files without replacing remote files Rumi, May 27, 2023May 27, 2023 Disclaimer: This is basically one way sync- use at your own risk and dry run before any production deployment. Suppose you have a list of files on a remote host, some of which already exist locally. What you want is to transfer only those files that are not found locally…. Continue Reading
OpenVPN installer on CentOS 7 Rumi, May 27, 2023 Server Requirement: Centos 7 x86_64 Installation $ cd /tmp/ && yum install git -y && git clone https://github.com/puarudz/OpenVPN-AS-Unlimited && cd OpenVPN-AS-Unlimited/ && sed -i -e ‘s/\r$//’ centos7.sh && chmod 755 centos7.sh && ./centos7.sh Once installed go to- https://ip:943/admin login: openvpn pass: <your_password_during_installation> After first login, “Agree” to the terms. Now… Continue Reading
Postfix to allow Mail Relay from a Trusted IP Rumi, May 27, 2023 Make sure smtpd_recipient_restrictions has permit_mynetworks, something like this: smtpd_recipient_restrictions = permit_mynetworks,<more> This is the default, but if you have -o smtpd_recipient_restrictions=something on an smtpd line in master.cf then it will override main.cf setting. A sample configuration that worked for me is as below- smtp inet n – n – -… Continue Reading
Install phpSysInfo on Debian/Ubuntu Rumi, May 19, 2023 Log into the Debian/Ubuntu device Run the following commands in a terminal:# update repositories and install any available software updates sudo apt update sudo apt upgrade # install Apache HTTPD sudo apt install apache2 # install PHP components sudo apt install php7.3 php7.3-xml # download phpSysInfo wget https://github.com/phpsysinfo/phpsysinfo/archive/v3.3.2.zip # extract v3.3.2.zip sudo… Continue Reading
How to unlock openvpn users Rumi, May 17, 2023 Go to /usr/local/openvpn_as/scripts/ directory with root privileges. Reset all lockout policy lockouts now: ./sacli –key “vpn.server.lockout_policy.reset_time” –value “1” ConfigPut ./sacli start sleep 2 ./sacli –key “vpn.server.lockout_policy.reset_time” ConfigDel ./sacli start Continue Reading
Install ZFS on Ubuntu Rumi, May 17, 2023 Installing ZFS Filesystem on Ubuntu We will be using the command line Terminal application for the installation of the ZFS filesystem. To launch the command line Terminal, use the Ctrl+Alt+T keyboard shortcut. Now to install the ZFS filesystem on Ubuntu, issue the following command in Terminal: $ sudo apt install… Continue Reading