Setting Up Ubuntu Feisty VPS on Slicehost Part 1

Today I'm focusing on setting up a new VPS at Slicehost. BTW, I'm assuming you're new to Linux. Lets get started.I'm assuming you got an email from Slicehost with the url to manage your new vps. Grab your uid and pwd they sent you and log into your new vps here. Once you've logged in, click on the link that lets you create your new slice. Create a new name for your slice and select Ubuntu Dapper for the distribution. It should take only a couple of minutes before your new vps is setup. Once its done grab the new password Slicehost will show you after your slice has been created and open a command prompt (Terminal or iTerm on Mac OSX, Putty on PC). Note that you should not type in the line numbers below in the code snippets. They are for reference only.Let's login (you'll be prompted for your pwd so have it handy):

CODE:
  1. ssh -l your_username your_ip_address

Now let's change the password to one that is strong but that you can remember. As an aside, I'm a big fan of using a generic algorithm based on a websites url to create my passwords. The algorithm never changes but I'm always creating strong passwords that I can remember. Go to Security Now and listen to episodes 4 and 5. The personal password subject is covered in depth by Steve Gibson and Leo Laporte. It includes details on creating a personal algorithm.Type the following and hit <Enter>. You'll be prompted for your new password.

CODE:
  1. passwd

Now type in each line below and hit <Enter> to update your system to Ubuntu Feisty. Note that some steps may take quiet a while as they install a number of newer packages.

CODE:
  1. sed -e 's/\dapper/ edgy/g' -i /etc/apt/sources.list
  2. apt-get update
  3. apt-get dist-upgrade
  4. apt-get -f install
  5. dpkg --configure -a
  6. reboot

Now lets do the same for Feisty.

CODE:
  1. sed -e 's/edgy/ feisty/g' -i /etc/apt/sources.list
  2. apt-get update
  3. apt-get dist-upgrade
  4. apt-get -f install
  5. dpkg --configure -a
  6. reboot

That's it for today! Next time we'll tackle installing some basic security before we get to installing all the packages we'll need to do some fun developing.

3 Responses to “Setting Up Ubuntu Feisty VPS on Slicehost Part 1”


  1. Gravatar Icon 1 slicematt Jun 4th, 2007 at 9:15 pm

    Thanks Jeff - nice set of instructions. I’ll try and get this on the wiki ASAP.

  2. Gravatar Icon 2 Tim Harper Nov 14th, 2007 at 12:25 am

    Thank you for this wonderful walk-through. I’ve used it twice, and it’s worked like a charm every time.

  1. 1 Securing Your New Ubuntu Feisty VPS Part 2 at Jeff Owens.com Pingback on Jul 15th, 2007 at 3:52 pm

Leave a Reply





June 2007
M T W T F S S
    Jul »
 123
45678910
11121314151617
18192021222324
252627282930  

Categories


Random Photos

  • ethan_moving
    IMG_0077.JPG
    IMG_2051.JPG
    Straight Arm Bar Finishes Me Off


Now Reading

Planned books:

None

Current books:

  • The Consequences of Ideas: Understanding the Concepts that Shaped Our World

    The Consequences of Ideas: Understanding the Concepts that Shaped Our World by R. C. Sproul

  • Born Standing Up

    Born Standing Up by Steve Martin

Recent books:

View full Library