Home arrow Ruby-on-Rails arrow Page 2 - Application Deployment

Application Deployment

Before an application can make it onto the Internet, it needs to go into a production environment and be deployed. This multi-part article series will show you how to do this for the Ruby-on-Rails ecommerce application we've been working on. It is excerpted from chapter 12 of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).

Author Info:
By: Apress Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
August 05, 2010
  1. · Application Deployment
  2. · Connecting to the Production Server: SSH
  3. · Installing the Web Server: LightTPD
  4. · Installing the Application Server: Ruby on Rails and FastCGI

print this article

Application Deployment - Connecting to the Production Server: SSH
(Page 2 of 4 )

We will be using Secure Shell (SSH) throughout this chapter to connect to the production machine. If you haven’t installed the SSH server on your production machine yet, you need to do it now before proceeding. Log in to the production server and execute the following command:

$ sudo apt-get install openssh-server

After the installation is complete, you can start the SSH server with this command:

$ sudo /etc/init.d/ssh start

--------------------------------------------* Starting OpenBSD Secure Shell server...

With the SSH server running on the production machine, connect to the production server by executing the following:

$ ssh username@production_server_ip

Note  Originally developed by Tatu Ylönen, SSH is a set of standards and protocols that allow you to establish a secure connection to a remote server. We assume that you have a basic understanding of what SSH is and how it can be used. For more information about SSH, see Wikipedia’s entry on SSH (http://en.wikipedia.org/wiki/Secure_Shell).

You are now ready to start installing the software on your production environment.

blog comments powered by Disqus

- Ruby-on-Rails Faces Second Security Flaw in ...
- Ruby 2.0 Prepped for February 2013 Release
- Why LinkedIn Switched from Ruby on Rails
- Adding Style with Action Pack
- Handling HTML in Templates with Action Pack
- Filters, Controllers and Helpers in Action P...
- Action Pack and Controller Filters
- Action Pack Categories and Events
- Logging Out, Events and Templates with Actio...
- Action Pack Sessions and Architecture
- More on Action Pack Partial Templates
- Action Pack Partial Templates
- Displaying Error Messages with the Action Pa...
- Action Pack Request Parameters
- Creating an Action Pack Registration Form

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials