MODULE
Setup the instance
Create Amazon Cloud EC2 Instance & Login with Putty Tutorial
A tutorial on setting up an instance on amazon ec2
Create Amazon Cloud EC2 Instance & Login with Putty Tutorial
Duration (m)
-+

Step 1: Provision a new Server (On AWS, Linode, DIgital ocean.. etc) - You need a server and access to the terminal to be able to run any of these commands.

You can SSH into the server by typing "ssh root@SERVERIP" and using the password chosen while creating the server.

Step 1: Provision a new Server (On AWS, Linode, DIgital...

Setup the hostname

Type the following commands into the terminal:
echo "future" > /etc/hostname hostname -F /etc/hostname
Setup the hostname Type the following commands into the terminal:echo...

Set the fully-qualified domain name

Set the FQDN of the server by making sure the following text is in the /etc/hosts file:

    127.0.0.1          localhost.localdomain   localhost
    127.0.1.1          ubuntu
    <your server ip>   future.<your domain>.net       future

It is useful if you add an A record that points from some domain you control (in this case I used “future.<your domain>.net”) to your server IP address. This way, you can easily reference the IP address of your server when you SSH into it, like so:

ssh future.<your domain>.net
Set the fully-qualified domain name Set the FQDN of the server by...

Update the server

Check for updates and install:

aptitude update
aptitude upgrade
Update the server Check for updates and install: aptitude update...
Next: Setup Firewall & Security