Install Varnish on Debian 8 Rumi, March 12, 2018March 12, 2018 We are going to install the latest version of varnish which is 5.2 at the time of writing. In order to install the latest version, we have to download the source and compile it. You have to install some dependencies to compile the Varnish: apt-get install make automake autotools-dev libedit-dev libjemalloc-dev… Continue Reading
Apache Virtual Hosts on Debian 8 Rumi, March 9, 2018 Step 1 — Creating the Directory Structure The first step that we are going to take is to make a directory structure that will hold the site data that we will be serving to visitors. Our document root, the top-level directory that Apache looks at to find content to serve,… Continue Reading
Build NFS Server on CentOS 7 Rumi, March 9, 2018 As the first step, we will install these packages on the CentOS server with yum: yum install nfs-utils Now create the directory that will be shared by NFS: mkdir /var/nfsshare Change the permissions of the folder as follows: chmod -R 755 /var/nfsshare chown nfsnobody:nfsnobody /var/nfsshare We use /var/nfsshare as shared folder, if we… Continue Reading
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
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
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
Add Google Calendar to Thunderbird Mail Client Rumi, January 8, 2018 There are two plugins that must be installed: Lightning – the actual calendar plugin Provider for Google – allows bidirectional access to Google Calendar Install both of these plugins, from within Thunderbird (Menu button | Plugins | See all and then search for Lightning and then Provider for Google. Click Add to… Continue Reading