tacker.org


HOWTO Install TWiki on Gentoo Linux

5.04.2006

For a study project of my wife I wanted to install TWiki and picked the ebuild. Installing wasn't that fluid, the bin/configure script was displayed as plain text.

But it's marked ~x86 so why blame the maintainer?

These are the steps which were required to get TWiki running for my setup.

edit bin/.htaccess to contain

Options +ExecCGI
SetHandler cgi-script

This made the configure script display. It complained about

Error: 'TWiki.pm' could not be loaded. The error was:

Can't locate TWiki.pm in @INC
(@INC contains: [...]

Error: Check path to twiki/lib and check that LocalSite.cfg is present and readable

Right. TWiki.pm was not readable by the webserver.

# la lib/TWiki.pm
-r--r----- 1 root root 112223 5. Apr 10:35 lib/TWiki.pm

So I chowned all files to the webserver:

# chown -R root:apache ./

configure also mentioned that it could not write the logfiles, so I gave the webserver write permissios to the data dir

find ./data | xargs chmod g+w

It's working

That's it pretty much. TWiki is now running here.

5
04
2006

Ein Kommentar hinzufügen | Permalink

Kategorien > Allgemeines

Tags >

 

 

nächster >

voriger >

Dein Kommentar





Markus TackerÜber

Markus Tacker ist professioneller Webentwickler aus Offenbach am Main, Deutschland.

Der Schwerpunkt seiner Tätigkeiten ist die Entwicklung von browserbasierten Anwendungen in PHP.

Kontakt

Markus Tacker
Senefelderstr. 63
63069 Offenbach
(0 69) 83 83 57 73
(0 32 21) 1 14 32 97

mehr

Tanja-Counter

13 Jahre 1 Monat 6 Tage

http://m.tacker.org/blog/243.howto-install-twiki-on-gentoo-linux.html