Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch update inc/shortcuts_install.inc for 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Aug 11, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    35,102
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    3:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  2. eva2000

    eva2000 Administrator Staff Member

    35,102
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    3:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    existing CentOS 7 only users can update their mysql command shortcuts manually via these 4 commands
    Code (Text):
    echo "systemctl daemon-reload; service mysql stop" >/usr/bin/mysqlstop ; chmod 700 /usr/bin/mysqlstop
    echo "systemctl daemon-reload; service mysql start" >/usr/bin/mysqlstart ; chmod 700 /usr/bin/mysqlstart
    echo "systemctl daemon-reload; service mysql restart" >/usr/bin/mysqlrestart ; chmod 700 /usr/bin/mysqlrestart
    echo "systemctl daemon-reload; service mysql reload" >/usr/bin/mysqlreload ; chmod 700 /usr/bin/mysqlreload
    
     
    • Informative Informative x 1
  3. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    8:41 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    It seems that the shortcuts help with the :

    Code:
    systemctl daemon-reload
    mysqlrestart
    after upgrading MariaDB......

    I had to run both commands always on Centos 7 but not anymore :)
     
    • Agree Agree x 1
  4. eva2000

    eva2000 Administrator Staff Member

    35,102
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    3:41 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yup thought i'd fix that for good on CentOS 7 :)
     
    • Winner Winner x 1
..