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

    33,667
    7,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,460
    Local Time:
    7:54 PM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    33,667
    7,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,460
    Local Time:
    7:54 PM
    Nginx 1.13.x
    MariaDB 5.5
    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,073
    293
    83
    May 31, 2014
    Ratings:
    +524
    Local Time:
    12:54 PM
    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

    33,667
    7,455
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,460
    Local Time:
    7:54 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup thought i'd fix that for good on CentOS 7 :)
     
    • Winner Winner x 1
..