1
Jun

Setting Up Ubuntu Feisty VPS on Slicehost Part 1

   Posted by: Jeff Owens   in Linux

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.

Tags: , , , , ,

This entry was posted on Friday, June 1st, 2007 at 8:07 am and is filed under Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 comments so far

 1 

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

June 4th, 2007 at 9:15 pm
Tim Harper
 2 

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

November 14th, 2007 at 12:25 am

One Trackback/Ping

  1. Securing Your New Ubuntu Feisty VPS Part 2 at Jeff Owens.com    Jul 15 2007 / 3pm:

    [...] Register « Setting Up Ubuntu Feisty VPS on Slicehost Part 1 [...]

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment