|
How to install BlobViewer.
- Download the package source here.
root@devel#
wget .../BlobViewer-xx-yy-zz.tar.gz
- Enter into you WebGUI root directory (default is /data/WebGUI)
root@devel# cd /data/WebGUI
- Extract BlobViewer into this directory
root@devel#
tar zxvf /dir/where/you/saved/BlobViewer-xx.yy.zz.tar.gz These files will be installed:
- read1st-BlobViewer.txt
- docs/BlobViewer/create.sql
- docs/BlobViewer/create_01_pre_06_01.sql
- docs/BlobViewer/install.txt
- docs/BlobViewer/readme.txt
- docs/BlobViewer/uninstall.sql
- docs/BlobViewer/changelog/00.xx.xx.txt
- lib/WebGUI/Wobject/BlobViewer.pm
- lib/WebGUI/i18n/English/BlobViewer.pm
- lib/WebGUI/i18n/Italian/BlobViewer.pm
- lib/WebGUI/Help/BlobViewer.pm
- Execute sql query script (change the WebGUI database name to your database
name)
root@devel# mysql -p WebGUI < docs/BlobViewer/create.sql
- If your WebGUI version is prior than 06.01.xx you must also execute
this script
root@devel# mysql -p WebGUI < docs/BlobViewer/create_01_pre_06_01.sql
- Edit WebGUI.conf file to add BlobViewer module to Wobject list
root@devel# vi /data/WebGUI/etc/WebGUI.conf
... wobjects = Article, EventsCalendar, ExtraColumn, FAQ, FileManager, \ HttpProxy, Item, LinkList, DataForm, MessageBoard, Poll, Product, \ SiteMap, SQLReport, Survey, SyndicatedContent, USS, WobjectProxy, \
BlobViewer ...
-
To use Automatic detection of mime types, download CPAN
module File::MMagic here or
use your CPAN module
perl -MCPAN -e 'install File::MMagic'.
This is an optional module but if you don't install it, you must choose
correct content-type for your BLOB binary data a priori.
- Restart web server (this shouldn't be necessary...)
JavaScript Menu Courtesy of Milonic.com
|
|
|
|