0

I am new to LAMP as well as capistrano and I am totally confused how to start deploying a LAMP application with capistrano. I could find the solution Rails App and git but that is not working in my case using php and svn. I am getting following error while executing deploy setup command: (Errno::ECONNREFUSED: Connection refused - connect(2)).

Thanks in Advance!

Ruhi Singh
  • 176
  • 2
  • 15
  • Are you sure your meant `LAMP` ? – Peon Jan 30 '13 at 10:52
  • I am able to resolve this issue. It was due to SSH account. I used following command "sudo apt-get install openssh-server" to resolve it. But now I need to understand how I can provide a particular commit revision number to deploy. – Ruhi Singh Feb 01 '13 at 05:32
  • @ Dainis Abols: I might be wrong what I exactly meant as I told I am totally new, but I am working on PHP, MySql and Apache application which I need to deploy using capistrano. – Ruhi Singh Feb 01 '13 at 05:37
  • To deploy a specific SHA: http://stackoverflow.com/questions/918011/how-do-i-target-a-specific-commit-sha-with-capistrano-deploy – CDub Feb 06 '13 at 15:32

1 Answers1

0

I am able to resolve this issue. It was due to SSH account. I used following command "sudo apt-get install openssh-server" to resolve it.

Ruhi Singh
  • 176
  • 2
  • 15