Tools

Aus Limbas Wiki

Wechseln zu: Navigation, Suche

<-- zurück zu Installation / <-- zurück zur Hauptseite-Portale


LIMBAS benötigt für die volle Funktionsfähigkeit einige externe Tools. PHP-basierte Tools sind im LIMBAS-Verzeichnis unter openlimbas/independent abgelegt und müssen ggf. in ihren jeweiligen Konfigurationsdateien angepasst werden.
Andere sind direkt in Linux zu installieren und werden über PHP angesteuert.

Das LIMBAS Installations-Script testet alle Tools auf deren Funktion.

Inhaltsverzeichnis

zusätzliche Tools

Nützliches Repository für CentOS zur einfachen Installation einiger Zusatztools

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

gdlib

Die gdlib wird hauptsächlich benötigt um Menüpunkte und Grafiken für das Layout von LIMBAS zu erstellen. Die benötigten Grafiken werden im entsprechenden Layout von LIMBAS definiert (layout/manta/menuicons.php)

ImageMagick

ImageMagick wird für alle Konvertierungen von Bildern und deren Vorschau eingesetzt. Ohne ImageMagick können keine Thumbnails insbesondere für das DMS oder Uploaddateien erstellt werden.

Imap

ist ausschließlig für das Mailmodul notwendig

MimeMagic

bei Upload von Dateien kann unabhängig von der Dateiendung der Dateityp gefunden werden. Ist MimeMagic nicht vorhanden wird die Dateiendung zur Identifizierung verwendet.

htmldoc

Zur Umwandlung von HTML Seiten in PDF. Wird vom DMS verwendet sowie von einigen Administrationstools.

http://wvware.sourceforge.net/
http://www.htmldoc.org/software.php

antiword

Konvertiert Office-Word Dateien in reinen Text. Wird von der Indizierungfunktion benötigt um auch Word Dateien über den Index durchsuchen zu können.

http://www.winfield.demon.nl/
antiword-0.37-3.i586.rpm

pdftotext

Konvertiert PDF Dateien in reinen Text. Wird von der Indizierungfunktion benötigt um auch PDF Dateien über den Index durchsuchen zu können.

wvware

Konvertiert Word Dateien in HTML oder PDF. Wird vom DMS als Konverter genutzt.

http://wvware.sourceforge.net/
wv-1.0.3-2.el4.i386.rpm

pdftohtml

Konvertiert PDF in HTML. Wird vom DMS als Konverter genutzt.

http://pdftohtml.sourceforge.net
pdftohtml-0.36-145.i586.rpm

ghostscript

Wird hauptsächlich für die PDF Berichte von LIMBAS benötigt.

pdftk

Zur Umwandlung und Modifizierung von PDF Dateien. Wird vom DMS verwendet sowie zum Teil für die LIMBAS Berichte.

ttf2pt1

Fontkonverter. Wird für die Konvertierung von Systemfonts für die LIMBAS Berichte benötigt.

http://ttf2pt1.sourceforge.net/
ttf2pt1-344-67.i586.rpm

JpGraph

JpGraph wird für Diagramme in LIMBAS eingesetzt und ist optional. Generell können auch andere Tools genutzt werden da LIMBAS Diagramme als Erweiterung unterstützt.

uploadprogress

"uploadprogress" ist ein php Modul welches wärend des Dateiuploads den Upload-Status zurück liefert. Fals installiert wird diese Funktionalität im LIMBAS DMS genutzt.

install

phpize
./configure
make
sudo make install

php.ini

extension=uploadprogress.so

uploadprogress.file.filename_template="/tmp/upload_status_%s"
uploadprogress.file.contents_template="/tmp/upload_contents_%s"
uploadprogress.get_contents=0
http://pecl.php.net/package/uploadprogress

install on Gentoo

The package is not (yet) marked stable on Gentoo, thus you have to accept the unstable keyword for that package:

echo "dev-php5/pecl-uploadprogress ~amd64" >> /etc/portage/package.keywords

And then install it as usual

emerge dev-php5/pecl-uploadprogress

php.ini

  • upload_max_filesize and post_max_size

Files are usually POSTed to the webserver in a format known as 'multipart/form-data'. The post_max_size sets the upper limit on the amount of data that a script can accept in this manner. Ideally this value should be larger than the value that you set for upload_max_filesize. It's important to realize that upload_max_filesize is the sum of the sizes of all the files that you are uploading. post_max_size is the upload_max_filesize plus the sum of the lengths of all the other fields in the form plus any mime headers that the encoder might include. Since these fields are typically small you can often approximate the upload max size to the post max size. According to the PHP documentation you can set a MAX_UPLOAD_LIMIT in your HTML form to suggest a limit to the browser. Our understanding is that browsers totally ignore this directive and the only solution that can impose such a client side restriction is our own Rad Upload Applet

  • memory_limit

When the PHP engine is handling an incoming POST it needs to keep some of the incoming data in memory. This directive has any effect only if you have used the --enable-memory-limit option at configuration time. Setting too high a value can be very dangerous because if several uploads are being handled concurrently all available memory will be used up and other unrelated scripts that consume a lot of memory might effect the whole server as well.

  • max_execution_time and max_input_time

These settings define the maximum life time of the script and the time that the script should spend in accepting input. If several mega bytes of data are being transfered max_input_time should be reasonably high. You can override the setting in the ini file for max_input_time by calling the set_time_limit() function.

IMAP

Die Unterstützung für IMAP / POP Funktionalität geschieht durch die IMAP Bibliothek von:

|ftp://ftp.cac.washington.edu/imap/imap.tar.Z

installieren

cd /opt
wget ftp://ftp.cac.washington.edu/imap/imap.tar.Z
tar -xzf imap.tar.Z
cd imap*
make lrh IP6=4

php kann nun mit der IMAP-Unterstützung gebaut werden:

configure ... --with-imap=/opt/imap-2007a

Nähere Informationen zur Installation der einzelnen Tools finden Sie jeweils in deren Dokumentation.

Persönliche Werkzeuge
Werkzeuge
LANGUAGES