Capistrano series - Setting up your Slice

So you have your new Ubuntu Gutsy Slice and want to follow the mini series to a fully functional Capistrano and Ruby on Rails stack.

Well, the first thing you need to do is add a new user (you never normally log in as root) and secure the Slice. Then you need to update to the latest packages and install some basic work tools.

Sounds familiar

Indeed, the articles for the setup already exist in the Ubuntu Gutsy section of the articles site.

However, this series is aimed at providing articles in a set order for a common end goal.

Let's go

There are two articles for the base setup of your Slice.

The first one takes you through logging in and creating an administrative user with 'sudo' privileges.

Once done, we'll install an SSH key so we don't have to worry about passwords when we a) log into the Slice and b) use Capistrano to deploy our application.

Nice. Then we'll put up a basic iptables firewall and test it all by logging in as the new user.

[Ubuntu Gusty setup - part 1][]

There's more

Now we've done that and are safely logged in as the main Slice user, there is never a need to log in as root.

Let's carry on and update the Slice to ensure we have all the latest security patches.

Once done, We can pimp the terminal (well, add a bit of colour anyway) and install some essential work packages.

Ubuntu Gutsy setup - part 2


The first time you do this, it may take some time (even a few hours and a few reinstalls) but, hopefully, you will be getting used to the command line and seeing that not only is it very powerful, but it is actually pretty easy to use.

Now we can move on and start to install subversion so we can add version control to our project. PickledOnion.

Article Comments:

srboisvert commented Mon Feb 09 12:13:36 UTC 2009:

Bad link for setup part 1

Want to comment?

(not made public)


(use plain text or Markdown syntax)