|
|
|
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
Here are just the docs, but download the full script from:
Have fun! ![]() Code:
Sciri's totally unsupported Ubuntu 8.04 (Hardy Heron) installer for ServerBeach RapidRescue. sb-install-hardy.sh Version 20080718a Sean Sosik-Hamor <sean@ubuntu.com> http://people.ubuntu.com/~sciri/ Please read and understand this script before executing it! There is very little sanity checking and this script is a pretty awful hack. The only thing I guarantee is that this script will format your hard drives, destroy your data, eat your babies, and overwrite your MBR with fail. ;) Actually, formatting your hard drives is the first thing this script does. Running this script on a live production server is most definitely a career- ending action. Caveats: * 32-bit only (ServerBeach RapidRescue does not support 64-bit) * Only tested on a Dell PowerEdge 440; you're on your own for anything else * It appears that RapidRescue uses a static SSH private key * I enable ufw and only allow connections on port 22; man ufw for more info * Did I mention you should read and understand the script? Usage: Login to MyServerBeach and RapidRescue your system. If you don't know how how to RapidRescue your system then you shouldn't be running this script. Once you login to sbrescue, execute the following: root@sbrescue:/# wget http://people.ubuntu.com/~sciri/src/sb-install-hardy.sh root@sbrescue:/# chmod 755 sb-install-hardy.sh root@sbrescue:/# vi sb-install-hardy.sh Configure this script using your network settings otherwise you'll end up with a really expensive paperweight. root@sbrescue:/# ./sb-install-hardy.sh The initial sb-install-hardy.sh script will overwrite your partition table with sfdisk, format a single drive, debootstrap an ubuntu-minimal install, and prompt you for a root password. For the paranoid, choose a temporary root password due to the fact that sbrescue uses the same static SSH private key for every customer. Reboot, wait a few minutes, SSH to your server as root, and execute the following: root@colo2:~# ./sb-bringup-hardy.sh root@colo2:~# passwd The sb-bringup-hardy.sh script will aptitude an ubuntu-standard install, install enough packages to make the system usable, and do a few things I like for my servers. Once sb-bringup-hardy.sh completes execute passwd to set a real root password, then reboot. Again, read the script and make sure it's doing what you want. Notes: You will be asked two questions about postfix and uswsusp while during the sb-bringup-hardy.sh step. If you don't know how to answer, simply select "No configuration" for postfix and "Continue without a valid swap space" for uswsusp. You can change this later with dpkg-reconfigure.
__________________
Sean Sosik-Hamor / Operational Systems Administrator / Canonical USA
Ubuntu / Linux for human beings / www.ubuntu.com Contact / people.ubuntu.com/~sciri Key: DF25D197 / EBC5 B7FC 567B 2123 E149 937B A1A2 6779 DF25 D197 Last edited by Sean : 2008-07-18 at 16:14 PM. |
|
#2
|
|||
|
Excellent howto and script, making this one sticky to keep it at the top. Thank you so much for sharing this with the rest of us.
__________________
-- Noone drowns at "The Beach" |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|