How to Clone a Partition or Hard drive in Linux
There are several ways to clone Linux Partition using some external tools like partimage or Clonezilla. In this exercise we are going to survey Linux partition cloning with a command…
command to activate VG on LVM?
When you create a volume group, by default, it is activated. Sometimes you may need to activate it manually to make the kernel aware of volume groups. To activate, #…
cPanel EasyApache 4 Installing Redis and Redis PHP extension
cPanel EasyApache 4 Installing Redis and Redis PHP extension Installing the Redis daemon: for CentOS 6/RHEL 6 for CentOS 7/RHEL 7 Installing the Redis PHP extension for all available versions…
Resetting email account password from Command line in cPanel
Resetting email account password from Command line in cPanel 1) Login to the server as root via SSH 2) Run the command “openssl” and you will see this: test@test #…
How to upgrade ubuntu 16.04 to ubuntu 18.04 ?
Check Ubuntu version before upgrading. lsb_release -a First, we have to run an update sudo apt update Then run upgrade command sudo apt upgrade After that dist-upgrade sudo apt dist-upgrade…
WordPress Permalink code for Windows server
In IIS 7, 8, 8.5, 10 , you can add below code in the Option “URL Rewrite” when you click on the domain or in web.config file, as the .htaccess…
Postfix Spam Tracking
Get the mailids of all email currently in queue: postqueue -p|egrep “{11}”|awk ‘{print $1}’ Get the count of emails in queue: mailq | tail -n 1 or postqueue -p|egrep “{11}”|awk…
How to Delist IP from Hotmail, Live, Outlook Blacklist
Note: Before you try to request removal, be sure to analyze your server to find out why you were listed in the first place. You have to fix the issue…
Limit download rate for yum
yum (RHEL/CentOs/SL/etc) has an option which allows you to limit the download rate/amount of bandwidth used to download packages. Here’s how you do it: Edit the /etc/yum.conf file and add…