Installing Resin 4 on Amazon Linux 2012.03

From Resin 4.0 Wiki

Revision as of 00:00, 13 August 2012 by Rick (Talk | contribs)
Jump to: navigation, search

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