Dobrica Pavlinušić's random unstructured stuff
SocialText Open Wiki Install: Revision 22
Here are some quick notes about installation on clean Debian etch machine
^ Helper packages .pre sudo apt-get install wv xpdf-utils unrtf unzip sudo cpan MP3::Tag .pre ^ Install source .pre svn co https://socialtext.svn.sourceforge.net/svnroot/socialtext cd socialtext ./configure --hostname saturn.ffzg.hr --server-admin admin@saturn.ffzg.hr \ --support-address support@saturn.ffzg.hr --force-ssl-login 1 make make install update-rc.d -f apache-perl remove update-rc.d st-apache defaults update-rc.d ceqlotron defaults /etc/init.d/st-apache start /etc/init.d/ceqlotron start .pre ^ Add new admin user .pre sudo -u www-data st-admin create-user --email dpavlin@rot13.org --password wikidream \ --first-name Dobrica --last-name Pavlinusic sudo -u www-data st-admin add-workspace-admin --email dpavlin@rot13.org .pre ^ Configuring mailer Install and configure postfix for mail delivery .pre apt-get install postfix vi /etc/postfix/main .pre Important lines are following: .pre alias_maps = hash:/etc/aliases, hash:/etc/aliases.deliver alias_database = hash:/etc/aliases, hash:/etc/aliases.deliver .pre They add `/etc/aliases.deliver` (which SocialText generates with names of wiki workspaces) to configuration. Next, we need to create `/etc/aliases.deliver.db` which is binary version of database needed for postfix. It's a bit tricky (and looks awfully wrong), but here it goes: .pre chmod 1777 /etc postalias /etc/aliases.deliver chmod 644 /etc .pre Now restart postfix as `root` user .pre /etc/init.d/postfix restart .pre ^ Customize template Remove "Did you know?" box from dashboard .pre sudo vi /usr/share/nlw/template/view/homepage .pre ^ Fix RSS feed errors If you are using `{getchrss http://blog.rot13.org/index.xml}` and having problems with RSS feeds, try to re-installing two perl modules: .pre sudo cpan XML::RSS XML::Atom .pre ^ New skin (CSS design) creation .pre cd /usr/share/nlw/css/ cp -r st rot13 st-admin set-workspace-config --workspace rot13 skin_name rot13 vi rot13/screen.css tar cfvpz ~/css-rot13.tar.gz rot13/ .pre Be sure to backup your changes, because next `make install` *will overwrite* your changes! ^ Change e-mail address of workspace This configuration change will feed responses to e-mails generated by wiki back into wiki. You might not want to do that! :-) .pre st-admin set-workspace-config --workspace rot13 \ email_notification_from_address '"random unstructured stuff" <rot13@wiki.rot13.org>' .pre ^ Access simple version of page Every SocialText wiki has a lite version available at http://wiki.example.com/lite/page/:workspace/ For this wiki it's http://saturn.ffzg.hr/lite/page/rot13 |