clear script
#!/bin/bash rm -f ./cleanspace.sh bold=$(tput bold) normal=$(tput sgr0) TIMESTAMP=$(date +%d-%m-%Y-%H-%M) LOGFILE="/root/cleardisk-$TIME...
#!/bin/bash rm -f ./cleanspace.sh bold=$(tput bold) normal=$(tput sgr0) TIMESTAMP=$(date +%d-%m-%Y-%H-%M) LOGFILE="/root/cleardisk-$TIME...
Create a new folder: mkdir /var/lib/mysql2 From R1: Restore from the /var/lib/mysql folder: + The folder which is called the db name...
#not wordpress site grep shop2vizag.com /var/log/messages | awk '{print $6}' | cut -d: -f1 |sort -n |uniq -c |sort -n #Domains using...
Site URL and Home URL SELECT * from wp_options WHERE option_name = 'home' OR option_name = 'siteurl'; update wp_options set option_value...
#!/usr/bin/env bash # After you configure ClamAV, we recommend that you schedule a root cron job to run daily during off-peak hours. The...
grep -l -r "ZXJyb3JfcmVwb" <path to directory> grep -l -r "FilesMan" <path to directory> grep -l -r "OOO00000" <path to directory> grep...
Disable TLSv1 -------------------- Apache, Exim, Mail and FTP All -SSLv2 -SSLv3 -TLSv1 Weak or Medium Strength Cipher Suites Supported...
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
SQL tuner cd /root ; wget -N --no-check-certificate https://raw.github.com/major/MySQLTuner-perl/master/mysqltuner.pl ; perl...
HostnameSSL WHM : Home »Service Configuration »Manage Service SSL Certificates Reset cert for all services > it will then replace current...
command : curl -s https://ssp.cpanel.net/ssp | perl cPanel support team update : It appears that your server has been root-level...
http://magento.stackexchange.com/questions/137516/error-on-admin-login-magento-2-1 Temporarily disabled on admin panel...
1) Log in to server via ssh root for installation ---- sh <(curl https://installer.plesk.com/one-click-installer || wget -0 -...
DIRECT ROOT LOGIN >>>cat /etc/ssh/sshd_config|grep Permi >>>cat /root/.bashrc | grep "ALERT - Root Shell Access"...
Check whether spamming or not..If so then from which mail account : === https://linuxtechme.wordpress.com/2012/04/23/spamming-in-exim/...
Mod-security --------------- Disable mod_security for an individual account Mod_security is an open source Apache module. This can be...
Run the commands : /usr/local/cpanel/scripts/check_cpanel_rpms --fix mkdir /root/old_rpm_dbs/ mv /var/lib/rpm/__db* /root/old_rpm_dbs/...
WordPress Optimization When to Use This This is for use when a customer has indicated that a specific WordPress installation is slow....
This bash one line script will search through all of the domain names in /usr/local/apache/domlogs/, removes all of the FTP logs and then...
#BASIC OPENVZ COMMANDS vzctl Utility to control Virtual Private Servers. vzlist To see list of VPS existing on a node with...