TWiki on SourceForge
TWikiOnSourceForge has been withdrawn as sourceforge.net no longer allows write access to the filesystem from their webservers.
TWiki seems to be still usable on sourceforge.net servers by doing the following steps:
- Download latest TWiki and CGI::Session packages:
wget ---url to TWiki-*.*.*.zip---
wget ---url to CGI-Session-*.*.tar.gz---
- Upload them to your sourceforge webspace:
scp TWiki-*.*.*.zip ---your sf username---@ssh.sourceforge.net:/tmp/persistent/---your project name---/
scp CGI-Session-*.*.tar.gz stenyak@ssh.sourceforge.net:/tmp/persistent/---your project name---/
ssh ---your sf username---@ssh.sourceforge.net
cd /tmp/persistent/---your project name---
mkdir twiki
cd twiki
unzip ../TWiki-*.*.*.zip
cd ..
tar xzvf CGI-Session-*.*.tar.gz
- Optionally remove the dloaded packages:
rm TWiki-*.*.*.zip CGI-Session-*.*.tar.gz
- Install CGI-Session in the appropriate dir:
cd CGI-Session-*.*
perl Makefile.PL LIB=/tmp/persistent/---your project name---/twiki/lib/CPAN/lib PREFIX=/tmp/persistent/---your project name---/twiki/lib/CPAN/lib
make
make test
make install
cd ..
- Install TWiki. First we create its temp dir (you'll later use it when configuring twiki)
mkdir tmpTwiki
- Then make TWiki readable by apache:
cd /home/groups/---y/yo/yourProjectName---/htdocs
ln -s /tmp/persistent/---your project name---/twiki twiki
cd twiki
- Then set up proper .htaccess files (for more info follow the TWikiInstallationGuide, this guide is not complete):
cp root-htaccess.txt .htaccess && edit the file
touch bin/.htaccess && edit the file so that it contains these 2 lines:
Options ExecCGI FollowSymLinks
SetHandler cgi-script
- Now follow the TWikiInstallationGuide in order to complete the install process.
- You can now head with your browser to your twiki/bin/configure and set up the dirs. I suggest using the /tmp dir instead of the /home symlinked one:
/tmp/persistent/---your project name---/twiki
- If you still have problems, try to change permissions to unsafe ones like:
chmod -R 777 /tmp/persistent/---your project name---/twiki
chmod -R 777 /tmp/persistent/---your project name---/tmpTwiki
chmod -R 777 /home/groups/---y/yo/yourProjectName---/htdocs/twiki
- In order to get emailing to work, you need to... any idea someone??? Meanwhile, you can switch off the need for registration verification email in your twiki config, so that you can create users.
That's about it!
Announcement:
http://sourceforge.net/tracker/index.php?func=detail&aid=1109940&group_id=1&atid=350001
(See
old content of this topic)
--
Contributors: StenyakStk - 25 Jul 2007
Discussion