To install MySQL governor on your server: yum remove db-governor db-governor-mysql # you can ignore errors if you don’t have those packages installed yum install governor-mysql –enablerepo=cloudlinux-updates-testing /usr/share/lve/dbgovernor/mysqlgovernor.py –install * The installation currently supports only cPanel & DirectAdmin servers. ** Please, note that MySQL on cPanel servers will be updated from CloudLinux RPMs. *** MySQL [...]
Entries Tagged as 'Linux Software / Scripts'
To install MySQL governor on your Cpanel Cloud Linux server
May 18th, 2013 by EZ linux · No Comments
Tags: Cpanel and WHM · Linux Security · Linux Software / Scripts
How to remove Softacuous
May 15th, 2013 by EZ linux · No Comments
/usr/local/cpanel/bin/unregister_cpanelplugin /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/softaculous.cpanelplugin; rm -rf /etc/cron.d/softaculous; rm -rf /var/softaculous; rm -rf /usr/local/cpanel/whostmgr/cgi/softaculous; rm -rf /usr/local/cpanel/whostmgr/cgi/addon_softaculous.php; rm -rf /usr/local/cpanel/whostmgr/cgi/addon_softaculous.cgi rm -rf /usr/local/cpanel/base/frontend/x3/dynamicui/dynamicui_softicons.conf;
Tags: Cpanel and WHM · Linux Software / Scripts
How to clean out a cpanel servers’s mail queue by command line
March 10th, 2013 by EZ linux · No Comments
First stop exim in your WHM under services, just unclick any exim services running and save it. Then open you ssh client and use this code: /usr/sbin/exiqgrep -i | xargs /usr/sbin/exim -Mrm Then restart exim. This is much better then the mail queue system cpanel has installed, about 4 years (2009) they changed it and [...]
Tags: Cpanel and WHM · Linux Mail · Linux Software / Scripts · Linux Tricks
magic qoutes
January 8th, 2013 by EZ linux · No Comments
This will solve the magic quotes compatibility when you create a local php.ini file. If you can’t turn off magic quotes using the htaccess file just: Create a text file Rename it to ‘php.ini’ Add the lines magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off extension=pdo.so extension=pdo_mysql.so Save it to the directory/ies in which [...]
Tags: Cpanel and WHM · Linux Security · Linux Software / Scripts · Linux Tricks
Change the language on Linux with a command
June 7th, 2012 by EZ linux · 1 Comment
It’s easy just run this command and than choose a language: system-config-language
Tags: Cheat Sheets · Installing Linux · Linux Commands · Linux Software / Scripts · Linux Tricks
Cpanel branding bug
June 4th, 2012 by EZ linux · No Comments
As you would know if you have tried to brand cpanel with their fairly new tool it sometimes doesn’t apply the changes or sometimes only some images stick. Considering this is a two year old bug I wouldn’t count on it getting fixed soon. Luckily the fix is easy. Just login as root and run [...]
Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts
How do I restart Linux network service?
May 14th, 2012 by EZ linux · No Comments
RedHat Linux command to reload or restart network (login as root user): # service network restart OR # /etc/init.d/network restart To start Linux network service: # service network start To stop Linux network service: # service network stop Debian Linux command to reload or restart network: # /etc/init.d/networking restart To start Linux network service: # [...]
Tags: Cheat Sheets · Linux Software / Scripts · Linux Tricks
VI basic basics
May 14th, 2012 by EZ linux · No Comments
Starting: vi filename edit filename starting at line 1 vi -r filename recover filename that was being edited when system crashed Exiting: :x<Return> quit vi, writing out modified file to file named in original invocation :wq<Return> quit vi, writing out modified file to file named in original invocation :q<Return> [...]
Tags: Cheat Sheets · Linux Commands · Linux Software / Scripts
How to install CPanel over Centos 6 minimal
May 13th, 2012 by EZ linux · No Comments
To install CPanel over Centos minimal 6 you need to get some basic packages. You can easily grab those with YUM here is the package command to get Centos Minimal install ready for CPanel. yum groupinstall base
Tags: Cpanel and WHM · Installing Linux · Linux Commands · Linux Operating Systems · Linux Software / Scripts · Linux Tricks
How to increase upload limit for PhpMyAdmin on a Cpanel server
April 22nd, 2012 by EZ linux · No Comments
By default, PhpMyAdmin in a Cpanel server imposes an upload limit of 50MB. So importing a SQL file larger than 50MB may time out. Cpanel PhpMyAdmin uses the php.ini file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini. To increase upload limit, change values of upload_max_filesize and post_max_size in this php.ini file. Typically, you may set value of post_max_size to twice the [...]
Tags: Cpanel and WHM · Linux Software / Scripts · Linux Tricks
