Tutorial How to Install Linux Debian 7 (Wheezy)

Must read:

Ferdian Alfianto

Ferdian Alfianto

Ferdian Alfianto is an Internet enthusiast, Mac Lover; likes using Wordpress, experimenting with Linux (especially Debian and Ubuntu), tinkering with pfSense routers, happy experimenting with LEMP (Linux, Nginx, MariaDB, PHP) and Redis. You can contact me here.

I mostly use Debian Linux 7 (Wheezy) for server purposes, be it for Unbound DNS Server, Web Server, Proxy Server, R1Soft Backup Server, etc. Apart from being free, stable & powerful; the installation process is easy, not complicated :). Here is a tutorial on how to install Linux Debian 7 (Wheezy). You can follow this tutorial for installation on a bare metal server (dedicated machine) or on a virtual machine such as VMWare, XenServer or VirtualBox.


The first step is to download the Debian 7 (Wheezy) installation. I personally prefer to use the standard ISO version. Please download, adjust to the type of server / PC, whether 64 bit or 32 bit. If your server / PC supports 64 bit, it is highly recommended to install the 64 bit version.

For other ISO versions, please view and download here.

After the download is complete, please burn it to a CD if you plan to install using a CD. Or create a USB installer using Rufus or other USB installer maker application, if you plan to install via Flashdisk. If you plan to install on a virtual machine you don't need to do anything, skip straight to the installation process.


First, set the BIOS to boot via CD or USB, according to the type of installation media you choose. Start server / pc, and the screen will appear as below:


Select "Install" to start the Debian 7 (Wheezy) Linux installation.


Select the language you want to use for this Debian 7 installation. I chose English, if you want you can choose Indonesian.


Next, select the country where we install Debian 7, this is to facilitate setting the time (hour, day and date) and so that when setting the repository, we can choose the closest location. Since we are in Indonesia, we will automatically choose Indonesia. Since Indonesia is not on the list, we select "Other", then select "Asia", and select "Indonesia".


For locale settings, we select "United States".


For keyboard keymap settings, I chose "American Keyboard" so that the process is faster: D You can choose another keymap if you want.


Next we enter the networking setup process. If your network uses a DHCP Server, then you can skip directly to the hostname setting below. If you don't use a DHCP Server, you must manually set the IP address, netmask, gateway & DNS server.

Select "Configure network manually" to initiate networking settings on this Debian 7 machine.


In the IP Address field, enter the IP address that you will use. For example, here I am using the IP address


For the Netmask field, enter the netmask for your network. If you don't know or are in doubt, please ask your network admin. Here I use a netmask of


Fill in your network gateway.


Then enter the DNS Server you want to use. You can use a local DNS server, or an external DNS server like Google Public DNS & OpenDNS.


The hostname is something like a label, which is used to name the server / pc. Enter the hostname according to your wishes.


If you use this Debian 7 machine for an online server, you can enter a domain name so that it can be accessed. But if the server is on an intranet (local network), you can enter any name.


Next, please enter the password for root (administrator). Use a strong password & not easy to guess. You can use a combination of letters, numbers, upper or lowercase letters, and special characters.


Re-enter the password for root that you previously entered.


Next is to create a normal user, so that when we work on this machine, not always logged in as root (administrator). Root is only used at certain moments, such as installing software, configuring, etc. By working as a normal user, our Debian 7 machine will be safer from unwanted things. Enter the full name of the user who will use this Debian 7 machine.


Then enter the desired username for the new user.


And enter the password for this new user.


Then select the time zone according to your region. Since I am in Surabaya (WIB / Western Indonesian Time), I chose "Western (Sumatra, Jakarta, Java, West and Central Kalimantan)".


The next step is to create a partition on the hard drive. In the "Partitioning method" option, select "Guided - Use entire disk". At this option the disk will be formatted, the entire disk will be erased, and a partition will be created automatically.
You can select "Guided - Use entire disk and set up LVM" if you want to use the Logical Volume Manager (LVM) so that later you can resize the partition. Or "Guided - Use entire disk and set up encrypted LVM" if you want to use an encrypted LVM partition for added data security. Or if you are an advanced user, you can select "Manual" so you can set the partition as you wish.


Select the disk you want to use for a Debian 7 system.


In the partition scheme options, please select "All files in one partition". If you want to separate the / home folder on a separate partition, please select "Separate / home partition". Or if you want to increase system security, you can separate the / home, / usr, / var and / tmp folders on separate partitions, please select "Separate / home, / usr, / var and / tmp partitions".
If you are new to Linux systems, I suggest choosing the first option only.


Review the partition scheme you chose earlier. If it is ok, select "Finish partitioning and write changes to disk". If you need to change, select "Undo changes to partitions" and select the desired partition scheme again.


Confirm the partition scheme by selecting Yes and enter. Remember, this step cannot be undone.


Next we configure the package manager to use the repository server closest to our Debian 7 machine. The closer it is, the faster the process of updating, upgrading or installing the software. Choose "Yes" to start.


Since my Debian 7 machine is located in Surabaya, I chose the “Indonesia” mirror.


Please select a mirror server that you want to use.


If your Debian 7 machine requires using a proxy server to connect to the Internet, please enter the proxy server's IP address, port, username & password. If you don't use a proxy server, just leave it blank, and select “Continue”.


On the GRUB Loader installation option, select "Yes".


Debian 7 (Wheezy) Linux installation process is complete. Select "Continue" to restart this Debian 7 machine. Don't forget to remove the CD / remove the USB installer, so that it can boot via hard drive.


The final step is to log into the Debian 7 machine you just installed, and enter the command:

apt-get update && apt-get upgrade

This command is to get the latest updates, both security and software.

NOTE: By default, the ssh server is not installed. So that you can remotely use SSH, please first install the ssh server with the command:

apt-get install ssh

Thereby Tutorial How to Install Linux Debian 7 (Wheezy), hopefully useful for you. If you have questions, please post them in the comments column below.


Latest articles:

MongoDB logo

Easy to Install MongoDB on Ubuntu 20.04

This tutorial explains how to install and configure MongoDB Community Edition on Ubuntu 20.04. MongoDB is a free, open-source document database. Belongs to the so-called database family

Related article:

MongoDB logo

Easy to Install MongoDB on Ubuntu 20.04

This tutorial explains how to install and configure MongoDB Community Edition on Ubuntu 20.04. MongoDB is a free, open-source document database. Belongs to the so-called database family