by admin | Jun 5, 2021 | cPanel/WHM, Servers
We will see how to install Varnish in a WHM server. Useful for magento caching which can be done from the admin UI. 1) Install epel-release repository yum install epel-release –y yum install pygpgme yum-utils 2) Create /etc/yum.repos.d/varnishcache_varnish60.repo with...
by admin | Jun 1, 2021 | Servers, WordPress
#!/bin/bash NOW=$(date +”%Y-%m-%d-%H%M”) FILE=”domain.com.$NOW.tar” BACKUP_DIR=”/home/backups” WWW_DIR=”/var/www/html/domain” # MySQL database credentials DB_USER=”dbnameuser” DB_PASS=”dbpass”...
by admin | Aug 3, 2020 | Servers, Ubuntu
Do you face an issue in which you can see that the mail has delivered to your recipient, but Roundcube still shows “Sending Messages” and just freezes ? Roundcube looks to be freezed ! The issue might be due to X-Frame-Options set to DENY in Apache...
by admin | May 17, 2020 | Servers, Ubuntu
We will look at some general server steps to harden your Ubuntu 20.04. 1. Set Auto-update On Ubuntu 20.04 # sudo apt install unattended-upgrades Now open the below file and edit # vim /etc/apt/apt.conf.d/50unattended-upgrades Uncomment this line :...
by admin | Apr 25, 2020 | Firewall, Servers
Some useful CSF / LFD commands to do via SSH. CommandsPurposeExamplecsf -eEnable CSFcsf -xDisable CSFcsf -fFlush/Stop firewall rulescsf -d IP CommentBlock the IP csf -d 1.2.3.4 badguycsf -d IP/netmaskBlock the IP rangecsf -d 145.123.44.0/24csf -dr IPUnblock an IPcsf...
by admin | Apr 20, 2020 | cPanel/WHM, Linux, Servers
At times, the hosting guys wont enable the AutoSSL option or you wont find the letsencrpyt plugin in your cPanel interface to install Free SSLs. So how will you go about ? You can go to https://www.sslforfree.com/ and enter your domain name. After you give the domain...