Vesta- How to set up master-slave DNS cluster Rumi, January 28, 2019January 28, 2019 If you are looking for the options to avoid any DNS-related downtime or the way to manage dns across all server you have, you might consider to set up dns cluster. Create user dns-cluster on a server which will be used as dns slave On the second server (slave) with… Continue Reading
Install Vesta Control Panel (vestacp) on Centos 7 with PHP-FPM and PHP 7.2 Rumi, January 28, 2019 I had few issues on my container and KVM on installing vestacp. Issues were like quite weird, such as- Post installation on KVM- it moved into emergency maintenance mode Post installation on LXC container- DNS resolution halted After hours and hours of search, found few root causes- I have to… Continue Reading
SPF, DKIM, DMARC – Sample and perfect record values Rumi, January 27, 2019 Sharing some sample record value of the post subject for future reference: SPF: domain.gov.bd. IN TXT “v=spf1 a mx ip4:1.2.3.4 ?all” DKIM: MDaemon._domainkey.domain.gov.bd. IN TXT “v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDIaJcNDjvJ6LJ/zyZCIOuaQiLMSC+FBfky8JMFE7LUGlP4LXwmpaKO3Z67x+PVXgYbbFU9nzLaFOfIXTbsCh6LYLBgQF+PNghbTAchQ59IEMrMRsTPCCg95+gKYRupN0B96Uz7rrXifZL8T+yl9MkpIlAsXXs7e8Vhzwa94NdVjQIDAQAB” DMARC: _dmarc.domain.gov.bd. 3600 IN TXT “v=DMARC1; p=quarantine; sp=quarantine; rua=mailto:postmaster@domain.gov.bd; ruf=mailto:postmaster@domain.gov.bd; rf=afrf; pct=100; ri=86400” DMARC Generator: https://www.unlocktheinbox.com/dmarcwizard/ Continue Reading
Enable DNSBL or RBL on Zimbra Rumi, January 26, 2019 DNS-based Blackhole List (DNSBL) or Real-time Blackhole List (RBL) is an effort to fight spam emails. It is a blacklist of source IP addresses that have a reputation of sending spam emails. Most email systems can be configured to check these lists and block or flag emails that were sent… 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
ZImbra troubleshooting incoming mail problems Rumi, January 3, 2019 Problem If you’re having trouble receiving mail from outside, you need to find out where the message is failing. When sending your test message, check the Log Files, especially /var/log/zimbra.log, on your MTA server. It’s often helpful to tail the logfile as you send the message: tail -f /var/log/zimbra.log If… Continue Reading
Reset Vesta CP (vestacp) admin password Rumi, December 31, 2018 Method 1 Login to your server via SSH. Enter the below command to change the password. $ v-change-user-password admin newpassword Replace the newpassword field with the new password you want to set. Method 2 Login to your server via SSH. Enter command following command. $ passwd admin Enter new UNIX… 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
Ubuntu old repository add Rumi, November 21, 2018 If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive.ubuntu.com and security.ubuntu.com to old-releases.ubuntu.com. You can do this with sed: sudo sed -i -re ‘s/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list then update with: sudo apt-get update && sudo apt-get dist-upgrade Sometimes, it might be faster to create backups of your system and reinstall using supported release instead. Continue Reading
Configure iSCSI Initiator (client) in CentOS / RHEL 6 Rumi, October 30, 2018 To use RHEL/CentOS 6 system as an iSCSI initiator or client, you must have iscsi-initiator-utils package installed. You can verify that this is installed on your system using the rpm command, as shown in the following example: $ rpm -qa | grep iscsi-initiator-utils Install the package if its not already… Continue Reading