Quercus: WordPress on Resin 3.1
From Resin 3.0
(Difference between revisions)
(removed support question) |
(Rewrite to modern versions) |
||
Line 1: | Line 1: | ||
[[Category: Quercus]] | [[Category: Quercus]] | ||
− | Running Wordpress 2. | + | =Running Wordpress 2.5.1 on Resin 3.1.6= |
− | + | ||
− | + | ||
− | + | ==Requirements== | |
+ | # MySQL server | ||
+ | # Java 1.5 or higher | ||
+ | ==Quick start== | ||
+ | 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. | ||
− | + | # Download WordPress 2.5.1 from http://www.wordpress.org/download | |
− | + | # Download Resin 3.1.6 from http://www.caucho.com/download | |
− | + | # Unzip Resin 3.1.6 | |
− | + | # Unzip WordPress and copy all files and directories to resin-3.1.6/webapps/ROOT | |
− | + | # Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre> | |
− | + | # Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html) | |
− | + | # 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 | |
− | + | # Run <pre>java -jar resin-3.1.6/lib/resin.jar</pre> | |
− | + | # Browse to http://localhost:8080 and set up WordPress according to the online directions | |
− | + | ||
− | + | ==Full installation== | |
− | + | Follow these instructions if you would like to perform a permanent installation with virtual hosts. Follow the above directions for a quick start evaluation. | |
− | + | ||
− | + | # Download WordPress 2.5.1 from http://www.wordpress.org/download | |
− | + | # Download Resin 3.1.6 from http://www.caucho.com/download | |
− | + | # Unzip Resin 3.1.6 in /usr/local/share | |
− | + | # Copy /usr/local/share/resin-3.1.6/conf/resin.conf to /etc/resin/resin.conf | |
− | + | # Edit /etc/resin/resin.conf to change the host-deploy directory:<pre><host-deploy path="/var/www/hosts"></pre> | |
− | + | # Create a virtual host directory for your domain:<pre>/var/www/hosts/blog.example.com/webapps/ROOT</pre> (in this example, the domain is blog.example.com) | |
− | + | # Unzip WordPress and copy all files and directories to /var/www/hosts/blog.example.com/webapps/ROOT | |
− | + | # Create the WordPress database: <pre>mysql -u root</pre><pre>mysql> CREATE DATABASE wordpress;</pre> | |
− | + | # Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html) | |
− | + | # 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 | |
− | + | # Run <pre>java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start</pre> | |
− | + | # Browse to http://blog.example.com:8080 and set up WordPress according to the online directions | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 15:22, 19 June 2008
Contents |
Running Wordpress 2.5.1 on Resin 3.1.6
Requirements
- MySQL server
- Java 1.5 or higher
Quick start
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.
- Download WordPress 2.5.1 from http://www.wordpress.org/download
- Download Resin 3.1.6 from http://www.caucho.com/download
- Unzip Resin 3.1.6
- Unzip WordPress and copy all files and directories to resin-3.1.6/webapps/ROOT
- Create the WordPress database:
mysql -u root
mysql> CREATE DATABASE wordpress;
- Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)
- 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
- Run
java -jar resin-3.1.6/lib/resin.jar
- Browse to http://localhost:8080 and set up WordPress according to the online directions
Full installation
Follow these instructions if you would like to perform a permanent installation with virtual hosts. Follow the above directions for a quick start evaluation.
- Download WordPress 2.5.1 from http://www.wordpress.org/download
- Download Resin 3.1.6 from http://www.caucho.com/download
- Unzip Resin 3.1.6 in /usr/local/share
- Copy /usr/local/share/resin-3.1.6/conf/resin.conf to /etc/resin/resin.conf
- Edit /etc/resin/resin.conf to change the host-deploy directory:
<host-deploy path="/var/www/hosts">
- Create a virtual host directory for your domain:
/var/www/hosts/blog.example.com/webapps/ROOT
(in this example, the domain is blog.example.com) - Unzip WordPress and copy all files and directories to /var/www/hosts/blog.example.com/webapps/ROOT
- Create the WordPress database:
mysql -u root
mysql> CREATE DATABASE wordpress;
- Download MySQL Connector/J 5.1.6 (http://dev.mysql.com/downloads/connector/j/5.1.html)
- 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
- Run
java -jar /usr/local/share/resin-3.1.6/lib/resin.jar -conf /etc/resin/resin.conf start
- Browse to http://blog.example.com:8080 and set up WordPress according to the online directions