Installation of the ImageMagick program in lanmp series
Source: Internet
Author: User
The installation tutorial of ImageMagick contains a large number of forums with images. This is especially 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 less system resources ,... 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!
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