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
Oracle Linux 8: How To Access the GRUB Rumi, May 17, 2023 Reboot or start the instance. After the console screen is blank, there is only one or two seconds to press <escape key>. Press it several times as quickly as possible. If escape was pressed successfully, the Boot menu will be displayed, if not try again. Note that it is possible… 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
Enable Password based authenticaiton in OCI compute instance Rumi, May 13, 2023 If you want to use a password to access the SSH server, a solution for fixing the Permission denied error is to enable password login in the sshd_config file. To do this, open the file in a text editor. This example uses the nano editor: sudo nano /etc/ssh/sshd_config In the file, find… Continue Reading
Multipart Upload on OCI Bucket / Object Storage using OCI-CLI in Windows or Linux Rumi, May 10, 2023May 10, 2023 Oracle OCI-CLI requires Python packages v 3.6 or higher. During installation it is auto installed on windows server/OS, however on Linux, there might be preinstalled Python package installed, that might need to be updated manually before running the installer. (In few cases, the installation failed and the package needed to… Continue Reading
Download using multiple session with Linux CLI tool – multipart download Rumi, May 1, 2023 Option-1: Aria2 apt-get install aria2 Usage: aria2c -x 16 [url] #where 16 is the number of connections Option-2: Axel apt-get install axel Usage: axel -n 5 url or with visual indicator- axel -a -n 5 [URL] Continue Reading
MikroTik Router SNMP Configuration Rumi, April 18, 2023 First, you need to access the console of your MikroTik router. On the prompt screen, enter the administrative login information. Factory default access information: Username: admin Password: (No password) After a successful login, the console command-line will be displayed. Use the following command to enable the SNMP service on the… Continue Reading