How to install BlobViewer.

  1. Download the package source here.

      root@devel# wget .../BlobViewer-xx-yy-zz.tar.gz
     
  2. Enter into you WebGUI root directory (default is /data/WebGUI)

        root@devel# cd /data/WebGUI
     
  3. Extract BlobViewer into this directory

      root@devel# tar zxvf /dir/where/you/saved/BlobViewer-xx.yy.zz.tar.gz
     

    These files will be installed:

     

  4. Execute sql query script (change the WebGUI database name to your database name)

      root@devel# mysql -p WebGUI < docs/BlobViewer/create.sql
     
  5. 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
     

  6. 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
      ...

     
  7. 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.
     
  8. Restart web server (this shouldn't be necessary...)