1. check you've got an up-to-date version of Ruby Gems (i.e. >=1.3.x), e.g.
gem install capistrano
3. create your Capfile
desc “List files on server”
task :ls, :hosts => “myhost.com” do
4. and run with:
(if you need to set a username, use:
set :user, “your user”
task :ls … etc…
OR just add it into the hostname, e.g.
5. list tasks with
(assuming you've got a description for each task)
Capistrano requirements – you must:
– use SSH to connect to your remote machines and
– be reasonably familiar with Ruby
And if you're implementing Capistrano for PHP: