ServerSetup
Introduction ¶
I’m not going to explain the whole installation process for Ubuntu (there are plenty of muppets out there who have created lots of screen shots for you) just follow the prompts and provide sensible answers when prompted.
The Scripts ¶
Once you have Ubuntu Server installed you can use my scripts. That said, these scripts are tailored to my requirements so don’t get upset if they “break” your system. I suggest you have a read of each script so you can see what it does before you start running them
My scripts will often only run on LTS releases, so right now that means Lucid.
Get the scripts ¶
Login to you new server as a regular user.
Ubuntu Lucid 10.04 LTS ¶
You’ll need ‘bzr’ to grab the scripts.
sudo aptitude install bzr bzr branch lp:~flexiondotorg/+junk/ServerScripts
Base Platform ¶
I configure all servers with the same base platform, regardless of what role each server may have. Consistency is good.
First run the ‘base-config.sh’, this will configure the basic network settings, set the root password and install ‘nullmailer’. Here is an example of how ‘base-config.sh’ should be executed.
Static IP ¶
sudo ./base-config server1 example.org 192.168.1.100 eth0 r00tpa55word
DHCP IP ¶
sudo ./base-config server1 example.org dhcp eth0 r00tpa55word
Now run the ‘base-platform.sh’ script which installs the common applications and configures the system. Just run…
sudo ./base-platform.sh
There, you now have a server platform ready for deploying services on to
Server Roles ¶
Once the ‘base-config.sh’ and ‘base-platform.sh’ scripts have been run, at least once, you can run any of the other scripts in any order you like. The other scripts do assume that the base platform scripts have been run.
References




