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…
Centos/RHEL not booting. Only shows GRUB _
When you see the following prompt with a blinking cursor instead of your RHEL 5 (Or CentOS/Scientific Linux v5 obviously) server booting, you will have in all likelihood have to…
Execute command via SSH on remote box and output on local machine.
How to execute command via SSH on remote machine and get output on local machine console. ## SYNTAX ssh @ ## EXAMPLE ssh test@10.10.101.1 df -h test@ 10.10.101.1 's password:…
How to install VMWare Tools on CentOS/RHEL 6.5
To install VMWare tools using YUM on CentOS/RHEL 6.5, do the following. Note, I’m logged in as the ‘root’ user, but you could execute these commands using ‘sudo’ as well.…