Quercus: Drupal
From Resin 3.0
(Difference between revisions)
(Reformat and update) |
m (preformatted text in list) |
||
Line 18: | Line 18: | ||
# 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 | # 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 | ||
# Create the following resin-3.1.6/webapps/ROOT/WEB-INF/resin-web.xml: | # Create the following resin-3.1.6/webapps/ROOT/WEB-INF/resin-web.xml: | ||
− | + | #:<pre> | |
− | + | #:<web-app xmlns="http://caucho.com/ns/resin"> | |
− | + | #: <welcome-file-list><welcome-file>index.php</welcome-file></welcome-file-list> | |
− | + | #: | |
− | + | #: <rewrite-dispatch> | |
− | + | #: <dispatch regexp="\.(php|gif|css|jpg|png|ico|js)"/> | |
− | + | #: <forward regexp="^/" target="/index.php?q="/> | |
− | + | #: </rewrite-dispatch> | |
+ | #:</web-app></pre> | ||
# Run <pre>java -jar resin-3.1.6/lib/resin.jar</pre> | # Run <pre>java -jar resin-3.1.6/lib/resin.jar</pre> | ||
# Browse to http://localhost:8080 and set up Drupal according to the online directions | # Browse to http://localhost:8080 and set up Drupal according to the online directions |
Revision as of 17:35, 26 June 2008
Running Drupal 6.2 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 Drupal without doing a system-wide installation. Follow the instructions below to perform a system-wide installation.
- Download Drupal 6.2 from http://drupal.org/drupal-6.2
- Download Resin 3.1.6 from http://www.caucho.com/download
- Unzip Resin 3.1.6
- Unzip Drupal and copy all files and directories to resin-3.1.6/webapps/ROOT
- Create the Drupal database:
mysql -u root
mysql> CREATE DATABASE drupal;
- Create the directory resin-3.1.6/webapps/ROOT/WEB-INF/lib
- 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
- Create the following resin-3.1.6/webapps/ROOT/WEB-INF/resin-web.xml:
- <web-app xmlns="http://caucho.com/ns/resin">
- <welcome-file-list><welcome-file>index.php</welcome-file></welcome-file-list>
- <rewrite-dispatch>
- <dispatch regexp="\.(php|gif|css|jpg|png|ico|js)"/>
- <forward regexp="^/" target="/index.php?q="/>
- </rewrite-dispatch>
- </web-app>
- Run
java -jar resin-3.1.6/lib/resin.jar
- Browse to http://localhost:8080 and set up Drupal according to the online directions