PR: ports/140545 Submitted by: Johan Huldtgren <jhuldtgren AT gmail.com> Approved by: lwhsu/rafan (mentors, implicit)
47 lines
1.7 KiB
Text
47 lines
1.7 KiB
Text
# To finish installing Blogsum, the following steps must be completed.
|
|
|
|
1) Setup the SQLite database:
|
|
|
|
$ su -m %%WWWOWN%% -c 'sqlite3 %%WWWDIR%%/data/site.db < \
|
|
%%WWWDIR%%/examples/create_sqlite.sql'
|
|
|
|
2) Create your local configuration and modify as necessary:
|
|
|
|
$ cp %%WWWDIR%%/Blogsum/Config.pm.dist \
|
|
%%WWWDIR%%/Blogsum/Config.pm
|
|
|
|
################################################################
|
|
NOTE: If you are updating from blogsum 0.9 you should merge the
|
|
relevant changes from %%WWWDIR%%/Blogsum/Config.pm.dist
|
|
into your current %%WWWDIR%%/Blogsum/Config.pm
|
|
###############################################################
|
|
|
|
3) If comments will be enabled, visit the CAPTCHA (http://www.captcha.net/)
|
|
project and register your account. Add your keys to Config.pm.
|
|
|
|
4) Edit the example httpd-blogsum.conf (httpd2-blogsum.conf if you are using
|
|
apache2+) and enable it for your site:
|
|
|
|
$ cp %%WWWDIR%%/examples/httpd-blogsum.conf %%PREFIX%%/%%APACHEETCDIR%%/conf
|
|
or
|
|
$ cp %%WWWDIR%%/examples/httpd2-blogsum.conf %%PREFIX%%/%%APACHEETCDIR%%/conf
|
|
|
|
5) Create your AuthUserFile file as defined in httpd-blogsum.conf:
|
|
|
|
$ sudo htpasswd -c %%PREFIX%%/%%APACHEETCDIR%%/conf/blogsum.htpasswd
|
|
|
|
6) Enable the following modules in %%APACHEETCDIR%%/httpd.conf:
|
|
|
|
LoadModule rewrite_module %%APACHEMODDIR%%/mod_rewrite.so
|
|
LoadModule proxy_module %%APACHEMODDIR%%/libproxy.so
|
|
LoadModule perl_module %%APACHEMODDIR%%/mod_perl.so
|
|
|
|
7) Stop and start your Apache service.
|
|
|
|
The installation should now be complete. Your blogsum installation can be
|
|
viewed at http://localhost/blogsum/index.cgi. Posts can be created and
|
|
edited at http://localhost/blogsum/admin.cgi.
|
|
|
|
Please refer to the online support resources if you have questions.
|
|
|
|
http://blogsum.obfuscurity.com/
|