Tutorial How to Install Linux Debian 7 (Wheezy)

Debian 7 (Wheezy) Linux more I use for server purposes, be it for Unbound DNS Server, Web Server, Proxy Server, R1Soft Backup Server, etc. In addition to free, stable & powerful; the installation process was easy to use ribet :). Here is a tutorial on how to install Linux Debian 7 (Wheezy). You can follow this tutorial for instalation on bare metal server (dedicated machine) or in virtual machine like VMWare, XenServer or VirtualBox.

PREPARATION

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

Download Debian 7 Wheezy 32-bit
Download Debian 7 Wheezy 64-bit

For other iso version options, please see and download here.

When you have finished downloading, please burn to CD if you plan to install using CD. Or create a USB installer using Rufus or other USB installer installer app, if you plan to install via Flashdisk. If you plan to install on a virtual machine, you do not need to do anything, skip directly to the installation process.

INSTALLATION

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

 

Select “Install” to start installing Debian 7 (Wheezy) Linux.

 

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

 

Next select the state of the location we install Debian 7, this is to facilitate the time setting (hours, days and dates) as well as so that when setting the repository, we can choose the nearest location. Because we are in Indonesia, we will automatically choose Indonesia. Since Indonesia is not in the list, we select “Other”, then choose “Asia”, and select “Indonesia”.

 

For the locale setting, we select “United States”.

 

For keyboard keymap settings, I select “American Keyboard” to make the process faster: D You can select other keymap if you want.

 

Next we enter the process of networking settings. If your network uses DHCP Server, then you can skip directly to the hostname settings below. If you are not using DHCP Server, you are required to manually set the IP address, netmask, gateway & DNS server.

Select “Configure network manually” to start setting up networking on this Debian 7 machine.

 

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

 

For the Netmask column, enter your network netmask. If you do not know or doubt, please check with your network admin. Here I use netmask 255.255.255.0.

Fill your network gateway.

 

Then enter the DNS Server you want to use. You can use local DNS servers, or external DNS servers such as Google Public DNS & OpenDNS.

 

Hostname is sort of a label, which is used to name the server / pc. Enter the hostname to your liking.

 

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

 

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

 

Re-enter the password for the root 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 in certain moments only, such as install software, perform configuration, 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.

 

Next select the time zone according to your region. Because I am in Surabaya (Western Indonesia Time / Time), then I choose “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”. In this option the disk will be formatted, the entire contents of the disk will be deleted, and will automatically create the partition.

You can select “Guided – Use entire disk and set up LVM” if you want to use Logical Volume Manager (LVM) so that later can be resized partisinya. Or “Guided – Use entire disk and set up encrypted LVM” if you want to use an encrypted LVM partition to increase data security. Or if you are an advanced user, can choose “Manual” in order to set the partition as you wish.

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

In the choice of partition scheme, please select “All files in one partition”. If you want to separate folders / home on separate partitions, please select “Separate / home partition”. Or if you want to add system security, can separate folder / home, / usr, / var and / tmp on separate partitions, please select “Separate / home, / usr, / var and / tmp partitions”.
If you are a new user on a Linux system, I recommend selecting the first option only.

Review the partition scheme you selected earlier. If it is ok, select “Finish partitioning and write changes to disk”. If necessary change, select “Undo changes to partitions” and re-select the desired partitioning scheme.

Confirm partition scheme by select Yes and enter. Remember, this step can not be undone.

Next we do the package manager configuration to use the server repository closest to our Debian 7 machine. The closer, the faster the process of updating, upgrading or installing software. Choose “Yes” to start.

Due to the location of my Debian 7 machine in Surabaya, then I select mirror “Indonesia”.

Please select one of the mirror server you want to use.

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

In the GRUB Loader installation option, choose “Yes”.

Debian 7 Linux installation process (Wheezy) is complete. Select “Continue” to restart this Debian 7 machine. Do not forget to remove the CD / unplug the USB installer, so that it can boot via hard drive.

The last step is to log into your newly installed Debian 7 machine, and input the command:

apt-get update && apt-get upgrade

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

NOTE: By default, ssh server is not installed. To be able to remotely use SSH, please install ssh server first with the command:

apt-get install ssh

Similarly Tutorial How to Install Linux Debian 7 (Wheezy), may be useful for you. If you have any questions, please post them in the comments field below.

Leave a Reply

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