Installation of the ImageMagick program in lanmp Series

Source: Internet
Author: User
Tags image processing library imagemagick

ImageMagickInstallation tutorial
Forums with a large number of images are particularly useful, especially Discuz! Forum, an image processing library for processing thumbnails and watermarks. GD is the most widely used processing database, but it uses a large amount of system resources. ImageMagick is fast and occupies a small amount of system resources. Therefore, we recommend using and installing ImageMagick this time because it is relatively simple, so we will not post images.
1. Run PUTTY. After logging on, run the command line:
# Wget http://downloads.jmagick.org/6.4.0/ImageMagick-6.4.0-0.tar.gz
2. After a few minutes of download, continue to run the following commands:
# Tar xzvf ImageMagick-6.4.0-0.tar.gz
# Cd ImageMagick-6.4.0
#./Configure -- prefix =/usr/local/ImageMagick.6.4 -- enable-shared -- without-perl
# Make
# Make install
Configure the environment variables as follows:
Go to the edit file:/etc/profile
Add:
Export LD_LIBRARY_PATH =:/usr/local/lib:/usr/local/ImageMagick.6.4/lib
Export DYLD_LIBRARY_PATH =:/usr/local/lib:/usr/local/ImageMagick.6.4/lib
Export CLASSPATH = $ CLASSPATH:/usr/local/lib

Finally, complete the ImageMagick path in the background of the forum as follows:
/Usr/local/ImageMagick.6.4/bin

The test results show that the operation is normal.
 
This document is taken from the wdlinux Forum. For more information, see!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.