http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&feed=atom&action=history
Quercus: WordPress on Resin 3.1 - Revision history
2024-03-28T23:53:20Z
Revision history for this page on the wiki
MediaWiki 1.18.0
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=4103&oldid=prev
Pcowan at 17:49, 21 October 2011
2011-10-21T17:49:39Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:49, 21 October 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 41:</td>
<td colspan="2" class="diff-lineno">Line 41:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Quercus]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Quercus]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category: Resin 3.1]]</ins></div></td></tr>
</table>
Pcowan
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=4101&oldid=prev
Pcowan: Quercus Wordpress Resin 3.1 moved to Quercus: WordPress on Resin 3.1
2011-10-21T17:49:23Z
<p><a href="/Quercus_Wordpress_Resin_3.1" class="mw-redirect" title="Quercus Wordpress Resin 3.1">Quercus Wordpress Resin 3.1</a> moved to <a href="/Quercus:_WordPress_on_Resin_3.1" title="Quercus: WordPress on Resin 3.1">Quercus: WordPress on Resin 3.1</a></p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 17:49, 21 October 2011</td>
</tr></table>
Pcowan
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=4100&oldid=prev
Pcowan at 17:48, 21 October 2011
2011-10-21T17:48:53Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:48, 21 October 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">[[Category: Quercus]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=Running Wordpress 2.5.1 on Resin 3.1.6=</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=Running Wordpress 2.5.1 on Resin 3.1.6=</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 41:</td>
<td colspan="2" class="diff-lineno">Line 39:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category: Quercus]]</ins></div></td></tr>
</table>
Pcowan
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=4098&oldid=prev
Pcowan: Quercus: Wordpress moved to Quercus Wordpress Resin 3.1
2011-10-21T17:48:34Z
<p><a href="/Quercus:_Wordpress" class="mw-redirect" title="Quercus: Wordpress">Quercus: Wordpress</a> moved to <a href="/Quercus_Wordpress_Resin_3.1" class="mw-redirect" title="Quercus Wordpress Resin 3.1">Quercus Wordpress Resin 3.1</a></p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 17:48, 21 October 2011</td>
</tr></table>
Pcowan
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=2896&oldid=prev
Angeloyan: /* Quick start */
2008-07-25T09:04:43Z
<p><span class="autocomment">Quick start</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 09:04, 25 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 18:</td>
<td colspan="2" class="diff-lineno">Line 18:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the directory resin-3.1.6/webapps/ROOT/WEB-INF/lib  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the directory resin-3.1.6/webapps/ROOT/WEB-INF/lib  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">version 3.1.4 is Recommanded, the 5.1.6 may have some issues.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip MySQL Connector/J and place the mysql-connector-java-5.1.6-bin.jar in resin-3.1.6/webapps/ROOT/WEB-INF/lib  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip MySQL Connector/J and place the mysql-connector-java-5.1.6-bin.jar in resin-3.1.6/webapps/ROOT/WEB-INF/lib  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar resin-3.1.6/lib/resin.jar</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar resin-3.1.6/lib/resin.jar</pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://localhost:8080 and set up WordPress according to the online directions</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://localhost:8080 and set up WordPress according to the online directions</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">I have tried again and again and again, but it never works under Resin, I don't know why. So what I can do is to tell you never do follow above. And I hope some one can post something really work,please!</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Full installation==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Full installation==</div></td></tr>
</table>
Angeloyan
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=2866&oldid=prev
Emil: removed workaround note
2008-07-02T20:09:29Z
<p>removed workaround note</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 20:09, 2 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 38:</td>
<td colspan="2" class="diff-lineno">Line 38:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">==Notes==</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">If you see strange characters in posts or characters, you may need to tell the database driver to use unicode.  Add the following resin-web.xml file to the WEB-INF directory in the webapp where you installed WordPress:</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><pre></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><?xml version="1.0"?></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"><web-app xmlns="http://caucho.com/ns/resin"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">  <database jndi-name="jdbc/blog"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">    <driver type="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">      <url>jdbc:mysql://localhost:3306/blog</url></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">      <user>root</user></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">      <password></password></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">      <useUnicode>true</useUnicode></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">    </driver></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">  </database></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">  <servlet servlet-name="php"</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">          servlet-class="com.caucho.quercus.servlet.QuercusServlet"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">    <init database="jdbc/blog"/></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">  </servlet></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">  <servlet-mapping url-pattern="*.php" servlet-name="php"/></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></web-app></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></pre></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">You may need to change the values of the <url>, <user>, or <password> tags to reflect your database name, user, or password depending on your database.</del></div></td><td colspan="2"> </td></tr>
</table>
Emil
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=2865&oldid=prev
Emil: unicode database
2008-07-02T15:43:08Z
<p>unicode database</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:43, 2 July 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 38:</td>
<td colspan="2" class="diff-lineno">Line 38:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Notes==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">If you see strange characters in posts or characters, you may need to tell the database driver to use unicode.  Add the following resin-web.xml file to the WEB-INF directory in the webapp where you installed WordPress:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><?xml version="1.0"?></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><web-app xmlns="http://caucho.com/ns/resin"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  <database jndi-name="jdbc/blog"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">    <driver type="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">      <url>jdbc:mysql://localhost:3306/blog</url></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">      <user>root</user></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">      <password></password></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">      <useUnicode>true</useUnicode></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">    </driver></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  </database></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  <servlet servlet-name="php"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">          servlet-class="com.caucho.quercus.servlet.QuercusServlet"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">    <init database="jdbc/blog"/></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  </servlet></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">  <servlet-mapping url-pattern="*.php" servlet-name="php"/></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></web-app></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">You may need to change the values of the <url>, <user>, or <password> tags to reflect your database name, user, or password depending on your database.</ins></div></td></tr>
</table>
Emil
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=2815&oldid=prev
Emil: delete index.jsp
2008-06-19T15:29:10Z
<p>delete index.jsp</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:29, 19 June 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download Resin 3.1.6 from http://www.caucho.com/download</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download Resin 3.1.6 from http://www.caucho.com/download</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip Resin 3.1.6</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip Resin 3.1.6</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"># Delete resin-3.1.6/webapps/ROOT/index.jsp</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip WordPress and copy all files and directories to resin-3.1.6/webapps/ROOT</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip WordPress and copy all files and directories to resin-3.1.6/webapps/ROOT</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></div></td></tr>
</table>
Emil
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=2814&oldid=prev
Emil: create lib directory
2008-06-19T15:26:51Z
<p>create lib directory</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:26, 19 June 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 15:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip WordPress and copy all files and directories to resin-3.1.6/webapps/ROOT</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip WordPress and copy all files and directories to resin-3.1.6/webapps/ROOT</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"># Create the directory resin-3.1.6/webapps/ROOT/WEB-INF/lib </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip MySQL Connector/J and place the mysql-connector-java-5.1.6-bin.jar in resin-3.1.6/webapps/ROOT/WEB-INF/lib  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip MySQL Connector/J and place the mysql-connector-java-5.1.6-bin.jar in resin-3.1.6/webapps/ROOT/WEB-INF/lib  </div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip WordPress and copy all files and directories to /var/www/hosts/blog.example.com/webapps/ROOT</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip WordPress and copy all files and directories to /var/www/hosts/blog.example.com/webapps/ROOT</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"># Create the directory /var/www/hosts/blog.example.com/webapps/ROOT/WEB-INF/lib </ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip MySQL Connector/J and place the mysql-connector-java-5.1.6-bin.jar in /var/www/hosts/blog.example.com/webapps/ROOT/WEB-INF/lib  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Unzip MySQL Connector/J and place the mysql-connector-java-5.1.6-bin.jar in /var/www/hosts/blog.example.com/webapps/ROOT/WEB-INF/lib  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Browse to http://blog.example.com:8080 and set up WordPress according to the online directions</div></td></tr>
</table>
Emil
http://wiki3.caucho.com/index.php?title=Quercus:_WordPress_on_Resin_3.1&diff=2813&oldid=prev
Emil: Rewrite to modern versions
2008-06-19T15:22:44Z
<p>Rewrite to modern versions</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:22, 19 June 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Quercus]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Quercus]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Running Wordpress 2.<del class="diffchange diffchange-inline">2</del>.1 on Resin 3.1.<del class="diffchange diffchange-inline">2</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">=</ins>Running Wordpress 2.<ins class="diffchange diffchange-inline">5</ins>.1 on Resin 3.1.<ins class="diffchange diffchange-inline">6=</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">--------------------------------------</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">Wordpress 2.2 will run on Resin without modification.  However, Wordpress 2.2.1 will require a fix to wp-includes/formatting.php.  The Wordpress function js_escape() was changed in 2.2.1 to use conditional constructs in regular expressions.  Java does not support conditional constructs.  The workaround is to revert the change to that function detailed here:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">http://trac</del>.<del class="diffchange diffchange-inline">wordpress.org/changeset/5736</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==Requirements==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># MySQL server</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Java 1</ins>.<ins class="diffchange diffchange-inline">5 or higher</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Quick start==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Follow these instructions if you would simply like to evaluate running WordPress without doing a system-wide installation.  Follow the instructions below to perform a system-wide installation.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Running Wordpress </del>2.<del class="diffchange diffchange-inline">0</del>.3 <del class="diffchange diffchange-inline">on </del>Resin</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Download WordPress </ins>2.<ins class="diffchange diffchange-inline">5</ins>.<ins class="diffchange diffchange-inline">1 from http://www.wordpress.org/download</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> -------------------------------</del>-</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Download Resin </ins>3<ins class="diffchange diffchange-inline">.1.6 from http://www.caucho.com/download</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Created</del>: <del class="diffchange diffchange-inline">July 9, 2006</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Unzip </ins>Resin <ins class="diffchange diffchange-inline">3.1.6</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Tested on</del>: <del class="diffchange diffchange-inline">Mac OS X 10</del>.<del class="diffchange diffchange-inline">4</del>.<del class="diffchange diffchange-inline">7 on an Intel Mac, July 9, 2006</del>)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Unzip WordPress and copy all files and directories to resin</ins>-<ins class="diffchange diffchange-inline">3.1.6/webapps/ROOT</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Author: Tony Field</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Create the WordPress database</ins>: <ins class="diffchange diffchange-inline"><pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Download MySQL Connector/J 5.1.6 (http</ins>:<ins class="diffchange diffchange-inline">//dev</ins>.<ins class="diffchange diffchange-inline">mysql</ins>.<ins class="diffchange diffchange-inline">com/downloads/connector/j/5.1.html</ins>)  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> You can't install WordPress 2</del>.<del class="diffchange diffchange-inline">0</del>.<del class="diffchange diffchange-inline">3 on Resin </del>3.<del class="diffchange diffchange-inline">0</del>.<del class="diffchange diffchange-inline">19 and configure it "just like that" </del>-  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Unzip MySQL Connector/J and place the mysql-connector-java-5</ins>.<ins class="diffchange diffchange-inline">1</ins>.<ins class="diffchange diffchange-inline">6-bin.jar in resin-</ins>3.<ins class="diffchange diffchange-inline">1</ins>.<ins class="diffchange diffchange-inline">6/webapps/ROOT/WEB</ins>-<ins class="diffchange diffchange-inline">INF/lib </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> there were apparently some problems with Quercus that have since been fixed:  the </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Run <pre>java </ins>-<ins class="diffchange diffchange-inline">jar resin-3</ins>.<ins class="diffchange diffchange-inline">1.6/lib/resin.jar</pre></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> install script fails part</del>-<del class="diffchange diffchange-inline">way through</del>. <del class="diffchange diffchange-inline"> However, you can indeed run </del>WordPress <del class="diffchange diffchange-inline">on</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Browse to http://localhost:8080 and set up </ins>WordPress <ins class="diffchange diffchange-inline">according to the online directions</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Resin 3.0.19 after </del>you <del class="diffchange diffchange-inline">get it running using </del>a <del class="diffchange diffchange-inline">more recent snapshot</del>.  <del class="diffchange diffchange-inline">Here are </del>the <del class="diffchange diffchange-inline">instructions</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==Full installation==</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 1. </del>Download WordPress 2.<del class="diffchange diffchange-inline">0</del>.<del class="diffchange diffchange-inline">3 <</del>http://www.wordpress.org/download<del class="diffchange diffchange-inline">/></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Follow these instructions if </ins>you <ins class="diffchange diffchange-inline">would like to perform </ins>a <ins class="diffchange diffchange-inline">permanent installation with virtual hosts</ins>.  <ins class="diffchange diffchange-inline">Follow </ins>the <ins class="diffchange diffchange-inline">above directions for a quick start evaluation</ins>.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 2. </del>Download <del class="diffchange diffchange-inline">& install/configure a snapshot of </del>Resin 3<del class="diffchange diffchange-inline">, July 5 or later (I haven't tried earlier snapshots)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># </ins>Download WordPress 2.<ins class="diffchange diffchange-inline">5</ins>.<ins class="diffchange diffchange-inline">1 from </ins>http://www.wordpress.org/download</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># </ins>Download Resin 3<ins class="diffchange diffchange-inline">.1.6 from http://www.caucho.com/download</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>3. <del class="diffchange diffchange-inline">Extract the WordPress zip file and put it into your webapps folder</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Unzip Resin </ins>3.<ins class="diffchange diffchange-inline">1</ins>.<ins class="diffchange diffchange-inline">6 in /usr/local/share</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Copy </ins>/<ins class="diffchange diffchange-inline">usr</ins>/local<ins class="diffchange diffchange-inline">/share/resin</ins>-<ins class="diffchange diffchange-inline">3</ins>.<ins class="diffchange diffchange-inline">1.6</ins>/<ins class="diffchange diffchange-inline">conf</ins>/<ins class="diffchange diffchange-inline">resin</ins>.<ins class="diffchange diffchange-inline">conf to </ins>/<ins class="diffchange diffchange-inline">etc</ins>/resin<ins class="diffchange diffchange-inline">/resin.conf</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 4. Create your database, datasource, and add the driver to <resin_home></del>/<del class="diffchange diffchange-inline">lib</del>/local</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Edit /etc/resin/resin.conf to change the host-deploy directory:</ins><<ins class="diffchange diffchange-inline">pre><host</ins>-<ins class="diffchange diffchange-inline">deploy path</ins>="<ins class="diffchange diffchange-inline">/var/www/hosts</ins>"></<ins class="diffchange diffchange-inline">pre</ins>></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Create a virtual host directory for your domain:</ins><<ins class="diffchange diffchange-inline">pre</ins>>/<ins class="diffchange diffchange-inline">var/www/hosts/blog.example.com/webapps/ROOT</ins></<ins class="diffchange diffchange-inline">pre</ins>> <ins class="diffchange diffchange-inline">(in this example, the domain is blog</ins>.<ins class="diffchange diffchange-inline">example</ins>.<ins class="diffchange diffchange-inline">com)</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 5. Tell Quercus about this php app:  Create a WEB</del>-<del class="diffchange diffchange-inline">INF folder and put this content inside a web</del>.<del class="diffchange diffchange-inline">xml file:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Unzip WordPress and copy all files and directories to /var/www/hosts/blog</ins>.<ins class="diffchange diffchange-inline">example</ins>.<ins class="diffchange diffchange-inline">com</ins>/<ins class="diffchange diffchange-inline">webapps/ROOT</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Create the WordPress database: </ins><<ins class="diffchange diffchange-inline">pre</ins>><ins class="diffchange diffchange-inline">mysql -u root</ins></<ins class="diffchange diffchange-inline">pre</ins>><ins class="diffchange diffchange-inline"><pre>mysql> CREATE DATABASE wordpress;</ins></<ins class="diffchange diffchange-inline">pre</ins>></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> <web-app xmlns="http:</del>//<del class="diffchange diffchange-inline">caucho</del>.<del class="diffchange diffchange-inline">com</del>/<del class="diffchange diffchange-inline">ns</del>/resin<del class="diffchange diffchange-inline">"></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Download MySQL Connector/J 5.1.</ins>6 <ins class="diffchange diffchange-inline">(http</ins>://<ins class="diffchange diffchange-inline">dev</ins>.<ins class="diffchange diffchange-inline">mysql.com</ins>/<ins class="diffchange diffchange-inline">downloads</ins>/<ins class="diffchange diffchange-inline">connector</ins>/<ins class="diffchange diffchange-inline">j</ins>/<ins class="diffchange diffchange-inline">5</ins>.<ins class="diffchange diffchange-inline">1.html) </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del><<del class="diffchange diffchange-inline">servlet</del>-<del class="diffchange diffchange-inline">mapping url-pattern</del>="<del class="diffchange diffchange-inline">*.php" servlet-class="com.caucho.quercus.servlet.QuercusServlet</del>"></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Unzip MySQL Connector/J and place the mysql</ins>-<ins class="diffchange diffchange-inline">connector</ins>-<ins class="diffchange diffchange-inline">java-5</ins>.<ins class="diffchange diffchange-inline">1.6</ins>-<ins class="diffchange diffchange-inline">bin</ins>.<ins class="diffchange diffchange-inline">jar in </ins>/<ins class="diffchange diffchange-inline">var</ins>/<ins class="diffchange diffchange-inline">www/hosts/blog.example.com</ins>/webapps/<ins class="diffchange diffchange-inline">ROOT</ins>/<ins class="diffchange diffchange-inline">WEB</ins>-<ins class="diffchange diffchange-inline">INF</ins>/<ins class="diffchange diffchange-inline">lib </ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> <init></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Run <pre>java </ins>-<ins class="diffchange diffchange-inline">jar </ins>/<ins class="diffchange diffchange-inline">usr</ins>/<ins class="diffchange diffchange-inline">local</ins>/<ins class="diffchange diffchange-inline">share</ins>/resin-3.<ins class="diffchange diffchange-inline">1</ins>.<ins class="diffchange diffchange-inline">6/lib/resin</ins>.<ins class="diffchange diffchange-inline">jar -conf /etc/resin/</ins>resin.<ins class="diffchange diffchange-inline">conf start</ins><<ins class="diffchange diffchange-inline">/pre></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> <compile></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Browse to </ins>http://<ins class="diffchange diffchange-inline">blog.example.com</ins>:8080 <ins class="diffchange diffchange-inline">and set up WordPress according to the online directions</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> false</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></<del class="diffchange diffchange-inline">compile</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del><<del class="diffchange diffchange-inline">database</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> jdbc</del>/<del class="diffchange diffchange-inline"><your-dsn></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></<del class="diffchange diffchange-inline">database</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> <php-ini SMTP="smtp</del>.<del class="diffchange diffchange-inline">your-isp</del>.<del class="diffchange diffchange-inline">ca" sendmail_from="your@email</del>.<del class="diffchange diffchange-inline">address</del>.<del class="diffchange diffchange-inline">ca"</del>/<del class="diffchange diffchange-inline">></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del><<del class="diffchange diffchange-inline">/init</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></<del class="diffchange diffchange-inline">servlet-mapping</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></<del class="diffchange diffchange-inline">web-app</del>></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>6<del class="diffchange diffchange-inline">. Fix WordPress problems - 2 current issues</del>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Fix, the first:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Remove the trailing '-' on line 101 of </del>/<del class="diffchange diffchange-inline">webapps</del>/<del class="diffchange diffchange-inline">wordpress/wp-includes/functions-formatting</del>.<del class="diffchange diffchange-inline">php :</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>/<del class="diffchange diffchange-inline">webapps</del>/<del class="diffchange diffchange-inline">wordpress</del>/<del class="diffchange diffchange-inline">wp-includes</del>/<del class="diffchange diffchange-inline">functions-formatting</del>.<del class="diffchange diffchange-inline">php:102:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del>-<del class="diffchange diffchange-inline">$text is an invalid left</del>-<del class="diffchange diffchange-inline">hand side of an assignment</del>. <del class="diffchange diffchange-inline">in</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> functions</del>-<del class="diffchange diffchange-inline">formatting</del>.<del class="diffchange diffchange-inline">php:101: $text = preg_replace('</del>/<del class="diffchange diffchange-inline">&([^#])(?![a-z1-4]{1,8};)</del>/<del class="diffchange diffchange-inline">','&#038;$1', $text);-</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Fix, the second:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> Open the file </del>/webapps/<del class="diffchange diffchange-inline">wordpress</del>/<del class="diffchange diffchange-inline">wp</del>-<del class="diffchange diffchange-inline">includes</del>/<del class="diffchange diffchange-inline">class-snoopy.php</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> and re</del>-<del class="diffchange diffchange-inline">save it as UTF-8 if it is not already in UTF-8.  (Required for Mac OS X, as the file opens </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> as "Western (Mac OS Roman)" by default).</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 7. Start the Resin snapshot and run the installation wizard </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> <http:</del>//<del class="diffchange diffchange-inline">localhost:8080</del>/<del class="diffchange diffchange-inline">wordpress</del>/<del class="diffchange diffchange-inline">wp-admin/install.php>.  </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> You'll see numerous exceptions where WordPress is looking for a table that doesn't exist.  These will </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> continue throughout the wizard then stop forever once you're all set up.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 8. Shut down the Resin snapshot and move your webapp to </del>resin-3.<del class="diffchange diffchange-inline">0</del>.<del class="diffchange diffchange-inline">19</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline"> 9</del>. <del class="diffchange diffchange-inline">Start </del>resin<del class="diffchange diffchange-inline">-3</del>.<del class="diffchange diffchange-inline">0.19 and visit your blog:  </del><http://<del class="diffchange diffchange-inline">localhost</del>:8080<del class="diffchange diffchange-inline">/wordpress/></del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
</table>
Emil