EZ Linux Admin random header image

Entries Tagged as 'Cpanel and WHM'

To install MySQL governor on your Cpanel Cloud Linux server

May 18th, 2013 by EZ linux · No Comments

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 [...]

Click to continue →

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;

Click to continue →

Tags: Cpanel and WHM · Linux Software / Scripts

Installing PostGreSQL on a Cpanel server

May 15th, 2013 by EZ linux · No Comments

You can install PostgreSQL by running the following command: # /scripts/installpostgres Note that after you install PostgreSQL, you will need to rebuild both the internal PHP used by phpPgAdmin, and the PHP used for your sites (they are two different installations). You can do this by running *both* of these commands: # /scripts/easyapache –build # [...]

Click to continue →

Tags: Cpanel and WHM

Install Attracta on a Cpanel server

May 15th, 2013 by EZ linux · No Comments

wget -N http://www.attracta.com/static/download/cpanel-install sh cpanel-install That’s it, good luck!

Click to continue →

Tags: Cpanel and WHM

Installing Ruby on Rails for a Cpanel server is really easy

May 15th, 2013 by EZ linux · No Comments

You can install Ruby on Rails by running the following command: # /scripts/installruby That’s it, enjoy!

Click to continue →

Tags: Cpanel and WHM

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 [...]

Click to continue →

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 [...]

Click to continue →

Tags: Cpanel and WHM · Linux Security · Linux Software / Scripts · Linux Tricks

Named backup or transfer files

June 5th, 2012 by EZ linux · No Comments

Most of the files are in the etc folder.

Click to continue →

Tags: Cheat Sheets · Cpanel and WHM · Linux Back Up · Linux Operating Systems · Linux Security

Setting up Cpanel over Centos 6 minimal

June 5th, 2012 by EZ linux · No Comments

Set up networking: vi /etc/sysconfig/network-scripts/ifcfg-eth0 hit “i” to insert text. Make the file look like this: DEVICE=”eth0″ HWADDR=”leave the same” NM_CONTROLLED=”yes” ONBOOT=”yes” IPADDR=66.249.*.* BOOTPROTO=none NETMASK=255.255.255.* GATEWAY=66.249.*.* DNS1=66.249.*.* DNS2=66.249.*.* DNS3=66.249.*.* USRCTL=yes Then click the esc key Then click control : Then type x and hit enter to save. Then restart your nic card: /etc/init.d/network restart or [...]

Click to continue →

Tags: Cheat Sheets · Cpanel and WHM · Installing Linux · Linux Operating Systems

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 [...]

Click to continue →

Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts