Quercus: linode
From Resin 3.0
(Difference between revisions)
m |
m (start resin, iptables) |
||
Line 5: | Line 5: | ||
# Obtain an account from [http://linode.com linode.com] | # Obtain an account from [http://linode.com linode.com] | ||
# Log in to the account and create an Ubuntu image | # Log in to the account and create an Ubuntu image | ||
− | # Log into your linode and install the following packages:<pre>apt-get install ubuntu-minimal ubuntu-standard sun-java6-jdk mysql-server postfix</pre> | + | # Log into your linode and install the following packages:<pre>apt-get install ubuntu-minimal ubuntu-standard sun-java6-jdk mysql-server postfix iptables</pre> |
# Download Resin Open Source [http://www.caucho.com/download]<pre>wget http://www.caucho.com/download/resin-3.1.6.tar.gz</pre> | # Download Resin Open Source [http://www.caucho.com/download]<pre>wget http://www.caucho.com/download/resin-3.1.6.tar.gz</pre> | ||
# Untar Resin into /usr/local/share | # Untar Resin into /usr/local/share | ||
Line 14: | Line 14: | ||
# Untar Drupal in /var/www/hosts/<host-name> | # Untar Drupal in /var/www/hosts/<host-name> | ||
# Create a database for Drupal in MySQL<pre>mysql -u root</pre><pre>> CREATE DATABASE drupal;</pre> | # Create a database for Drupal in MySQL<pre>mysql -u root</pre><pre>> CREATE DATABASE drupal;</pre> | ||
+ | # Start Resin:<pre>java -jar /usr/local/share/resin/lib/resin.jar start | ||
# Browse to your host and configure Drupal as directed. | # Browse to your host and configure Drupal as directed. |
Revision as of 23:19, 14 May 2008
Running Quercus hosted by linode.com
- Obtain an account from linode.com
- Log in to the account and create an Ubuntu image
- Log into your linode and install the following packages:
apt-get install ubuntu-minimal ubuntu-standard sun-java6-jdk mysql-server postfix iptables
- Download Resin Open Source [1]
wget http://www.caucho.com/download/resin-3.1.6.tar.gz
- Untar Resin into /usr/local/share
- Create a link from /usr/local/share/resin to the Resin directory
- Edit /usr/local/share/resin/conf/resin.conf to change the host-deploy directory:
<host-deploy path="/var/www/hosts">
- Create a host directory: /var/www/hosts/<host-name>
- Download Drupal:
wget http://ftp.osuosl.org/pub/drupal/files/projects/drupal-6.2.tar.gz
- Untar Drupal in /var/www/hosts/<host-name>
- Create a database for Drupal in MySQL
mysql -u root
> CREATE DATABASE drupal;
- Start Resin:
java -jar /usr/local/share/resin/lib/resin.jar start