Month: April 2022

Cloud Linux, Control Panel

Some useful commands for Account migrations in Cpanel server

Pre migration steps (DNS) rsync -avHl /var/named/ /home/named.backup/ sed -i -e “s/14400/600/” /var/named/*.db newserial=$(date +%Y%m%d%H) sed -i -e “s/[0-9]\{10\}/$newserial/” /var/named/*.db rndc reload For customers with a large number of domains you can use the find command. cd /var/named find . -name “*.db” -exec sed -i -e “s/TTL\ 14400/TTL\ 600/” {} \; newserial=$(date +%Y%m%d%H) find . …

Cloud Linux, Control Panel, CPanel / WHM

Creating cgroups in RHEL/CentOS 7

cgroups allow for system resources to be limited for certain user’s processes, which are defined in configuration files. This is useful e.g. if you wish to limit a compiler’s maximum memory usage and avoid it grinding the system to a halt. Prerequisites libcgroup-tools need to be installed sudo yum list installed libcgroup-tools If not installed, …

Cloud Linux, Control Panel, CPanel / WHM

Tuned – Automatic Performance Tuning of CentOS/RHEL Servers

To maximize the end-to-end performance of services, applications and databases on a server, system administrators usually carry out custom performance tunning, using various tools, both generic operating system tools as well as third-party tools. One of the most useful performance tuning tools on CentOS/RHEL/Fedora Linux is Tuned. Tuned is a powerful daemon for dynamically auto-tuning Linux server performance based …


How to ‘safely’ delete Mysql relay-bin log file??

Disk is getting full. When using du, I could see my MySQL log folder is taking up all the disk. These files are not mysql-bin files, instead, these are mysql-relay-bin files. How can I truncate or purge these files? Mysql creates mysql-bin files which are called binary files for MySQL on the master side. It …


How to set watermarks in video using FFMPEG

To watermark video using FFmpeg, run ffmpeg -i SOURCE.mp4 -vf “drawtext=text=’WATERMARK_TEXT’:x=10:y=H-th-10:fontsize=32:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2” OUT.mp4 In the above command replace SOURCE.mp4 = file name of the video you need to watermark. OUT.mp4 = file name for the watermarked video. WATERMARK_TEXT = Text you need to watermark on the video.


How to install LetsEncrypt SSL on Bitnami WordPress Server?

To install a free LetsEncrypt SSL certificate on bitnami WordPress installation, do the following log in to the server as user “bitnami” using SSH/putty. Run command sudo /opt/bitnami/bncert-tool It will ask for the domain name. Enter domain names separated by space. After that you will be asked if you need to redirect the domain name …

Cloud Linux, Control Panel, CPanel / WHM

How to fix Cpanel Server shared IP address show customer site?

On a Cpanel Server, when you visit a shared IP address used by multiple websites, you will see the website of the first VirtualHost entry. This is not good when you have multiple customer websites as your other customers may visit the IP and see the site associated with the first VirtualHost entry and complain …

Control Panel, Installation

How To Fix Video Conversion Problem in Clipbucket?

This topic has been discussed many times so i am going to write a complete guide to track your video conversion problem and fix it. I am using ClipBucket 2.0.9, if you have not already update to latest version, please download it from some of my Forum post content, here is what we are …

Apache, Control Panel, CPanel / WHM

ACME ( Free SSL Certificate?

ACME ( is a shell script for generating LetsEncrypt SSL certificate. is written in bash, so it works on any Linux server without special requirements. For getting SSL, another popular option is to use certbot. list all SSL SSL using manual DNS method To install, run cd /usr/local/src git clone cd ./ …

Apache, Control Panel, CPanel / WHM, DirectAdmin SSL using manual DNS method?

To provision SSL certificate using with manual DNS verification method, run –issue -d DOMAIN_NAME –dns -d www.DOMAIN_NAME –yes-I-know-dns-manual-mode-enough-go-ahead-please When you run this command, you will get DNS TXT entry that needed to be added to your DNS server. Login to your DNS provider, add the DNS entry, then run the following command to …