View Full Version : installing imagemagick
teedee
01-16-2004, 07:09 AM
Hi,
I used an rpm to install imagemagick and it all seemed to go OK, but scripts that need it still don't work. How can I find out the path to imagemagick needed for the scripts config ?
ProWebUK
01-16-2004, 08:45 AM
rpm -ql ImageMagick
Would show you all the files installed with the rpm.
Chris
teedee
01-16-2004, 08:52 AM
hmmmm, still can't see where it is......
teedee
01-16-2004, 09:31 AM
I seem to remember on CPanel it was something like
/usr/X116/bin/convert
The closest thing I can find is
/usr/bin/sfconvert or
/usr/bin/jv-convert
Any other way of finding the path for scripts to use ? Or is it possible to re-install imagemagick so I specify the path that will be used for scripts ?
Is there a better way of installing it than using the rpm ?
Thanks
teedee
01-18-2004, 08:46 AM
Anyone have any advice ?
I am still not able to find out if the install is OK or not or what the path is :(
DirectAdmin Support
01-18-2004, 12:02 PM
Hello,
updatedb
locate convert
John
vandal
01-24-2004, 04:26 AM
Originally posted by teedee
I seem to remember on CPanel it was something like
/usr/X116/bin/convert
The closest thing I can find is
/usr/bin/sfconvert or
/usr/bin/jv-convert
Any other way of finding the path for scripts to use ? Or is it possible to re-install imagemagick so I specify the path that will be used for scripts ?
Is there a better way of installing it than using the rpm ?
Thanks
the redhat rpm via up2date stores the files in /usr/X11/convert (and the rest) as far was i remember. the rpm off the imagemagick website installs the executables to /usr/local/bin
do a: find / -name "convert*"
that should show you the location...let me know
van
teedee
01-25-2004, 03:20 AM
yup, it was in /usr/local/bin
outpernet
02-23-2004, 02:49 PM
in RH9 the path is "/usr/bin/mogrify"
nobaloney
02-28-2004, 04:33 PM
So is the answer "yes"?
Does imagemagick just "work" out of the box, so-to-speak, once it's installed from RPMs?
Anyone got it working with RHL 7.3 ?
With RHL 9 ?
With FreeBSD/DirectAdmin ?
We have a client who needs it on his new DA server and i want to know the best direction to go with this.
Thanks.
Jeff
outpernet
02-28-2004, 04:58 PM
yes, rpm and thats all. RH9 at least
sander815
05-17-2004, 03:41 AM
if i want imagemagick on my server, is it just enough to install the rpm?
rpm -ivh ftp://ftp.imagemagick.org/pub/ImageMagick/linux//fedora/i386/ImageMagick-6.0.1-2.i386.rpm
no configuration with php etc?
sander815
05-17-2004, 03:57 AM
and defualt install is /usr/bin/X11
vandal
05-17-2004, 11:06 AM
imagemagick is just a bunch of binary files. there are API's written to make use of it for PHP, Coldfusion, Perl etc... you can see the list here: http://www.imagemagick.org/www/apis.html?
use those to manipulate images via an html form or something :)
sander815
05-17-2004, 12:31 PM
i need it for a client that wants a php image gallery, is basic rpm install enough?
vandal
05-17-2004, 05:32 PM
yes it is enough. most scripts ask you to input the path of the binaries.
last time I checked 'gallery' a free open source image gallery had the option to use imagemagick.
http://gallery.menalto.com/modules.php?op=modload&name=News&file=index
check it out.
sander815
05-18-2004, 04:10 AM
yes, ok, great
its not for gallery, but coppermine
http://coppermine.sourceforge.net/
Originally posted by jlasman
So is the answer "yes"?
Does imagemagick just "work" out of the box, so-to-speak, once it's installed from RPMs?
Anyone got it working with RHL 7.3 ?
With RHL 9 ?
With FreeBSD/DirectAdmin ?
We have a client who needs it on his new DA server and i want to know the best direction to go with this.
Thanks.
Jeff
Freebsd:
I dont know if you have it allready, but i just did this:
cd /usr/ports/graphics/ImageMagick/
make
make install
make clean
and it worked
Although Menalto Gallery does use ImageMagick, you must have ImageMagick already installed before Menalto Gallery will run. Unfortunately Menalto Gallery does not install ImageMagick for you, nor does it tell you how to install ImageMagick.
Sadly we've had to give up installing Menalto Gallery on our remotely hosted RHL 9 DA production server because ImageMagick was not installed by the box provider. Being *nix newbies we don't have the confidence to install RPM files without putting the health of our entire server at risk We also do not have a local *nix development box to practice on. :mad:
Originally posted by vandal
yes it is enough. most scripts ask you to input the path of the binaries.
last time I checked 'gallery' a free open source image gallery had the option to use imagemagick.
http://gallery.menalto.com/modules.php?op=modload&name=News&file=index
check it out.
vandal
02-18-2005, 08:05 AM
To install image magick on redhat 9.
yum install ImageMagick
or download the RPM from their website and rpm -Uvh <rpm name>
or log into your server and go "man rpm" that will show you how to use the rpm command.
also gallery normally has many security problems, so keep watching their site and keep their install updated or you could comprimise your server.
nobaloney
02-18-2005, 08:05 AM
In general you're fairly safe with RPMs. An RPM install will fail before it does anything if it's not fully compatible with what's on your server.
Once it's installed you can remove all traces of it with a simple command.
You can find documentation for RPM on the 'net, or from a linux prompt just type "man rpm".
If I were you I'd try to get a test box in your budget; if nothing else you can rent one for one month at low cost at "http://www.tektonic.net".
I find test systems critical to keep my clients happy and my servers running.
Jeff
Thank you for the constructive *nix newbie info, vandal & JL.
Our possibly overcautious policy to NOT use a live production server for "target practice" comes from generic experience learned the hard way. On top of which, we're not averse to learning more about *nix servers but the whole point of paying extra for DA is to bypass as much of the *nix learning curve as possible. Keep in mind that not everyone NEEDS to learn a stick shift in order to learn how to drive!
Once specific concern is that in the course of searching for ImageMagick installation advice, we've read various reports of RPM installations causing unexpected problems. What is the "yum" command? What is the "simple command" to remove all traces of an RPM installation? Better yet, what is the "simple command" to remove all traces of a FAILED installation which causes unexpected problems?
Setting up a local RHL 9 DA box has been one of those often-postponed "round twits". In addition to development tasks, we'd really prefer such a box be LOCAL educational resource. However getting our production DA box configuration mirrored onto it is one of many concerns we just don't have an answer for yet.
Thanks also for the tektonic suggestion, but a brief visit did not reveal any pre-configured DA virtual servers there. Also no price list, which isn't very reassuring where any on-line provider is concerned.
We already have a suppler of small dedicated RHL 9 DA boxes with 2GB HDD and 1TB/month xfer for $29/month. These are generally used as DNS or IRC servers, but we've been thinking they might also be good for pre-production tinkering, again with minimal *nix learning curve.
Thanks again guys.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.