Bootstrap Ubuntu Server 8.10 Intrepid 64-bit
Published: February 14, 2009 (almost 9 years ago)
Updated: almost 3 years ago
This post covers getting the basic Ubuntu Server 8.10 Intrepid up and going and ready for further configuration (such as Ruby on Rails, or MySQL Server, or Bind 9, etc.).
- Ubuntu Site: http://www.ubuntu.com
- ISO Image: ubuntu-8.10-server-amd64.iso
If you’re new to my bootstrapping series, please see Bootstrapping my blog for some background information.
Install the OS
No need to beat a dead horse to death. If you need instructions for installing Ubuntu, then please follow Ubuntu’s most excellent guides for installing Ubuntu Server. For my purposes, I install everything to default choices, only choosing to install OpenSSH Server (and no others). Everything else is simply supplying the simple information requested at each prompt in order to get me to the bootstrapping stage most directly.
Once the OS is installed and boots for the first time, log in and run the following:
1 sudo apt-get install git-core 2 git clone git://github.com/mwlang/bootstrap-scripts.git 3 cd bootstrap-scripts/ubuntu/intrepid 4 sh bootstrap.sh
This will install the prerequisite git commands and check out the bootstrap-script repository and then run through upgrading the Ubuntu server and install the build-essentials.
That’s it! You can now return to the article that brought you here.
Nice, but what is this all about?
Bootstrapping is just that. Getting the bare minimum components installed so that you can proceed to do more complicated tasks. Rather than writing things over and over, I scripted them and checked them into git repository and then refer to them, hopefully much to your gain (as well as my sanity).
Depending on where you want to go with your server instance, you can run any of the other bootstrap scripts in the folder. For example, to install Ruby 1.8.7 from packages (not source) and install Apache2 and Passenger and Rails, run the following script:
1 sh bootstrap-passenger-std.sh
You’ll need to hit the key a couple of times when passenger’s installer runs, but otherwise, should run start-to-finish, installing everything without any further action on your part to get a fully functioning Apache2 + Passenger + MRI Ruby 1.8.7 + Rails stack installed.
Be careful, though. I didn’t put any dependency checks around these scripts. Its fairly safe to run any of the bootstrap-XXX.sh scripts without running anything else (these scripts do call the main bootstrap.sh script listed above). But several scripts, such as rails.sh do indeed have prerequisites and you will have issues running these out of order. Also, bootstrapping is targeting specific outcomes. Don’t expect to run one bootstrap-XXX.sh script and then run another. They are very likely to collide with undesirable outcomes.
Documentation will be fairly sparse in the git repository, with the intent to spell things out in the accompanying blog articles.
a.k.a. Code Connoisseur
- [email protected]
- ICQ ‐ 25239620
- AIM ‐ mwlang88
- Yahoo! ‐ mwlang88
- Google ‐ mwlang
- Twitter ‐ @mwlang88
EducationBachelor of Science
Information and Computer Science
- On Hiring Good People
- Week Five in the Gym
- The True Power of the Internet
- Rekindling a desire to workout consistently
- I'd Rather Eat my Britches than Do This
- Mold Killer Recipe
- Gonna be Starting Something New
- Pitch Camp, what is it good for?
- Less communication can be more
- Let the Musings Begin
- Working on a Referral Pre-Launch Site
- Making Commitments, Reaching Out
- Preparing for Countdown
- Ground Zero
- A Reflection of the Technologies Built Things With
- Dynamic Routing in Rails Revisited
- Creating Dynamic Routes at runtime in Rails 4
- Adding Google Analytics script to Sprockets
- Gems you should consider for every Rails projects
- Weak Password will get you Hacked!
- Status updating...