- 1.Debian11 Overview
- 2.Download Debian installation image
- 3.Debian11 Install
In this article, we will explain how to build a server with Debian, the basis of the user-friendly Linux distribution UBUNTU.
The latest release is Debian 11.5 (codenamed "bullseye").
Released on August 14, 2021 with an update (point release11.5) on September 10, 2022.
2.Download Debian installation image
Debian11 download site https://www.debian.org/
Access the above official website and download "debian-11.5.0-amd64-netinst.iso." which is convenient for setup in an environment connected to the Internet.（Fits on a single CD）
NETINST allows you to download and install the necessary packages from the Internet, so you can use a smaller installer (approximately 391 MB for v11.5.0) than a full installer.
Click through the following screens in order.
Burn the iso image saved above as a boot disk to CD or USB using your favorite writing software.
Change the BIOS so that the PC can boot from the installation disk created above.
Select "Graphical Install."
3.2.Select installation language
Select English and Continue
Select "United States" and click "Continue"
3.4. Keyboard Settings
Configure the keyboard settings for use with the system. Select the keyboard of the language you want to use from the keymap to be used.
3.5. Network Settings
Since a fixed local address cannot be specified at the time of Debian 11 installation, and the network is assumed to be an environment where a DHCP server is running, the IP address setting is done automatically. A fixed IP address can be specified from the command after installation.
3.5.1. Host Name Settings
Set a hostname for your Debian system. By default, "debian" is specified, but you can use any name you like.
3.5.2. Domain name
Sets the domain name. The value can be set arbitrarily. In this case, we will set "korodes.com".
3.6. User and password setup.
3.6.1Setting root password
Sets the password for the system administrator (root user).
Root owns full access rights to the system. Enter the password in the "root password" field displayed on the screen.
3.6.2 General User Settings
Next, set up a general user (non-administrative privileges) to perform non-root operations. Enter the user's real (full) name. huong" is entered.
Enter the password to be set for the user. Enter the same one twice.
3.7. Disk Partitioning
3.7.1 Disk Partitioning
Set up partitioning (logical division) of the disks on which the Debian system will be installed. There are four methods of partitioning
This time we will use "Guided-use entire disk".
3.7.2 Disk Selection
Select the disks to partition; the disks that can be used to install Debian will be displayed. For a single disk, the disk shown will be automatically selected.(In this case, it is installed on VMware Workstation, and the display is different from usual.)
3.7.3 Configure auto-configuration partitions
Select how you want the selected disk to be partitioned. This time, select "All files in one partition (recommended for new users)"; a single partition will consist of only the "/(root)" partition.
3.7.4 Confirmation of writing to disk
A confirmation will appear before partitioning. Select "Yes" if you are sure.
3.8. Base System Installation
3.9. Package Manager Settings
Basic configuration of apt, the package manager used by Debian.
To download packages and information from the Internet with apt, specify the archive mirror or location to download to.
For use in Japan, it is better to choose a mirror with ".jp".
3.9.1 Confirm CD/DVD to be managed by Package Manager
Check the CD/DVD to be used for installation. NETINST is minimally configured and additions are downloaded from the Internet, so "No" is selected here.
The archive mirror is like a CentOS repository and is the destination from which apt will retrieve packages.
Select the closest network location for downloading software from the network.
For systems to be deployed in "Japan", select "Japan".
Select the best location from the Debian archive mirrors located in Japan. Select "ftp.jp.debian.org" at the top of the screen.
3.9.3 Proxy Settings
If you are going through a proxy server to connect to the Internet, configure the proxy server setting information here. Since you will not use it this time, do not configure it and click "Continue".
popularity-contest is a system that provides anonymous statistics on packages used to debian developers.
This function is intended to be used as a reference when designing future debian distribution packages. Please feel free to set "No" or "Yes".
3.11. Software Selection
Since we will not be installing a desktop environment, we will select the following two options
SSH Server Standard System Utilities
Software installation begins.
Install a boot loader if there is only one OS to be installed on the hard disk.
Since no other OS is installed on the hard disk in this environment, select "Yes" for "Do you want to install the GRUB boot loader to the boot drive?" Select "Yes" for "Install the GRUB boot loader to your primary drive?"
Select the bootloader installation location.
Usually, the installation directory is displayed, so there is no need to select it manually. In this case, select "/dev/sda".
When the installation is complete, the "Installation Complete" screen will appear. debian 11 is now installed on your system. Click "Continue" to start the system reboot.
Remove the installation media and reboot after confirming the BIOS to boot from the installed disk (HD, SSD), and a login prompt will appear. This completes the system boot process.