Installing Resin 4 on Amazon Linux 2012.03

From Resin 4.0 Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
test
+
==Fire up an Amazon Instance==
 +
 
 +
 
 +
 
 +
Fire up an Amazon Instance using Amazon Linux 2012.03 (CentOS forked at 5.4 probably closest to CentOS 6 these days). Then [http://caucho.com/resin-4.0/changes/resin-4.0.24.xtp#RPM install Resin as follows using RPM]:
 +
 
 +
 
 +
 
 +
<code> <pre>
 +
 
 +
$ sudo rpm --import http://caucho.com/download/rpm/RPM-GPG-KEY-caucho
 +
$ sudo yum install http://caucho.com/download/rpm/4.0.27/x86_64/resin-pro-4.0.27-1.x86_64.rpm
 +
 
 +
</pre></code>
 +
 
 +
If the above steps confuses you, make sure you go through the Amazon EC2 tutorial and then return to this step ([http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/ tutorial from Amazon WS]).
 +
 
 +
If everything went well, then Resin should be installed. You can test this as follows:
 +
 
 +
<pre>
 +
$ resinctl status
 +
</pre>
 +
 
 +
'''Output'''
 +
 
 +
<pre>
 +
Resin/4.0.27 status for watchdog at 127.0.0.1:6600
 +
 
 +
watchdog:
 +
  watchdog-pid: 1455
 +
 
 +
server 'app-0' : ACTIVE
 +
  password: missing
 +
  watchdog-user: root
 +
  user: resin(resin)
 +
  root: /var/www
 +
  conf: /etc/resin/resin.xml
 +
  pid: 1570
 +
  uptime: 0 days 00h04
 +
</pre>

Revision as of 00:00, 13 August 2012

Fire up an Amazon Instance

Fire up an Amazon Instance using Amazon Linux 2012.03 (CentOS forked at 5.4 probably closest to CentOS 6 these days). Then install Resin as follows using RPM:



$ sudo rpm --import http://caucho.com/download/rpm/RPM-GPG-KEY-caucho
$ sudo yum install http://caucho.com/download/rpm/4.0.27/x86_64/resin-pro-4.0.27-1.x86_64.rpm

If the above steps confuses you, make sure you go through the Amazon EC2 tutorial and then return to this step (tutorial from Amazon WS).

If everything went well, then Resin should be installed. You can test this as follows:

$ resinctl status

Output

Resin/4.0.27 status for watchdog at 127.0.0.1:6600

watchdog:
  watchdog-pid: 1455

server 'app-0' : ACTIVE
  password: missing
  watchdog-user: root
  user: resin(resin)
  root: /var/www
  conf: /etc/resin/resin.xml
  pid: 1570
  uptime: 0 days 00h04
Personal tools
TOOLBOX
LANGUAGES