ssh is the first essential tool you will need. The syntax is:
ssh -p <port-num> firstname.lastname@example.org
You can normally omit the -p argument. Since you are on Windows, consider
Once you are on the server, you can set up your directories. One typical
directory tree places all Web stuff in /var/www, so:
Ok, you are good to go. Ctrl+D to exit.
Next, on your Windows box:
c:\some\place\you\develop: gem install capistrano
c:\some\place\you\develop: cap --apply-to myfirstapp
Now read this:
If you are not using Subversion, you will have a much harder, uphill climb.
Finally, back on the linux box, edit (emacs or vim)
/etc/httpd/conf/httpd.conf and stick this at the end:
ProxyPass / http://localhost:10020/
ProxyPassReverse / http://localhost:10020
This will syntax check your apache configuration file. Assuming that's ok:
Now all that's left is to go to the directory where you put your rails app:
mongrel_rails start -p 10020 -e production -d
I probably forgot a few things, but this is a scratchpad version of how I
typically set things up. You'll want to tweak your initialization sequence
so the mongrel restarts at reboot, but that's a subject for another day.
As I said, you chose a complex topic.
Taylor Strait-2 wrote: