Join the community today
Become a Member

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:
    2:12 AM
    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

    30,862
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    5:12 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. Manhhailua

    Manhhailua Member

    39
    2
    8
    Jul 7, 2016
    Hanoi
    Ratings:
    +5
    Local Time:
    2:12 AM
    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

    30,862
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    5:12 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    2:12 AM
    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

    30,862
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    5:12 AM
    Nginx 1.13.x
    MariaDB 5.5
    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:
    2:12 AM
    1.11.1
    10.0.x
    Yes, but having a delay everytime login is quite awful. :dead:
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,862
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    5:12 AM
    Nginx 1.13.x
    MariaDB 5.5
    better that broken centmin mod lemp environment :)
     
    • Agree Agree x 3
  9. jcat

    jcat Member

    53
    13
    8
    Jun 21, 2015
    Ratings:
    +20
    Local Time:
    2:12 PM
    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

    53
    13
    8
    Jun 21, 2015
    Ratings:
    +20
    Local Time:
    2:12 PM
    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

    30,862
    6,905
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,397
    Local Time:
    5:12 AM
    Nginx 1.13.x
    MariaDB 5.5
    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