Debian 11 Linux Installation

Oracle Enterprise Linux, Centos Scientific Linux editions are based on Redhat. The RPM
packages, commands etc. they use are commands mostly similar.
Ubuntu and Mint are Debian-based Linux systems. Commands etc. are mostly similar.

You can use any virtualization platform (VirtualBox, VMware workstation/ESX, Proxmox
etc.) for installation. The manual will use VirtualBox (you can download and install it for
free from virtualbox.org. There are versions for both Linux and MS environments).

You can download the debian-11.0.0-amd64-netinst.iso bootable installation image
from the link debian.org/distrib/.

By selecting “Bridge Adapter”, the connection to internet goes through host
computer (desktop / laptop) and it is ensured that it receives IP from DHCP (Dynamic
Host Configuration Protocol) in your environment.
Note: If you are installing in your office, some firewalls may not allow you to obtain an
IP, in this case you cannot access the Internet.
For a solution, you can choose NAT from the “Attached to” tab.

To boot your virtual Debian server from the downloaded ISO file, select the location
of the debian-11.0.0-amd64-netinst.iso file from the “Optical Drive” as
shown and the server boots.

Installation is done by following the steps in the pictures. Since it is a test environment,
not much detail has been given. When installing in the production environment, the
following factors like hosting the system on disks with RAID architecture, IOPS capacity,
mounting the “/var” directory on a different disk, etc. must be taken into account.

Since we are using the ISO that installs over the network/internet, it will need to get
some packages over the internet. So, the network settings need to be adjusted

There are 2 NICs (Network Interface Cards) in the virtual server we set up. The first NIC
will be connected via the bridge. We select Enp0s3 and proceed.

Since it will be a database server, a static IP is given instead of getting an IP from DHCP.

I am on 192.168.134.0/24 network. I give the 61 IP that I determined before.

We give the IP of our modem as the gateway. If you are doing these setups in the
office, you can ask the system administrator for your gateway IP

Here openDNS IPs are used. You can ask your system administrator or use the same IPs.

We have one 100GB disk in our system.

We set the root user password. It’s a good idea to make a note of this password.
(Can be reset if forgotten.)

The system requests an additional username. You can write your own name or admin.

Since it is a test environment, we can use the entire disk capacity. I recommend LVM
because of its ease of management. When there is no space left on the disk, the disk
can be enlarged from the ESX management panel and easily recognized by the system
with LVM..

We give all the capacity to root (/).

We leave it blank as we will not use a proxy.

Let’s choose the SSH server to access it remotely (and of course from your laptop or
desktop computer, which is your host machine). If you can manage Linux systems
without GUI, you may not install “Debian desktop environment” and “Gnome”. While
we were installing, we encountered errors caused by GUI/Gnome software bugs

The installation is complete, we can reboot after unmounting the ISO file.