OS: Arch Linux
Package:
- python2: 2.7.2-2
- moinmoin: 1.9.3-2
- lighttpd: 1.4.29-1
Install Path: /srv/http/
# edit /etc/lighttpd/lighttpd.conf to enable fastcgi
cp -v /usr/share/moin/server/moin.fcgi /srv/http/bin_path/moin.fcgi
# edit moin.fcgi
cp -r /usr/share/moin/{data,underlay} /srv/http/wiki/
# in lighttpd.conf, server.username is "http", change directories owner to http
chown -R http /srv/http/wiki/{data,underlay}
chown -R http /srv/http/wiki/{data,underlay}
cp -v /usr/share/moin/config/wikiconfig.py /srv/http/wiki/
# edit wikiconfig.py, add superuser account
mv theme file to /usr/lib/python2.7/site-packages/MoinMoin/web/static/htdocs/
mv theme.py to /srv/http/wiki/data/plugin/theme/
# test config
/etc/rc.d/lighttpd restart
# Start wiki, register superuser account
/etc/rc.d/lighttpd start
# go to http://localhost/wiki/, register superuser account
# http://localhost/wiki/LanguageSetup to install page packages
# Install theme
# Download theme from http://moinmo.in/ThemeMarket
# if using the built-in static server
# static files are stored in /usr/lib/python2.x/site-packages/MoinMoin/web/statc/htdocs/
# I prefer the moniker theme :)
# http://localhost/wiki/LanguageSetup to install page packages
# Install theme
# Download theme from http://moinmo.in/ThemeMarket
# if using the built-in static server
# static files are stored in /usr/lib/python2.x/site-packages/MoinMoin/web/statc/htdocs/
# I prefer the moniker theme :)
mv theme file to /usr/lib/python2.7/site-packages/MoinMoin/web/static/htdocs/
mv theme.py to /srv/http/wiki/data/plugin/theme/
# test config
/etc/rc.d/lighttpd restart
沒有留言:
張貼留言