Centmin Mod Menu Options
The centmin.sh shell menu (also available via the centmin alias at /usr/bin/centmin) is the heart of Centmin Mod. Main Menu Option 2 adds a new Nginx vhost domain; Option 5 upgrades or downgrades PHP; Option 6 manages MySQL databases; Option 11 manages MariaDB upgrades.
Launch the menu by running centmin or cd /usr/local/src/centminmod && ./centmin.sh via SSH.
Auto-Installed Components
CSF Firewall (ConfigServer Security & Firewall) is automatically installed during the initial Centmin Mod installation. It is not a menu option — CSF is managed directly via csf command-line tools (e.g., csf -r to restart, csf -a IP to allow an IP). See the CSF Firewall documentation for full details.
Installation & Updates
Nginx & vHost Management
Add Nginx Vhost Domain
Centmin Mod Main Menu Option 2 creates a new Nginx virtual host (vhost) — a new website domain on the server. Auto-generates the Nginx vhost configuration file, domain directories, and a Pure-FTPd virtual FTP user. For production sites, use Let’s Encrypt SSL (-s lelived recommended). Also available via the nv command shortcut.
Nginx Upgrade / Downgrade
Upgrade or downgrade the Nginx web server version with recompilation of all enabled modules.
Add Wordpress Nginx vhost + Cache Plugin
Create a WordPress-optimized Nginx vhost with auto-installed caching plugin for improved performance.
PHP Management
PHP Upgrade / Downgrade
Upgrade or downgrade PHP-FPM versions with recompilation of all PHP extensions.
Zend OpCache Install/Re-install
Install or reinstall the Zend OPcache PHP opcode caching extension for improved PHP performance.
Install/Reinstall Redis PHP Extension
Install or reinstall the Redis PHP extension for in-memory data structure storage and caching.
Install/Reinstall ImagicK PHP Extension
Install or reinstall the ImageMagick PHP extension for advanced image processing and manipulation.
Suhosin PHP Extension install
Install the Suhosin PHP security extension for additional PHP hardening and protection.
Install FFMPEG and FFMPEG PHP Extension
Install FFMPEG multimedia framework and its PHP extension for audio/video processing.
Database
MySQL User Database Management
Create and manage MySQL/MariaDB database users, databases, and permissions via an interactive submenu.
MariaDB MySQL Upgrade & Management
Major version upgrades for MariaDB MySQL server between branches (e.g., 10.x to 11.x) and database management operations.
PostgreSQL Server Management
Install and manage PostgreSQL database server. 141.00beta01 only — shows as “Option Being Revised (TBA)” on older branches.
DNS
NSD setup domain name DNS
Set up domain name DNS zones using the NSD authoritative DNS server. Third-party DNS is recommended for best uptime.
NSD Install/Re-Install
Install or reinstall the NSD (Name Server Daemon) authoritative DNS server.
Caching & Performance
Configuration & Security
Persistent Config File Management
Manage persistent configuration overrides via custom_config.inc with submenu options for SSL, Brotli, AWS-LC, njs modules, and more. 140/141 branches — shows as “Option Being Revised (TBA)” on 132.00stable.
SELinux disable
Disable SELinux (Security-Enhanced Linux) on the server for compatibility with the LEMP stack.
Change SSHD Port Number
Change the SSH daemon listening port number for improved security through obscurity.
Tools & Data
Multi-thread compression: zstd, pigz, pbzip2, lbzip2
Install multi-threaded compression tools including zstd, pigz, pbzip2, and lbzip2 for faster backup and file compression.
Backup, Migration & Data Transfer
Comprehensive data management submenu for backups, server migration, SSH key management, S3 transfers, MariaBackup, and mysqldump operations.
To backup your Centmin Mod server or migrate to a new server, use centmin.sh menu option 21 (Data Management). This submenu includes full file and database backup tools (MariaBackup + mysqldump), SSH tunnel server migration, SSH key management, and S3 storage transfers. See the Menu Option 21 documentation for full details.
centmin
# Select menu option 21 for Backup, Migration & Data Transfer
Reserved
Option Being Revised (TBA)
This menu option is currently being revised and will be available in a future release.
Exit
Exit
Exit the centmin.sh menu.