Locate messages matching a specific size
exiqgrep -s '^..M$'
Locate messages matching a specific size
exiqgrep -s '^..M$'
rm -fR /usr/local/cpanel/3rdparty/etc/phpmyadmin
rm -fR /var/cpanel/userhomes/phpmyadmin
mkdir /usr/local/cpanel/3rdparty/etc/phpmyadmin
mkdir /var/cpanel/userhomes/phpmyadmin
chattr -ia /usr/local/cpanel/3rdparty/etc/phpmyadmin
chattr -ia /var/cpanel/userhomes/phpmyadmin
chown -R cpanelphpmyadmin:cpanelphpmyadmin /var/cpanel/userhomes/phpmyadmin ;
/scripts/upcp –force
service cpanel restart
/scripts/update_db_cache
/usr/local/cpanel/bin/setupdbmap
info [update_db_cache] MySQL is not enabled. Exiting now.
It means you need enable MySQL in Service Manager.
url.rewrite = (
“^/(wp-admin|wp-includes|wp-content)/(.*)” => “$0”,
“^/(.*).(.+)$” => “$0”,
“^/(.+)/?$” => “/index.php/$1”
)
server.error-handler-404 = “/index.php”
phpSysInfo: a customizable PHP script that displays information about your system nicely
virsh shutdown centos
virsh domrename centos srv.centos.net
comm <(sort file1) <(sort file2)
sshfs -o Ciphers=arcfour -o Compression=no server://some/folder /mnt/some_local_folder
lvresize -L 500G /dev/pool/volume3
virsh blockresize volumes3 --path /dev/pool/volume3 --size 500G
cldeploy –skip-kmod-check
vi /etc/default/grub
GRUB_CMDLINE_LINUX=”rd.lvm.lv=centos/swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=centos/root crashkernel=auto vconsole.keymap=us rhgb quiet rootflags=uquota,pquota”
stty rows 50 cols 132
cPanel fails to redirect, because of Internal server error
cagefsctl --remount-all
service proxyexecd restart
/usr/local/cpanel/scripts/gensysinfo
rpm -qf --queryformat '%{VERSION}\n' /etc/redhat-release
Need to check cloudlinux license
cldetect --check-license
OK