ImageMagick merupakan aplikasi pendukung PHP (PHP extention) untuk membuat atau memodifikasi gambar menggunakan ImageMagick API. Berikut cara install ImageMagick pada cPanel/WHM server:
Cek Status ImageMagick apakah sudah terinstall atau belum
Command:
/scripts/installimagemagick
[apache collapse="false"]
[root@localhost ~]# /scripts/installimagemagick
Version: ImageMagick 6.4.8 2009-05-11 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
[/apache]
Jika belum, mulai lakukan proses instalasi dengan cara:
Login pada server sebagai root via ssh.. Buat direktori baru (cpmins) dengan cara mengetikkan command:
[apache collapse="false"]
[root@localhost ~]# mkdir /home/cpimins
[root@localhost ~]#
[/apache]
Navigasikan ke direktori cpmins
[apache collapse="false"]
[root@localhost ~]# cd /home/cpimins
[root@localhost cpimins]#
[/apache]
Download file tar.gz
[apache collapse="false"]
[root@localhost cpimins]# wget http://layer1.cpanel.net/magick.tar.gz
--2012-05-27 10:43:49-- http://layer1.cpanel.net/magick.tar.gz
Resolving layer1.cpanel.net... 208.43.108.66, 208.43.129.162, 208.74.123.21, ...
Connecting to layer1.cpanel.net|208.43.108.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4189045 (4.0M) [application/x-gzip]
Saving to: `magick.tar.gz'
100%[======================================>] 4,189,045 120K/s in 37s
2012-05-27 10:44:27 (112 KB/s) - `magick.tar.gz' saved [4189045/4189045]
[root@localhost cpimins]#
[/apache]
Untar File
[apache collapse="false"]
[root@localhost cpimins]# tar zxvf magick.tar.gz
magick/
magick/ImageMagick-5.5.1-6.tar.gz
magick/install
[root@localhost cpimins]#
[/apache]
Navigasikan ke direktori 'magick'
[apache collapse="false"]
[root@localhost cpimins]# cd magick
[root@localhost magick]#
[/apache]
Install rpm
[apache collapse="false"]
[root@localhost magick]# /scripts/installrpm ImageMagick
[root@localhost magick]# /scripts/installrpm ImageMagick-devel
[/apache]
Install
[apache collapse="false"]
[root@localhost magick]# sh ./install
[/apache]
Cek status & versi imagick menggunakan command di atas (/scripts/installimagemagick)
Link 2 My Blog
If you find this blog useful or feel it would be useful to link from your blog or website, I would be extremely appreciative if you place this hyperlink code below to your site.
<a href="http://linggihnote.blogspot.com/" target="_blank"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx3jAGDB9ZDuc1ODWdIK3SPJBeIZF71xHZRwJSucIeJoSXiC3L7UmGUVaWIcT8O_e-5ulL1UykmZF8lH6H-k49Nc0-zNFVHE7T75Aj1vrqutqV8PwjjL1TvFsCAoiCjaoPIBv7IyreXpKR/s1600/Logo_Icon.png" /></a> |
Recent Posts |
Tidak ada komentar:
Posting Komentar