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!