forked from I2P_Developers/i2p.www
blojsom howto
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
<ul>
|
||||
<li><a href="http://forum.i2p.net/viewtopic.php?t=54">Installing Java for I2P on FreeBSD</a></li>
|
||||
<li><a href="howto_blojsom">Installing blojsom for an eepsite</a></li>
|
||||
</ul>
|
44
pages/howto_blojsom.html
Normal file
44
pages/howto_blojsom.html
Normal file
@ -0,0 +1,44 @@
|
||||
<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>edit eepsite/jetty.xml and replace line 160
|
||||
(<code><Arg>./eepsite/webdefault.xml</Arg></code>) with
|
||||
<code><Arg></Arg></code></li>
|
||||
<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</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>
|
Reference in New Issue
Block a user