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.

PREPARATION

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.

INSTALLATION

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:

debian-step-1

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

debian-step-2

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

debian-step-3-choose-other-location

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".

debian-step-4-setting-locale

For locale settings, we select "United States".

debian-step-5-keyboard

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

network-1

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.

network-2

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

network-3

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 255.255.255.0.

network-4

Fill in your network gateway.

network-5

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.

debian-step-6-setting-hostname

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

debian-step-7-setting-domain-name

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.

debian-step-7-password-root

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.

debian-step-9-ulaingi-password-root

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

debian-step-11-settings-user-name

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.

debian-step-10-settings-username-2

Then enter the desired username for the new user.

debian-step-12-setting-user-password

And enter the password for this new user.

debian-step-13-select-time-zone

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)".

debian-step-14-partitions

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.

debian-step-15-select-disk

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

debian-step-16-partition-disk

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.

debian-step-17-review-partition-disk

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.

debian-step-18-confirm-partition

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

debian-step-19-network-mirror

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.

debian-step-20-network-mirror-country

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

debian-step-21-select-mirror

Please select a mirror server that you want to use.

debian-step-22-proxy

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”.

debian-step-23-grub

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

debian-step-24-finish

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.

debian-step-25-login

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.

Share on facebook
Facebook
Share on twitter
Twitter
Share on whatsapp
WhatsApp
Share on telegram
Telegram
Share on email
E-mail

Latest articles:

MongoDB logo
Linux

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

31 Responses

  1. Pingback: finaekka
  2. kk permission.
    I want to ask what is the difference between a Debian desktop installation and a Debian server.
    kk permission please reply:}

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

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