Discover Centmin Mod today
Register Now

Upgrade How to disable kernel and centmin checking for update at ssh login

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Manhhailua, Dec 23, 2016.

Tags:
  1. Manhhailua

    Manhhailua Member

    39
    2
    8
    Jul 7, 2016
    Hanoi
    Ratings:
    +5
    Local Time:
    6:54 PM
    1.11.1
    10.0.x
    I want to disable function checking for update everytimes I ssh login to my VPS. How could I do this!?

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,936
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Manhhailua

    Manhhailua Member

    39
    2
    8
    Jul 7, 2016
    Hanoi
    Ratings:
    +5
    Local Time:
    6:54 PM
    1.11.1
    10.0.x
    So... If I want to run this function manually... Which command should I run?
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,936
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you mean kernel check ? you just use
    Code (Text):
    yum list updates

    or if you want to run the script tun
    Code (Text):
    /usr/local/src/centminmod/tools/kernelcheck.sh
    
     
  5. Manhhailua

    Manhhailua Member

    39
    2
    8
    Jul 7, 2016
    Hanoi
    Ratings:
    +5
    Local Time:
    6:54 PM
    1.11.1
    10.0.x
    I mean both kernel update and centminmod codebase updates check.
    I want to disable both updates check (kernel, centmin codebase)
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,936
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you can't disable centmin mod code base check it's a must have to ensure it's up to date
     
  7. Manhhailua

    Manhhailua Member

    39
    2
    8
    Jul 7, 2016
    Hanoi
    Ratings:
    +5
    Local Time:
    6:54 PM
    1.11.1
    10.0.x
    Yes, but having a delay everytime login is quite awful. :dead:
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,936
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    better that broken centmin mod lemp environment :)
     
  9. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    7:54 AM
    Could we move it to a cron maybe? Sometimes waiting 2-3 minutes initially especially on servers that haven't been accessed in a while, in urgent situations have to 'ctrl + c' which is most likely worse than just not running the update at all.
     
  10. jcat

    jcat Member

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    7:54 AM
    or leaving it how it is and instead of adding the cron as a replacement, add it regardless, this way when we do access the server and it does the check, the check will be completed much quicker since it should already be up to date from the cron
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,936
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    123.09beta01 was updated to disable this kernel check by default now again so shouldn't be a problem

    so just update via centmin.sh menu option 23 submenu option 2 and exit centmin.sh and re-run centmin.sh to apply updated changes