#最近爆出ImageMagick版本漏洞, make a version upgrade. #ImageMagick此次为源码升级, Version imagemagick 7.0.1-5$wget http://www.imagemagick.org/download/ imagemagick.tar.gz# view the old version of the system $rpm -qa |grep imagemagick# view graphics, pictures supported library files, and how to install the following package $rpm -qa |grep -E ' Jpeg|png ' libpng-1.2.49-2.el6_7.x86_64libjpeg-turbo-devel-1.2.1-3.el6_5.x86_ 64libjpeg-turbo-1.2.1-3.el6_5.x86_64libpng-devel-1.2.49-2.el6_7.x86_64# Decompression Compiled installation $tar -zxf imagemagick.tar.gz$cd imagemagick-7.0.1-5$./configure$make && make install# Loading library files $ ldconfig /usr/local/lib/#查询库文件是否加载 $ldconfig -p |grep magicklibmagickwand-7.q16hdri.so.0 (libc6,x86-64) => /usr/local/lib/libmagickwand-7.q16hdri.so.0libmagickwand-7.q16hdri.so (libc6,x86-64) => /usr/local/lib/libmagickwand-7.q16hdri.solibmagickcore-7.q16hdri.so.0 (libc6,x86-64) => /usr/local/lib/libmagickcore-7.q16hdri.so.0libmagickcore-7.q16hdri.so (libc6,x86-64)  =>&Nbsp;/usr/local/lib/libmagickcore-7.q16hdri.solibmagick++-7.q16hdri.so.0 (libc6,x86-64) => / usr/local/lib/libmagick++-7.q16hdri.so.0libmagick++-7.q16hdri.so (libc6,x86-64) => /usr/ local/lib/libmagick++-7.q16hdri.so# See if the png/jpeg picture format is supported $ convert -list format | egrep ' Png| JPEG ' see part 5 which describes the image encoding (RLE, JPEG,  JPEG-LS), and supplement 61 which adds jpeg-2000 Encoding. jng* rw- jpeg network graphics jpeg* rw- joint photographic experts group JFIF format (+) PJPEG* rw- Joint photographic experts group jfif format ( png*) rw- portable network graphics (libpng 1.2.49) See http://www.libpng.org/ for details about the PNG format. png00* rw- png inheriting bit-depth, color-type from original, if possible png24* rw- opaque or binary transparent 24-bit RGB (zlib 1.2.3) PNG32* rw- opaque or transparent 32-bit RGBA png48* rw- opaque or binary transparent 48-bit rgb png64* rw- opaque or transparent 64-bit rgba png8* rw- 8-bit indexed with optional binary transparency
This article is from the "Ops Basics" blog, so be sure to keep this source http://phospherus.blog.51cto.com/7824598/1775124
ImageMagick Version Upgrade