How to install/enable iptables on CentOS 7
On CentOS 7, FirewallD a default firewall management tool is enabled. In order to install iptables, we need FirewallD from server: # systemctl stop firewalld # systemctl disable firewalld #…
How to install FFmpeg on CentOS 7
FFmpeg is a free and open-source project consisting of a vast software suite of libraries and programs for handling video, audio, and other multimedia files and streams. It contains libavcodec,…
How To Add Swap Space on CentOS 7
How to add swap space on CentOS 7, which is a type of virtual memory that can be used to extend the amount of physical RAM available to the system.…
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 of PHP.Copy…
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 [~]# opensslOpenSSL> 3)…
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 “[A-F0-9]{11}”|awk ‘{print $1}’ Get the count of emails in queue: mailq | tail -n 1 or postqueue -p|egrep “[A-F0-9]{11}”|awk…