Install webmin in Centos 7 Rumi, March 9, 2018 Step 1 — Installing Webmin First, we need to add the Webmin repository so that we can easily install and update Webmin using our package manager. We do this by adding a new file called /etc/yum.repos.d/webmin.repo that contains information about the new repository. Create and open this new file using… Continue Reading
Postfix start error on CentOS Rumi, March 7, 2018 When I tried to start postfix today, I got the following message: fatal: parameter inet_interfaces: no local interface found for 1.2.3.4 Solution is straightforward: nano /etc/postfix/main.cf comment out “inet_interfaces = all” add “inet_protocol = ipv4” Continue Reading
Important Exim Commands Rumi, March 6, 2018November 6, 2018 To get a count of messages in the queue exim -bpc Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient) exim -bp Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals): exim -bp | exiqsumm Print what Exim… Continue Reading
Allow large attachment (greater than 10MB) in ISPConfig postfix MTA Rumi, March 4, 2018 Just a small hack, but worked good on my ISPConfig 3 setup. Add the following: nano /etc/postfix/main.cf mailbox_size_limit = 104857600 Save and restart postfix service. According to official postfix documentation: message_size_limit (default: 10240000) The maximal size in bytes of a message, including envelope information. Note: be careful when making changes…. Continue Reading
Test your DNS using Dig, Nmap, Tcpdump Rumi, March 3, 2018March 3, 2018 For DNS resolution to succeed to 192.168.0.1, the DNS server at 192.168.0.1 will need to accept TCP and UDP traffic over port 53 from our server. A port scanner such as the nmap tool can be used to confirm if the DNS server is available on port 53 as shown… Continue Reading
Let’s Encrypt service with Pound server Rumi, February 5, 2018 In order to install Certbot on your server, follow the next steps: (make sure you have “git” installed on your system) $sudo apt-get install git (if not previously installed) $cd /opt $sudo git clone https://github.com/certbot/certbot Running the above commands will download the Certbot latest release from their git repo in… Continue Reading
Webmin installation on Centos Rumi, January 15, 2018 Installing the RPM If you are using the RPM version of Webmin, first download the file from the downloads page, or run the command : wget http://prdownloads.sourceforge.net/webadmin/webmin-1.870-1.noarch.rpm then install optional dependencies with : yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect and then run the command : rpm -U webmin-1.870-1.noarch.rpm Continue Reading
CentOS 5 Repository fix using vault.centos.org Rumi, January 15, 2018March 24, 2019 It’s a bit silly process, googled hours but found not solid way to update my old 32bit centos 5 linux box. So came up with a solution of my own. It might work for you, but no guarantee! Step-1 Remove all .repo inside /etc/yum.conf.d/ directory Step-2 Create a new repo… Continue Reading
BIND ACL to restrict zone trasfer with IP address Rumi, December 17, 2017 You need to define ACL in /etc/named.conf or /etc/bind/named.conf.local file. Let us say IP 1.2.3.4 and 1.2.3.5 are allowed to transfer your zones. # vi named.conf or vi /etc/bind/named.conf.local Here is sample entry for domain domain.org.bd (ns1 configuration): acl trusted-servers { 1.2.3.4; //ns1 1.2.3.5; //ns2 }; zone “domain.org.bd” { type… Continue Reading
LEMP on Centos 6 Rumi, December 10, 2017 In this guide, we’ll walk you through installing all of these components (except for Linux, which is already installed as your OS when you create the server). Install the Extra Packages for Enterprise Linux Repository (or EPEL for short):sudo yum install epel-release Run a yum update to sync your packages with the… Continue Reading