Welcome to Centmin Mod Community
Register Now

Install Upgrade Prevent the ImageMagick installation

Discussion in 'Install & Upgrades or Pre-Install Questions' started by negative, Feb 17, 2017.

  1. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    11:43 PM
    1.9.10
    10.1.11
    How to block ImageMagick installation or upgrading (while nginx and yum updates) because of i don't use ImageMagick and it comes with upgrade everytime.

    I already yum remove ImageMagick* extensions and no problem but if i try to upgrade nginx it installs back again.

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    When you run nginx and php upgrades via centmin.sh menu option 4 and 5, just answer no to initial yum checks. They are not needed, unless Centmin Mod adds new yum repositories in future. I haven't run yum checks in over 12+ months :)

    Code (Text):
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
     [y/n]: 


    Right now you can't block it for system ImageMagick but PHP Imagick extension it's setting PHPIMAGICK='n' in persistent config file /etc/centminmod/custom_config.inc.
     
  3. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    11:43 PM
    1.9.10
    10.1.11
    Okay THANKS.

    Btw, i have some lines on my custom_config.inc file like this

    PHPIMAGICK='n'
    NGINX_PAGESPEED=n

    is there any difference between 'n' and n only ? So need ' character for "y" or "n"?
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:43 AM
    Nginx 1.13.x
    MariaDB 5.5
    No diff betwen single quote or no quotes for y or n :)
     
    • Informative Informative x 1