Setup Ubuntu Server / Lubuntu 11.10 10.04 9.10 9.04
After you choose to setup an empty box on the cloud (Amazon / Rackspace / Private Machine). I presume you have used Ubuntu Server edition.
For RackSpace users, in the control panel when you setup a new instance, you get an option to choose your favourite linux distro. I recommend ubuntu server LTS (Long Term Support).
For Amazon EC2 users, you also get to choose from a number of distros when you create an EC2 instance. I recommend reading the Amazon EC2 starter guide to setup your cloud https://help.ubuntu.com/community/EC2StartersGuide and getting your EC2 instance from http://cloud-images.ubuntu.com/releases/10.04/release/
![]()
ssh root@123.45.67.89
say yes if fingerprint RSA Key is needed,enter your password;
passwd
this allows you to set your root new password
> apt-get update > apt-get upgrade
this will run loads of install
reboot
wait for reboot and login using ssh… again
> nano /etc/cron.daily/ntpdate > sudo chmod 755 /etc/cron.daily/ntpdate
now to updating time. execute the above statement and save. there are other methods but this method adjusts and prevents time drift
locale-gen en_US.UTF-8
setting local of system
apt-get install build-essential
NOTES:
While you are trying to SSH on to the machine, if you get errors, try this. on YOUR LOCAL MACHINE goto hosts file and delete the hostsrecord; look and delete the line with the same ip and delete it
> nano ~/.ssh/known_hosts