Installation Debian 9.

Anonim

Installation Debian 9.

The Debian operating system is one of the very first distributions based on the Linux kernel. In view of this, the process of installing many users who have just decided to familiarize themselves with this system may seem complex. In order to do not have problems during it, it is recommended to follow the instructions that will be provided in this article.

After that, the image of the Debian 9 distribution kit is started. After completion, go to the next step of this instruction.

Step 2: Record the image on the carrier

Having a downloaded image on your computer, you need to create a bootable flash drive with it so that later it is launching a computer. The process of its creation can cause many difficulties for an ordinary user, so it is recommended to refer to the instructions on our website.

Read more: Record OS image on a USB flash drive

Step 3: Starting a computer from a flash drive

After you have a USB flash drive on your hands with a DEBIAN 9, you must insert it into the computer port and start it. To do this, log in to the BIOS and make some settings. Unfortunately, universal instructions, but on our site you can find out all the necessary information.

Read more:

Configuring BIOS to run from flash drive

We find out the version of BIOS.

Step 4: Start Installation

The Debian 9 installation begins with the main menu of the setting image, where you immediately need to click on the "Graphical Install" item.

Debian 9 Installer Startup

After that, it comes directly to configure the future system, you need to do the following:

  1. Select the installer language. List in the list and click the "Continue" button. The article will cover the Russian language, you act at your discretion.
  2. Debian 9 Installer

  3. Indicate your location. By default, you are selected from one or more countries (depending on the previously selected language). If there is no needed in the list, click on the "Other" and select it from the list, then click "Continue".
  4. Choice of the country of residence when installing Debian 9

  5. Determine the keyboard layout. From the list, select the language to which it will match by default, and click the "Continue" button.
  6. Selection of keyboard layout when installing Debian 9

  7. Choose hotkeys, after pressing the layout language will change. It all depends on your preferences - which keys you are more convenient to use, those choose.
  8. Selection of hot keys for changing keyboard layout when installing Debian 9

  9. Wait for the process of downloading and installing additional system components. Behind the progress you can follow, depending on the corresponding indicator.
  10. Loading the component of the installer from a CD during installation Debian 9

  11. Enter your computer name. If you are going to use a PC at home, then choose any name and press the "Continue" button.
  12. Entering a computer name when installing Debian 9

  13. Enter the domain name. You can simply skip this operation by clicking the "Continue" button if the computer will be used at home.
  14. Enter domain name when installing Debian 9

  15. Enter the superuser password, then confirm it. It is noteworthy that the password can consist of only one symbol, but it is better to use difficult so that unauthorized persons cannot interact with your system elements. After entering, click "Continue".

    Entering a superuser password when installing Debian 9

    Important: Do not leave the fields empty, otherwise you yourself will not be able to work with system elements that require superuser rights.

  16. Enter the username.
  17. Enter the name of the new user when installing Debian 9

  18. Enter your account name. Be sure to remember it, because sometimes it will serve as a login to access the elements of the system requiring the right of the superuser.
  19. Entering the account name when installing Debian 9

  20. Enter the system password and confirm it, then click the Continue button. It will be necessary to enter the desktop.
  21. Enter a new user password when installing Debian 9

  22. Determine the time zone.
  23. Configuring time when installing Debian 9

After that, the primary configuration of the future system can be considered over. The installer will load the disk markup program and will display it on the screen.

Loading a program for marking discs when installing Debian 9

The following should be directly working with the disk and its sections, which requires a more detailed analysis.

Step 5: Disc markup

The disk marking program will meet you in which you want to select the markup method. Of all you can only allocate two: "Auto - use the entire disk" and "manually". It is worth disassembling more each separately.

Automatic disk markup

This option is perfect for those users who do not want to understand all the subtleties of disc marking. But choosing this method, you agree that all information on the disk will be erased. Therefore, it is recommended to use it if the disk is completely empty or files on it are not important.

So, to place the disc automatically, do the following:

  1. Select "Auto - use the entire disk" and click "Continue".
  2. Selection of the markup method when installing Debian 9

  3. From the list, select the disk where the OS will be installed. In this case, it is only one.
  4. Selection of disk for marking when installing Debian 9

  5. Determine the markup scheme. The choice will be offered three options. All schemes can be characterized by the degree of security. Thus, selecting "Separate sections for / home, / var and / tmp", you will be maximally protected from hacking from the outside. For an ordinary user, it is recommended to choose the second item from the list - "Separate section for / Home".
  6. Selection of markup circuit with automatic disk markup when installing Debian 9

  7. After reading the list of created partitions, select the string to "finish markup and write changes to the disk" and click the "Continue" button.
  8. Ending disk markup in automatic mode when installing Debian 9

After the action proceeds, the system installation process will begin, as soon as it is over, you can immediately begin using Debian 9. But sometimes the automatic disk markup is not suitable for the user, so you have to do it manually.

Hand markup disc

Placing the disk manually well the fact that you yourself can create all the sections that you need, and set up each of them to your needs. To do this, do the following:

  1. While in the Markup Method window, select Manual String and click Continue.
  2. Choosing a disc markup method when installing Debian 9

  3. Select from the list the media to which Debian 9 is installed.
  4. The choice of device to which will be installed Debian 9

  5. Give consent to the creation of a partition table by setting the switch to the "Yes" position and clicking the "Continue" button.

    Creating a new partition table when installing Debian 9

    Note: If partitions were previously created on the disk or you have installed the second operating system, this window will be skipped.

After the new partition table was created, you need to decide which partitions you will create. The article will present a detailed instruction on marking with the average degree of security, which is great for most users. Below you can view examples of other markup options.

  1. Highlight the "free space" string and click on the "Continue" button.
  2. Creating a new section when installing Debian 9

  3. Select in the new window "Create a new section".
  4. String Create a new section in Debian 9 Installer

  5. Specify the amount of memory you want to highlight under the root section of the system, and click the Continue button. It is recommended to indicate at least 15 GB.
  6. Determining the amount of the amount of memory for the section when installing Debian 9

  7. Select the primary type of new partition if, in addition to Debian 9, you are not going to install other operating systems. Otherwise, choose the logical.
  8. Definition of the type of new section when installing Debian 9

  9. Determining the location of the root partition, select "Start" and click "Continue".
  10. Determining the location of the new section when installing Debian 9

  11. Set the root partition configuration similar to the example shown in the image below.
  12. Example of root section settings when installing Debian 9

  13. Highlight the section "Setting the section is completed" and click the "Continue" button.
  14. End of creating a new section when installing Debian 9

Root partition has been created, now create the swap partition. For this:

  1. Repeat the first two items of the previous instruction to start creating a new section.
  2. Specify the amount of memory equal to the volume of your RAM.
  3. As the last time, define the type of section depending on the intended number of sections. If there are more than four, choose "logical", if less is "primary".
  4. If you selected the primary type of partition, then in the next window, select the "End" string.
  5. Twice click on the left mouse button (LKM) on the "Use How" row.
  6. Row to use in Debian 9 Installer when placing disks

  7. From the list, select "Pag" section ".
  8. the choice of the principle of the new partition as swap partition when you install debian 9

  9. Click on the "Configuration of the section Completed" line and click Continue.
  10. Completion of the creation of a paging section when installing Debian 9

The root section and the paging section were created, it remains to create only the home section. To do this, follow the following instructions:

  1. Start creating a section, highlighting all the remaining space for it and determining its type.
  2. Set all the parameters in accordance with the image below.
  3. Example of home section parameters when installing Debian 9

  4. Double click on LMB "Setting section is finished."

Now all the free space of your hard disk must be distributed under sections. On the screen you must see about the following:

The final type of disc marking when installing Debian 9

In your case, the sizes of each section may differ.

On this disk markup is completed, so highlight the string to "finish the markup and write changes to the disk" and click the "Continue" button.

Completing disc marking when installing Debian 9

According to the result, you will be given a detailed report on all changes. If all its points coincide with the actions done by the earlier set the switch to "Yes" and click "Continue".

Report on changes made when placing disks when installing Debian 9

Alternative disk markup options

Above the instructions for the markup of the medium security disk. You can use the other. Who will present two options.

Weak defense (perfectly suitable for beginners who only want to familiarize themselves with the system):

  • Section # 1 - root section (15 Gb);
  • Section # 2 - Switching section (RAM volume).

Maximum protection (for users who plan to use the OS as the server):

  • Section # 1 - the root section (15 GB);
  • Key # 2 - / boot with the option ro (20 MB);
  • Section # 3 - swap (RAM);
  • Section # 4 - / tmp with parameters nosuid, nodev and noexec (1-2 GB);
  • Section # 5 - / val / log with noexec parameter (500 MB);
  • Key # 6 - / home with parameters noexec and nodev (remaining space).

As you can see, in the second case, you must create multiple partitions, but after installing the operating system, you can be sure that no one can penetrate it from the outside.

Step 6: Installation complete

Immediately after the previous instructions to begin the installation of Debian base components 9. This process can take quite a long time.

installing the base system when installing debian 9

Upon its completion, it will be necessary to set a few parameters to complete the full installation of the operating system.

  1. In the first configuration the package manager window, select "Yes", if you have an additional disk with system components, otherwise click "No" and click on the "Continue" button.
  2. scan another disk dvd or cd installation debian 9

  3. Select the country in which it has a mirror system archives. It is necessary to provide high-speed downloading of additional system components and software.
  4. choice of country of residence to determine the mirror when you install debian 9

  5. Define the mirror of the Debian archive 9. The best choice would be «ftp.ru.debian.org».

    Selecting archive mirror when you install debian 9

    Note: If you choose a different country of residence in the previous window, instead of «ru» to address the mirror will display a different region code.

  6. Click "Continue" if you do not intend to use a proxy server, otherwise enter the address in the appropriate input box.
  7. administered proxy server installation debian 9

  8. Wait until the download process and install additional software, and system components.
  9. uploading additional components during installation debian 9

  10. Give your answer to the question of whether you want to have the system on a weekly basis to send anonymous statistics about the distribution developers commonly used packages.
  11. setting popularity contest package installation debian 9

  12. Select from a list of desktop environment that you want to see in your system and additional software. Then click "Continue".
  13. selection of the graphical environment of OS and additional software when you install debian 9

  14. Wait until will be downloaded and installed components are selected in the previous window.

    additional loading on the graphical environment and wasps during installation debian 9

    Note: The progress of the task can be quite long - it all depends on your Internet speed and processing power.

  15. Give permission to install GRUB to the main boot record by selecting "Yes" and clicking "Continue".
  16. Installing the GRUB loader when installing Debian 9

  17. Select the drive from the list, where the GRUB loader will be located. It is important that it is located on the same disk on which the operating system itself is installed.
  18. Selecting a disk to install a GRUB loader when installing Debian 9

  19. Click the "Continue" button to restart the computer and start using the newly installed Debian 9.
  20. Finishing Debian 9

How can I understand, this system is completed on this. After restarting the PC, you will fall in the GRUB bootloader menu in which you want to select OS and press ENTER.

Conclusion

After completing all the above actions, you will watch the Debian desktop 9. If this has not happened, revise all installation manual items and in case of discrepancies with your actions, try to start the installation process of the OS update to achieve the desired result.

Read more