Welcome to Centmin Mod Community
Register Now

New Menu Structure

Discussion in 'Feature Requests & Suggestions' started by ethanpil, Jun 23, 2016.

  1. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    8:37 AM
    I think its time for a discussion about the main menu. I know we have discussed around these ideas a bit in the past. But I have been thinking about it a lot lately.

    Whether its switching to dialog for menus, adding more command shortcuts, or just rewriting the scripts in bash for submenus, the menu needs some attention IMHO.

    Streamlining the main centmin menu will make Centmin Mod much easier to use and understand, and most importantly, it will allow space for Centmin Mod to expand and grow without making the menus too long. Additionally with all of the custom commands and shortcuts to remember its becoming very cumbersome to search the forum and documentation to find everything, and even discover something new that is hidden. With the new lets encrypt system coming, as well as so many options and features and one, its very easy to forget what is there.

    Of course, the purpose of Centmin Mod is to have a fast and secure system, for sysadmin professional level users. Still, expanding the menu system makes sense because it simplifies administration, saves time searching and most of all presents a better user experience.

    So, here is my proposal for a new menu structure which I think is logical by topic, and allows for room to grow as needed. I didn't double check everything except the main menu to be sure nothing is missing. I am sure a lot can be tweaked and added to this, but I think its a good start for the discussion.

    Code:
    Centmin Mod Main Menu
    
        1) Install / Update CentminMod      (old item #1)
        2) Add / Edit vhost domains
        3) Nginx Management
        4) PHP Management
        5) MariaDB Management
        6) Memcached Management
        7) NSD Management
        8) CentminMod Addons
        9) Security & Firewall
        10) System Status & Information
    
    Update Centmin Mod Code Base [Menu Option 1]
        1) Setup Centmin Mod Github Environment (as now)
        2) Update Centmin Mod Current Branch (as now)
        3) Update Centmin Mod Newer Branch (as now)
    
    
    Add / Edit vhost domains [Main Menu Option 2]
        1) Add Nginx vhost domain   (old item #2)
        2) Add Wordpress Nginx vhost + WP Super Cache    (old item #22)
       
    
    Nginx Management  [Main Menu Option 3]
        1) Nginx Upgrade / Downgrade     (old item #4)
        2) Restart NginX Service (New)
        3) NginX Service Status (New)
        4) Edit nginx.conf = nginxconf ( /usr/local/nginx/conf/nginx.conf )
        5) Edit (nginx) virtual.conf  (vhostconf)
        6) Edit (nginx) php.conf ( phpinc  )
        7) Edit (nginx) drop.conf ( dropinc )
        8) Edit (nginx) staticfiles.conf = ( statfilesinc ) 
        9) Multi-thread compression: pigz,pbzip2,lbzip2 (old #17)   
        10) Update - Nginx + PHP-FPM + Siege (old #21)
       
    PHP Management[Main Menu Option 4]
        1) PHP Upgrade / Downgrade  (old item #5)
        2) Edit php.ini (new, phpedit command)
        3) Restart PHP-FPM Service (new)
        4) PHP-FPM Service Status  (new)
        5) XCache Re-install        (old item #6)
        6) APC Cache Re-install     (old item #7)
        7) XCache Install           (old item #8)
        8) APC Cache Install        (old item #9)
        9) Install FFMPEG and FFMPEG PHP Extension
        10) Install/Reinstall ImagicK PHP Extension (old item #15)
        11) Suhosin PHP Extension install (old item #18)
        12) Zend OpCache Install/Re-install  (old item #12)
       
    
    MariaDB Management [Main Menu Option 5]
        1) Restart Mariadb Service (New)
        2) Mariadb Service Status (New)
        3) Edit my.cnf  (new, mycnf command)
        4) MariaDB 5.2.x Branch Upgrade Only (old menu item 11,1)
        5) MariaDB 5.2.x to MariaDB 5.5 YUM upgrade (old menu item 11,2)
        6) MariaDB 5.5 to MariaDB 10.x YUM upgrade (old menu item 11,3)
        7) MariaDB 5.5 to MariaDB 10.1.x YUM upgrade (old menu item 11,4)
        8) MariaDB 10.x to MariaDB 10.1.x YUM upgrade (old menu item 11,5)
         
    
    Memcached Management [Main Menu Option 6]
        1) Memcached Server Re-install (old item #10)
        2) Restart Memcached Service (New)
        3) Memcached Service Status (New)
       
       
    NSD Management [Main Menu Option 7]
        1) NSD setup domain name DNS (old #3)
        2) Restart NSD Service (New)
        3) NSD Service Status (New)
        4) NSD Re-install (old #20)
       
    CentminMod Addons [Main Menu Option 8]
        1) Install ioping.sh vbtechsupport.com/1239/ (old #13)
        2) AVG Anti-Virus For Linux
        3) Linux Malware Detect (Maldet)
        4) Wordpress WP-CLI
        5) Mysqladmin_shell.Sh
        6) Linfo
        7) IonCube Loader
        8) Phusion Passenger For Nginx
        9) GeoIP PHP Extension
        10) Python 2.7 & NodeJS Support
    
    9) Security & Firewall
        1) SELinux disable (old #14)
        2) Change SSHD Port Number (old #16)
        3) Edit CSF.conf
        4) CSF Restart
       
    System Status & Information [Main Menu Option 10]
        1) Common file paths  (https://community.centminmod.com/threads/new-menu-option-motd-common-file-paths.5785/)
        2) Services status  (list status for all centminmod services)
        3) Installed Addons (detect all installed addons)
        


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,896
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:37 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nice definitely more organised

    thanks for the suggestion - it's something I have been thinking about as well though trying to keep menu option numbers same as existing otherwise the documentation and all the forum references for menu options to run will be outdated and may confuse some folks new to centmin mod :)
     
  3. ethanpil

    ethanpil Active Member

    173
    55
    28
    Nov 8, 2015
    Ratings:
    +101
    Local Time:
    8:37 AM
    If we make a FAQ page to track the old menu options conversion to new menu option, I think it might help...

    Also I think we use "Menu Option X" text in forum posts a lot of the time. It may be easy to add a tag, or do a sql replace to link these to this faq page.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,896
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:37 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Quite a lot of work to do.. and would be confusing to folks sticking to older versions of centmin mod with differing menu options trying to look up info on site/forums/faq :)

    So probably wouldn't be anytime soon within 123.09beta01 branch era. Probably something for the next dev branch to start with but will see as I also have a few drafts of re-organised and extended submenu options I have planned too :)

    But thanks for the suggestions (y)

    rough idea building on your structure would be (with preview of things to come ;) )
    Code (Text):
    Centmin Mod Main Menu
    
        1) Install / Update CentminMod      (old item #1)
        2) Add / Edit vhost domains
        3) SSL Management
        4) Nginx Management
        5) PHP Management
        6) MariaDB Management
        7) Memcached Management
        8) NSD Management
        9) CentminMod Addons
        10) Security & Firewall
        11) System Status & Information
    
    Update Centmin Mod Code Base [Menu Option 1]
        1) Setup Centmin Mod Github Environment (as now)
        2) Update Centmin Mod Current Branch (as now)
        3) Update Centmin Mod Newer Branch (as now)
    
    
    Add / Edit vhost domains [Main Menu Option 2]
        1) Add Nginx vhost domain   (old item #2)
        2) Maintenance Mode
        3) Suspension Mode
        4) Clone Nginx vhost
        5) Transfer Nginx vhost
        6) Remove Nginx vhost domain
        7) Add Wordpress Nginx vhost + WP Super Cache    (old item #22)
    
    SSL Management [Main Menu Option 3]
        1) Issue SSL Certificate
        2) Renew SSL Certificate
        3) Reissue SSL Certificate
        4) List SSL Certificates
        5) Backup SSL Certificates
        6) Renew ALL SSL Certificates
    
    Nginx Management  [Main Menu Option 4]
        1) Nginx Upgrade / Downgrade     (old item #4)
        2) Nginx Module Management
        3) Restart NginX Service (New)
        3) NginX Service Status (New)
        4) Edit nginx.conf = nginxconf ( /usr/local/nginx/conf/nginx.conf )
        5) Edit (nginx) virtual.conf  (vhostconf)
        6) Edit (nginx) php.conf ( phpinc  )
        7) Edit (nginx) drop.conf ( dropinc )
        8) Edit (nginx) staticfiles.conf = ( statfilesinc )
        9) Multi-thread compression: pigz,pbzip2,lbzip2 (old #17)
        10) Update - Nginx + PHP-FPM + Siege (old #21)
    
    PHP Management[Main Menu Option 5]
        1) PHP Upgrade / Downgrade  (old item #5)
        2) Edit php.ini (new, phpedit command)
        3) Restart PHP-FPM Service (new)
        4) PHP-FPM Service Status  (new)
        5) XCache Re-install        (old item #6)
        6) APC Cache Re-install     (old item #7)
        7) XCache Install           (old item #8)
        8) APC Cache Install        (old item #9)
        9) Install FFMPEG and FFMPEG PHP Extension
        10) Install/Reinstall ImagicK PHP Extension (old item #15)
        11) Suhosin PHP Extension install (old item #18)
        12) Zend OpCache Install/Re-install  (old item #12)
    
    
    MariaDB Management [Main Menu Option 6]
        1) Restart Mariadb Service (New)
        2) Mariadb Service Status (New)
        3) Edit my.cnf  (new, mycnf command)
        4) MariaDB 5.2.x Branch Upgrade Only (old menu item 11,1)
        5) MariaDB 5.2.x to MariaDB 5.5 YUM upgrade (old menu item 11,2)
        6) MariaDB 5.5 to MariaDB 10.x YUM upgrade (old menu item 11,3)
        7) MariaDB 5.5 to MariaDB 10.1.x YUM upgrade (old menu item 11,4)
        8) MariaDB 10.x to MariaDB 10.1.x YUM upgrade (old menu item 11,5)
        9) MariaDB 10.1 to MariaDB 10.2.x YUM upgrade
    
    
    Memcached Management [Main Menu Option 7]
        1) Memcached Server Re-install (old item #10)
        2) Restart Memcached Service (New)
        3) Memcached Service Status (New)
    
    
    NSD Management [Main Menu Option 8]
        1) NSD setup domain name DNS (old #3)
        2) Restart NSD Service (New)
        3) NSD Service Status (New)
        4) NSD Re-install (old #20)
    
    CentminMod Addons [Main Menu Option 9]
        1) AVG Anti-Virus For Linux
        2) Custom Curl 7.4x Installer
        3) Devtoolset-3 Installer
        4) FFMPEG Binary + FFMPEG PHP
        5) GeoIP PHP Extension
        6) Git 2.x Installer
        7) Golang 1.6 Installer
        8) IonCube Loader
        9) IUS Community YUM Repo
        10) Linfo
        11) Linux Malware Detect (Maldet)
        12) Modesecurity Installer
        13) Mysqladmin_shell.Sh
        14) Netdata System Monitoring Install
        15) Node.js Installer
        16) OpenDKIM Installer
        17) Phusion Passenger For Nginx
        18) Python 2.7
        19) Python 3.4
        20) Wordpress WP-CLI
    
    Security & Firewall [Main Menu Option 10]
        1) SELinux disable (old #14)
        2) Change SSHD Port Number (old #16)
        3) Edit CSF.conf
        4) CSF Restart
    
    System Status & Information [Main Menu Option 11]
        1) Common file paths  (https://community.centminmod.com/threads/new-menu-option-motd-common-file-paths.5785/)
        2) Services status  (list status for all centminmod services)
        3) Installed Addons (detect all installed addons)
    
     
    Last edited: Jun 23, 2016
  5. eva2000

    eva2000 Administrator Staff Member

    54,896
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    8:37 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+