Skip to content
Code

  • Home
  • Bash
  • CloudLinux
  • cPanel
  • Imunify360

Whitelist IPs stored in a file using Imunify360. Script.

August 16, 2024August 16, 2024 codingpagemx

This script will get as argument the file that may contain the IPs list and the reason of the whitelist in a second column. Something like this: This is the script itself: Now you need to save your list and your script. Let’s say that you will call your script whloader.sh and your whitelist, whitelist.txt. Continue reading

Imunify360 Leave a comment

Clean backups and other files from a Web Hosting Server

August 16, 2024August 18, 2024 codingpagemx

Yes, you can simply find all the zip, tar, gzip and rar files and delete those, that would fix it. But are you sure you are not removing an important file for any of your customers or even from your server? This bash script will remove most known backup files without removing any other file, Continue reading

Bash, cPanel Leave a comment

How do I get the total Users and Disk Space considering all cPanel all users?

August 16, 2024August 16, 2024 codingpagemx

These commands will also consider MySQL, email and public folders disk space for each user. Very useful when you need to migrate users or the whole server and you need to discard any disk space used by the operating system or backups:

cPanel Leave a comment

Create a Virtual Machine on Virtuozzo – Command line

August 16, 2024August 18, 2024 codingpagemx

Let’s assume the hostname is gitlab.pagemx.com. This will add a Virtual Machike (KMV) with the following specs: You can edit the rest of the CPU settings manually:

Leave a comment

Install ClamAV from cPanel via Command line

August 15, 2024August 28, 2024 codingpagemx

These commands will install ClamAV email antivirus integrated with cPanel. You must execute these commands as root. EDIT, Aug 28 2024: the binary check_cpanel_rpms now changeg to check_cpanel_pkgs starting from cPanel version 102 and up.

cPanel Leave a comment

Installing r1Soft Agent Driver on CloudLinux 8

August 13, 2024August 15, 2024 codingpagemx

Make sure the traditional way is not working first: If this fails anyhow, you need to install the beta hcp driver. I was using CloudLinux 8.10 so the route for downloading was the following: https://beta.r1soft.com/modules/CloudLinux_8.10_x64/ You can get your current CloudLinux version by running this command: Run this command as well to get your current Continue reading

CloudLinux Leave a comment

Recent Posts

  • Whitelist IPs stored in a file using Imunify360. Script.
  • Clean backups and other files from a Web Hosting Server
  • How do I get the total Users and Disk Space considering all cPanel all users?
  • Create a Virtual Machine on Virtuozzo – Command line
  • Install ClamAV from cPanel via Command line

Recent Comments

No comments to show.

Tag Cloud

Bash CloudLinux cPanel Imunify360

  • Home
  • Bash
  • CloudLinux
  • cPanel
  • Imunify360
Copyright code.pagemx.com 2024-2030. Unite Theme powered by WordPress.