Sphider Pro Support
Knowledgebase
Sphider Pro > Sphider Pro Support > Knowledgebase

Search help:


Installing image converter Sphider Pro version 3.3

Solution

Installing image converter

Sphider Pro can create thumbnails of all the websites links that it indexes. To use this feature wkhtmltoimage needs to be installed on the server. To install wkhtmltoimage please see the following steps.

To install wkhtmltoimage you will need to login to your server via your ssh client.

Next move to the directory were wkhtml will be installed, to do this use the following command.

cd /usr/local/src/

Next issue the following command to download wkhtmltoimage

wget http://wkhtmltopdf.googlecode.com/files/wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2

Issue the following command to extract the files.

tar xvjf ./wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2

next we need to set file permissions, this is done with the following command

chmod +x ./wkhtmltoimage-i386

wkhtmltoimage is now installed on your server. While you’re still in shell prompt its best to check as sometimes a few libraries will need to be included. If you issue the below command it will try and take a snapshot of googles website and save it as test.jpg

./wkhtmltoimage-i386 www.google.com test.jpg {test in command line)

ls (should now show test.jpg file)

rm test.jpg (removes image)

if any errors return for missing files or libraries such as:

wkhtmltoimage: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

These can just be installed with yum install libz.so.1 (or other libraries names)

Run the check ./wkhtmltoimage www.google.com test.jpg {test in command line) until it returns with no errors of missing libraries.

 

 
Was this article helpful? yes / no
Article details
Article ID: 19
Category: Sphider pro installation
Date added: 2013-09-05 05:25:28
Views: 1268
Rating (Votes): Article rated 3.2/5.0 (76)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid