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

PHP Management

5

PHP Upgrade / Downgrade

Upgrade or downgrade PHP-FPM versions with recompilation of all PHP extensions.

12

Zend OpCache Install/Re-install

Install or reinstall the Zend OPcache PHP opcode caching extension for improved PHP performance.

13

Install/Reinstall Redis PHP Extension

Install or reinstall the Redis PHP extension for in-memory data structure storage and caching.

15

Install/Reinstall ImagicK PHP Extension

Install or reinstall the ImageMagick PHP extension for advanced image processing and manipulation.

18

Suhosin PHP Extension install

Install the Suhosin PHP security extension for additional PHP hardening and protection.

19

Install FFMPEG and FFMPEG PHP Extension

Install FFMPEG multimedia framework and its PHP extension for audio/video processing.

Database

DNS

3

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.

20

NSD Install/Re-Install

Install or reinstall the NSD (Name Server Daemon) authoritative DNS server.

Caching & Performance

Configuration & Security

7

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.

14

SELinux disable

Disable SELinux (Security-Enhanced Linux) on the server for compatibility with the LEMP stack.

16

Change SSHD Port Number

Change the SSH daemon listening port number for improved security through obscurity.

Tools & Data

17

Multi-thread compression: zstd, pigz, pbzip2, lbzip2

Install multi-threaded compression tools including zstd, pigz, pbzip2, and lbzip2 for faster backup and file compression.

21

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

9

Option Being Revised (TBA)

This menu option is currently being revised and will be available in a future release.

Exit

24

Exit

Exit the centmin.sh menu.