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
Install Apache Tomcat 8.5 on CentOS 7.3 Rumi, December 10, 2017 Prerequisites Server with CentOS 7 – 64bit 2 GB or more RAM (Recommended) Root Privileges on the server Step 1 – Install Java (JRE and JDK) In this step, we will install the Java JRE and JDK from the CentOS repository. We will install Java 1.8.11 on the server with… Continue Reading
Load Balancing using Ldirectord on Linux (Apache) web server Rumi, November 23, 2017 For this setup, we need four nodes (two Apache nodes and two load balancer nodes) and five IP addresses: one for each node and one virtual IP address that will be shared by the load balancer nodes and used for incoming HTTP requests. I will use the following setup here: Apache node… Continue Reading
Setup Percona on Debian 7 Rumi, November 23, 2017 MySQL multi-master replication is an excellent feature within MySQL. However, there is only one problem; standard multi-master replication seems to never be as stable as something like master-slave replication. It is always in need of attention. That is where Percona comes into play. The Percona team has developed an amazing… Continue Reading