Install and set up Linux Debian 7

Linux is an operating system. It allows the configuration and the execution of all other programs on the server. It is available in several distributions including Debian and Ubuntu which deliver the best compromise between simplicity, security and robustness.

This post describes how to install and set up Linux Debian 7 “Wheezy”.

Install Debian

Download and burn the CD image of the latest stable release of Debian available on (link at the top right of the home page).

Plug the server on a local network with an internet connection, then boot the server from the CD. Start the appropriate installation for the server (Install or 64 bit install) and select the English language.

I recommend using a single subdomain as hostname, eg or

Full name for the new user: My Complete Name
Username for your account: mylogin
Partitioning method: Guided - use entire disk
Partitioning scheme: All files in one partition (recommended for new users)
Finish partitioning and write changes to disk
Write the changes to disks? Yes
Choose software to install: None
Install the GRUB boot loader to the master boot record? Yes

Install SSH

SSH (Secure Shell) is a secure communication protocol that allows to interact with a remote server.

apt-get install ssh

Set up the network

The following example sets the IPv4 and IPv6 addresses of the eth0 network. Values given are indicative and may vary depending on the network configuration.

nano /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static # IPv4
iface eth0 inet6 static # IPv6
    address xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
    netmask 64


» Create and configure DNS records for a domain
» Install and set up a web server on Debian or Ubuntu Linux
» Secure a web server on Debian or Ubuntu Linux
» Create and install a firewall on Debian or Ubuntu Linux
» Backup a server on Debian or Ubuntu Linux
» Useful commands for Debian or Ubuntu Linux

Leave a Reply

Your email address will not be published. Required fields are marked *