Quantcast
Channel: Linux BrigadeLinux Brigade | Tag Archive | cpanel
Browsing all 10 articles
Browse latest View live

Migrating from Plesk to cPanel via commandline

If you’re anything like me, you prefer to do things via command line (CLI) rather than relying on a GUI to do most things in Linux. You also realize that while some of us don’t like to use control...

View Article


Block Countries using mod_geoip in cPanel

Yesterday, I wrote an article on how to block certain countries from your server using csf. This will block them from accessing your server on any port. You can, however use mod_geoip if you’d like to...

View Article


Change main hostname and IP of WHM/cPanel machine

One thing you’ll probably run into sometime is changing the hostname and IP address of a cPanel machine.. whether you’re cloning it for a quick start or if you’ve taken it over.. moving it to a...

View Article

cPanel / CSF: Fix 500 internal server error or 404 for the CSF GUI

I’ve run into this a couple times – where I’ll spin up a CentOS/cPanel machine, then run a cpupdate (/scripts/upcp) to get cpanel up to date.  I’ll then go into the configserver firewall settings and...

View Article

Manually run ClamAV on cPanel and check every user

If you’re running WHM/cpanel and want to run a scan on every user manually, perhaps when first installing ClamAV, you’ll want to run this command which is endorsed by cPanel themselves. To enable...

View Article


Migrate WHM/cPanel from one server to a new one (script)!

We’ve started a site to house a script that will migrate your full WHM/cPanel server to new hosting. This takes the new WHM/cPanel backup files and will restore them including system files. There are...

View Article

Block account from sending mail WHM/cPanel

There may come a time when you’d like to block an account / domain on your WHM/cPanel server from being able to send mail. Here’s how you’d get it done! We’re going to set up a ‘blocked domain’ list....

View Article

Patch your WHM/cPanel machine for heartbleed

You’ve certainly heard about Heartbleed by now. If not, you can read more about this vulnerability at Heartbleed.com. Continue reading this post to find out if you’re vulnerable, and how to patch your...

View Article


Globally disable directory listing on WHM/cPanel

One of the things that WHM/cPanel servers have on by default is directory listing. This is something you don’t want – but it’s easy to fix! 1. Log into WHM 2. Apache Configuration –> Global...

View Article


Delete cPanel account error_log files

If you have a large number of accounts on your server, you may also be wasting a lot of space with the error_log files in each account. Some can get very large – and while you want to keep an eye on...

View Article
Browsing all 10 articles
Browse latest View live