cPInstall is a refreshed cPanel helper script that keeps the classic all-in-one menu while modernizing execution safety, logging, and installer sources.
- safer Bash defaults (
set -Eeuo pipefail) - package-manager detection (
dnf,yum,apt) - HTTPS downloads for external installer scripts
- unified logging and error helpers
- all classic menu commands now map to implemented functions
- Install cPanel
- Install cPanel DNSOnly
- Force cPanel Update
- Install CSF Firewall
- Install Malware Detection Tools (ClamAV, rkhunter, Maldet)
- Secure
/tmppartition flags (nodev,nosuid,noexec) - Change SSH Port
- Disable SELinux
- Upgrade CSF 14 -> 15
- Install hTop
- Install myTop
- Install Process Monitor (
btop/glances) - Run MySQL Tuner
- Install LiteSpeed
- Install CloudLinux
- Install Softaculous
- Install FFMPEG
chmod +x cpinstall.sh
sudo ./cpinstall.sh- Log file:
/var/log/underhost_cpanel.log - Config placeholder:
/etc/underhost/cpanel.conf
- External installer URLs and package names can change over time; verify in staging before production.
- Some operations depend on specific distro repositories or licenses.
- CSF install source is pinned to
https://backup.underhost.com/mirror/configserver/csf.tgz. - CSF migration script source is
https://backup.underhost.com/mirror/configserver/migrate_csf.sh.
GPLv3. See LICENSE.