Commands

Commands Linux CentOS php Server WHM
WHM:: PHP Mail is Not Working-Showing Its Disable
June 24, 2020
0
When your mail does not work, one example could be as below: Now Update your php.ini from WHM MultiPHP INI Editor, you can see: disable_functions = mail Modify it with disable_functions = Click Save Restart your APACHE from WHM or command prompt.
Commands Linux CentOS
How to Whitelist IP/ finding if IP is Blacklisted in Linux CentOS
June 18, 2020
0
1. How to check if an IP is Blacklisted: If you want to blacklist the IP 123.45.67.89 , then run the below command: $ /scripts/cphulkdblacklist 123.45.67.89 You will see a message that the IP has been blacklisted. ####################################################### 2. How to whitelist an IP that is Black Listed If you want to Whitelist the IP […]
Cleaning Commands Linux CentOS
How To Check for Virus / Malware Script in Server / WordPress Site
May 25, 2020
0
,
Check Recently Modified Files in Server Login to server through SSH, run the below commands to find out which scripts have been uploaded recently $ cd /home/public_html/$ find ./ -type f -mtime -15 (this code checks all files that has been uploaded / modified in last 15 days) $ find /etc -type f -printf ‘%TY-%Tm-%Td […]
Commands Email Linux CentOS Server Uncategorized
DKIM Set for my subdomain
January 26, 2020
0
, , ,
I faced so much trouble while setting DKIM for one of my sub domain, there are so many online tutorials but not a single tutorial that describes everything at one spot. So I was thinking why not I write my own blog on it. What is DomainKeys Identified Mail (DKIM)? DomainKeys Identified Mail (DKIM)? It […]
Commands Linux CentOS
Linux Centos: How to Zip All Folders except Garbage Folder
September 29, 2019
0
Making Zip files of folders except some garbage folders which I do not need: I do not need tmp folder & tmp2 folder but I need all other folder f zip -r mybackup.zip dir1 -x tmp/ignoreDir1/**\* tmp2/ignoreDir2/**\*
Commands MySQL
Upgrading MySQL 5.6 to 5.7 – Group By Does not work anymore
September 17, 2019
0
Recently I have updated one of my server MySQL, then I have found that old MySQL Group By Query is not running anymore. It happens because of  notorious nonstandard MySQL extension to GROUP BY Go To Mysql console: Type the below command & see what are current SQL mode: SELECT @@GLOBAL.sql_mode; Type the below command to […]
Commands Linux CentOS
Deleting Large Folder for which it was showing “bash: /bin/rm: Argument list too long”
June 22, 2018
0
, , ,
I was recently needed to delete a large number 10,000,00 files in one of folder running on Linux CentOS. I was running the below command inside the folder  rm -rf *  but it was giving me below error message: bash: /bin/rm: Argument list too long I could not remove them, I take help of Linux  find […]
Commands Linux CentOS
How to Turn Off Notification for – Large Amount of Outbound Email Detected
June 22, 2018
0
Please log into your WHM and navigate to »Server Contacts »Contact Manager, then click on the Notification tab. Search by “Large Amount of Outbound Email Detected” and lower/disable.        
Commands Linux CentOS
Nodejs Service Run on Server Reboot in Linux CentOS
January 2, 2018
0
,
My nodejs software is installed in /root/soccer/public_html/ folder. I have a .sh script that start the service of nodejs, the .sh script name: node_auto.sh which file content is as follows: ################################### #!/bin/bash # My first script echo “Expost node Path ” export NODE_PATH=”/usr/local/lib/node_modules/npm/node_modules” echo “Start ProGateway servere” forever start app.js forever list ########################### Linux Command […]
Commands Linux CentOS Security Server
How To Check SHA 2/TLS 1.2 compatibility of your Linux server for Uninterrupted Communication
September 3, 2017
0
,
Its been set that we must SHA 2/TLS 1.2 migrate by October 31st, 2017. This is how you can check by yourslef if your server is ready for the migration, review your LINUX server OS and see if it is running with OS that has TLSv1.2 support. I cheked my server OS & found RHEL […]