BLOG

KB 2745: Installing Debian

How to install Debian so that you can install your Olfeo v6.

Objective

Install Debian in a simple way (netinstall) so that you can install Olfeo v6 for production or for a simple test.

Steps

Step 1

Download the Debian ISO in "netinstall" format: on this page, in the Network Installation CD Images section (usually 150 to 300 MB), click on amd64 and download the file.

Step 2

Launch your installation in your virtualized environment or on a physical machine. See the "supported configuration" page in our installation guide.

Step 3

Perform the installation:

  1. Choice of installation mode: Install
  2. Language selection: French


  3. Machine name: as desired.
  4. Define the domain in which your new server is located.
  5. Enter a "root" password. Keep this password safe.
  6. Confirm the root password.
  7. Create a user account that can be used by Olfeo support for remote assistance.
  8. Enter the username for this new user:
  9. Enter a password for this new user:
  10. Confirm password:
  11. Partitioning disks. Here we will use an entire disk:
  12. Select the disk you want to partition:
  13. Choosing the partition scheme. You are free to create your partitions as you see fit. In our example, we will create a separate /opt/olfeo/chroot/ partition, which we will do now.
  14. We will modify the logical partition located in /home to move it to /opt/olfeo.
  15. We modify the mount point /home: we replace it with /opt/olfeo/chroot:

  16. Finally, apply the changes.
  17. Confirm all information.
  18. The installation is now underway. This may take some time.
  19. Choosing which Debian repository to use.
  20. Select your repository. In our example: ftp.fr.debian.org.
  21. If necessary, enter the proxy server to be used to access the internet. In our example, we do not need one, so we leave it blank.
  22. The installation resumes and the system downloads various packages, asking us to participate in a statistical study. You can participate in this study, but in our case, we decline.
    The last step is very important and allows you to choose the type of machine installed.
  23. Using the space bar:
    • Deselect the Debian desktop environment and the print server.
    • Select the SSH server.
  24. The installation resumes. At the end of the installation, you will be asked to install the GRUB boot program. Accept and continue.
  25. Select the partition on which the system has just been installed.
  26. Once you have completed all these steps, you should receive confirmation that your installation is complete.
  27. The system restarts. It is now correctly installed.
  28. To finalize your installation and be able to remotely control it via SSH, simply modify the configuration of the following file: #>vim.tiny /etc/ssh/sshd_config

    In the # Authentication section, modify the lines to read:

    LoginGraceTime 120 PermitRootLogin yes StrictModes yes Save the changes and restart the service:

    #>/etc/init.d/ssh restart

Validation

You can now connect to this server remotely, either as root or with the user account you created.