forked from I2P_Developers/i2p.www
46 lines
2.3 KiB
HTML
46 lines
2.3 KiB
HTML
{% extends "_layout.html" %}
|
|
{% block title %}Howto Blojsom{% endblock %}
|
|
{% block content %}<p>Instructions for installing
|
|
<a href="http://wiki.blojsom.com/wiki/display/blojsom/About+blojsom">blojsom</a>
|
|
in the default eepsite container:</p>
|
|
|
|
<ol>
|
|
<li>download <a href="http://prdownloads.sourceforge.net/blojsom/blojsom.war?download">blojsom.war</a>
|
|
and save to eepsite/webapps/</li>
|
|
<li>extract the war:<ul>
|
|
<li>cd eepsite/webapps</li>
|
|
<li>mkdir blojsom</li>
|
|
<li>mv blojsom.war blojsom</li>
|
|
<li>cd blojsom</li>
|
|
<li>jar xvf blojsom.war<br />
|
|
<i>(if this gives you a "Command not found", try running
|
|
"C:\j2sdk1.4.2\bin\jar xvf blojsom.war", or whatever the path to your JDK install is)</i></li>
|
|
</ul></li>
|
|
<li>edit the base config: WEB-INF/default/blog.properties<br />
|
|
<code>blog-base-url=/blojsom/</code><br />
|
|
<code>blog-url=/blojsom/blog/default/</code></li>
|
|
<li>password protect the admin page: edit WEB-INF/default/authorization.properties<br /><code>
|
|
jrandom=someSecretValue</code></li>
|
|
<li>edit WEB-INF/classes/log4j.properties<br />
|
|
replace <code>log4j.rootLogger=DEBUG, stdout</code>
|
|
with <code>log4j.rootLogger=ERROR, stdout</code></li>
|
|
<li>restart the router</li>
|
|
<li>go to <a href="http://localhost:7658/blojsom/blog/?flavor=admin">http://localhost:7658/blojsom/blog/?flavor=admin</a> (use the username and password specified before)</li>
|
|
<li>click on "Weblog settings" and update accordingly. be sure to set trackbacks enabled? = false</li>
|
|
<li>click on "Entries" and make a post</li>
|
|
<li>open up a new window pointing to
|
|
<a href="http://localhost:7658/blojsom/blog/">http://localhost:7658/blojsom/blog/</a>
|
|
and see your blog entry</li>
|
|
<li>set your browser to use the eepproxy</li>
|
|
<li>go to <a href="http://localhost:7657/i2ptunnel/">http://localhost:7657/i2ptunnel/</a> and click
|
|
on the "view" link for your eepsite (it loads the html from
|
|
<code>./eepsite/docroot/index.html</code>)</li>
|
|
<li>edit the URL to point at /blojsom/blog/ and you'll see your blog. (perhaps update that
|
|
eepsite/docroot/index.html to redirect to your blog?)</li>
|
|
</ol>
|
|
|
|
<h3>Notes: </h3><ul>
|
|
<li> blog entries will be stored under ~/blojsom-blogs/default/</li>
|
|
<li> like all eepsites, comments are dangerous, as they may include raw html. </li>
|
|
</ul>
|
|
{% endblock %} |