This is short guide on how to install Twiki ~5.13 on Ubuntu 12.04. This guide has a fix or two that was not present in any other guide I found.
- Install all of the relevant dependencies.
sudoapt-getinstallapache2 libgdal-perl libcgi-session-perl libhtml-tree-perl liberror-perl libfreezethaw-perl libgd2-xpm rcs libapache2-mod-perl2-doc libapache2-mod-perl2 libapache2-mod-php5 latex2html - Download Twiki
If installing in the default directory for Apache (/var/www) place the downloaded zip/tar.gz file in /var/www (http://twiki.org/cgi-bin/view/Codev/DownloadTWiki). - Install Twiki
cp/var/www/twiki/bin/LocalLib.cfg.txt/srv/www/ducklington.org/twiki/bin/LocalLib.cfgchown-R www-data:www-data/var/www/twiki - Configure Twiki
Go to this link and have the page generate the configuration needed for your apache and perl configuration.
http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator
save the generated configuration to /etc/apache2/conf.d/twiki.conf - Restart Apache2
sudo/etc/init.d/apache2reload - Allow configuration file to know where the path to the configuration should be put.
Edit /var/www/twiki/bin/LocalLib.cfg:$twikiLibPath = "/var/www/twiki/lib"; - Run Twiki config.
Configure your twiki: go to http://localhost/twiki/bin/configure, setup admin password and paths.
Edit /var/www/twiki/bin/LocalLib.cfg:$twikiLibPath = "/var/www/twiki/lib";
No comments:
Post a Comment