First, the installation background
Recently deployed HapiCMS products on the server, because its compression of the image is implemented by ImageMagick, so you need to install ImageMagick and jmagick on the server, write the operation process, Share with you, including rpm mode installation, linux32-bit installation ImageMagick and jmagick, linux64 bit installation ImageMagick and jmagick, if you have any questions you can leave a message, if there is time, it will promptly reply.
Second, ImageMagick Introduction
ImageMagick is a picture processing program developed in C language. You can resize, rotate, sharpen, subtract, or add effects to your images. The operation of the image can be done from the command line, or in C/C++, Perl, Java, PHP
, Python or Ruby programming. ImageMagick's official website is: http://www.imagemagick.org/script/index.php Since we are a java project, it is not possible to directly use ImageMagick via JNI technology. Because ImageMagick was developed without using the header files generated by java JNI. Can be solved with jmagick, jmagick is developed by c language, the development uses the header file generated by java JNI, so java can call jmagick through JNI technology. Jmagick then calls ImageMagick. Here we use the java interface exposed by jmagick. You can also use JNA to call ImageMagick. The full name of JNA is Java Native Access. JNA is based on JNI and is convenient for us to develop. The JNA project home page is https://github.com/twall/jna. Calling ImageMagick with JNA requires direct manipulation of the C interface (API) provided by ImageMagick.
Three, make sure the system has installed the following package
# yum install libjpeg# yum install libjpeg-devel# yum install libpng# yum install libpng-devel# yum install libtiff# yum install libtiff-devel# yum install Libungif# yum install libungif-devel# yum install freetype# yum install zlib can be viewed with the following command
#rpm -qa
6. Sfdisk & ndash; backup partition table If you install multiple systems, it can easily lead to
Its still a process of generating vmlinux from the compiled link. It is made up of a bunch of .o fi
We all know that lvm can expand the file system online, the function is very convenient, but if the
Webalizer is a commonly used web log analysis script under Linux, of course, for nginx. I am curious
Solve Linux system driver synchronization and mutual exclusion
Linux SSH connection login delay solution
Problems with installing small input methods under centos
A detailed description of the use of the strace command under Linux
Modify Linux native IP, gateway and DNS server
Common anode and common cathode LED driving method
Configure Network Bonding on CentOS 6 /RHEL 6
Use of queues in Linux process scheduling
Linux loses Grub.conf file to start server
Centos 6 error after closing ipv6: Module off not found Solution
Modify the X-Cache in Squid's Header to Powered-By-LinuxTone
How to disable Win7 system to perform restore repair
Win8 version of Adobe Reader reader download steps
How to disable Windows Ink function in Win10 system?
Win7 system wifi appears garbled links not how to do?
How to create a system image with Win8
Ghost backup Win7 Invalid switch error solution
Win10 system how to remove the "shortcut" words
Active Directory Object Removal and Protection Deep Understanding