ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing Debian 9.1 minimal

    IT Discussion
    debian 9.1 debian install guide
    11
    34
    7.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      Having a need to install the Ubiquiti UNMS and then reinstall my Ubiquiti UniFi Controller in the last couple days, I decided to tell Ubuntu to go fly a kite.

      Because Ubiquiti tests everything on Ubuntu and has packages for it, I chose Debian 9.1 for my installs.

      First, go download net installation image and move it to your Hypervisor.
      Currently Debian 9.1 can be found here.

      Create your VM and boot to the ISO.

      This guide will choose the Graphical install because it will be more familiar to those who have followed other guides for in the past.
      0_1501690379566_1345eead-5d17-44c7-bc3a-94b2672e8caa-image.png

      Choose your language.
      0_1501690475579_e07b53d5-c51d-4f32-8093-a018d693bc36-image.png

      Choose your location.
      0_1501690643600_910471a6-3736-4f68-a124-c36fbe2ee86e-image.png

      Choose your keyboard.
      0_1501690668608_d66d0af5-de2c-47db-99a9-8fcc50e8bd84-image.png

      Set the hostname.
      0_1501690759574_c6a17eff-c3f1-4019-b918-51c74f75f62b-image.png

      Set the domain name as needed.
      0_1501690818223_6aa70b55-a64a-473e-ab59-42a25719fce8-image.png

      Set the root password.
      0_1501690859086_8fa0353d-a760-4bd9-be6b-db077129c613-image.png

      Create a user account
      0_1501690930296_4ca605d3-f231-413a-8e1c-b9d734fd4b98-image.png
      0_1501690963883_bbaa85b1-00d9-40c5-b0f6-cb0387c29119-image.png
      0_1501690996128_a12c55aa-54f1-44d4-865a-ab8dc854db5d-image.png

      Set the timezone.
      0_1501691032631_02886e0d-93b4-44ca-8c49-8a855013539b-image.png

      Setup the disks. If you know what you are doing, you don't need this guide anyway, so for the rest of us, I always choose Guided - use entire disk and setup LVM.
      0_1501691128949_3a06fedc-313e-4c68-97e3-1ee2da4a513b-image.png

      Select which disks to use. I only have one here.
      0_1501691169391_59381a33-ded5-4da3-b9cc-05bce60fd38f-image.png

      I generally choose the first option to keep it simple. If I am setting up a system that requires a lot of storage, I will generally attach a separate virtual disk later.
      0_1501691266091_6a80e82a-f566-4552-a218-2235cd963afe-image.png

      Tell it to write the changes to disk.
      0_1501691299465_e70aa019-ef1c-41b3-a63a-6eff2be6112b-image.png

      Verify what it is doing is what you think. Note, that Debian 9 uses ext4 by default. You would have to configure manually if you want XFS.
      0_1501691372922_0ec8500d-6251-4582-bfd8-409ee4c6646b-image.png

      Tell it again that yes you know WTF you are doing and to write the changes to disk. Back in the days before virtualization I understand how important these screens were.
      0_1501691432992_5d2d4605-1fd7-411b-96ff-9b35d8f1764f-image.png

      Wait for it to install the base system files.
      0_1501691463214_54d25d74-0dc8-4c2b-b64c-ae59b44e10e0-image.png

      Another legacy of pre-virtualization. Tell it no, we do not need to scan another CD
      0_1501692020042_a800d7fa-0a33-43db-8d1f-22a1c4de2dc8-image.png

      Pick a mirror location regionally close to you for best update speeds.
      0_1501692070009_8216aaf0-e845-4c7a-a107-7b1149897901-image.png
      0_1501692093524_d8ecd9cc-248f-4d12-9a37-d32cde7d756a-image.png

      Add proxy information if needed.
      0_1501692122789_1e8e451c-ad0e-4bce-949a-a11223393910-image.png

      Opt in to statistics if you want.
      0_1501692194094_48f2efc3-e1b4-44b4-bbee-72fce1e7a396-image.png

      Choose your software. By default, Debian desktop environment, print server, and standard system utilities are selected. What a random collection of gunk.
      0_1501692376636_0ddeb68d-ac94-4f31-b90a-4a44118d2432-image.png

      I always unselect everything as I want a minimal install for servers.
      Standard system utilities sounds nice, but why add things I don't need?
      0_1501692402911_5045a214-a27a-4487-ae11-80fda2012b96-image.png

      Tell it to update the boot manager. If you do this on a hypervisor that can setup UEFI, it will ask a slightly different question.
      0_1501692507366_117d0a94-7446-454c-89c0-2b1b8a1ab43f-image.png

      Select your vdisk.
      0_1501692550826_9a86690b-dc29-49bb-999e-ef56de374100-image.png

      If your hypervisor does not auto eject the install media, eject the install ISO and reboot.
      0_1501692606571_59aa46be-1f76-4134-a503-fc07d1283526-image.png

      Log in to your console.
      0_1501692685400_562f45e6-7be3-48ef-816b-85226c4bcf7f-image.png

      Emad RE 1 Reply Last reply Reply Quote 6
      • JaredBuschJ
        JaredBusch
        last edited by JaredBusch

        Now because we unselected all the packages, this system does not even have sudo or ssh installed.

        So first up install those two packages.

        apt-get install sudo ssh -y
        

        Add your non-root user to sudo

        adduser jbusch sudo
        

        Use ip a sh to get your IP address.
        0_1501693181472_56a47a8c-de09-4fd6-ab9c-924ae5c78e79-image.png

        Now you can SSH in as yourself from your own machine to manage everything instead of requiring the hypervisor console.
        0_1501693306093_86ad52ad-d67b-4f11-b7f3-7dc299ec9d54-image.png

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

          JaredBuschJ black3dynamiteB 2 Replies Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch @scottalanmiller
            last edited by

            @scottalanmiller said in Installing Debian 9.1 minimal:

            I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

            You can choose a different install method and should see fewer screens. My guides are not for the advanced users though.

            NashBrydgesN 1 Reply Last reply Reply Quote 1
            • NerdyDadN
              NerdyDad
              last edited by

              Are you using DigitalOceans as UBNT suggests or Vultr?

              JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @NerdyDad
                last edited by

                @nerdydad said in Installing Debian 9.1 minimal:

                Are you using DigitalOceans as UBNT suggests or Vultr?

                My UBNT stuff is on my own server in a colo. If I did not have that, I would have to look at costs to meet specs and decide on a place like Vultr or DO.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @NerdyDad
                  last edited by

                  @nerdydad said in Installing Debian 9.1 minimal:

                  Are you using DigitalOceans as UBNT suggests or Vultr?

                  DO Is double the cost of Vultr!

                  1 Reply Last reply Reply Quote 0
                  • NashBrydgesN
                    NashBrydges @JaredBusch
                    last edited by

                    @jaredbusch said in Installing Debian 9.1 minimal:

                    @scottalanmiller said in Installing Debian 9.1 minimal:

                    I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                    You can choose a different install method and should see fewer screens. My guides are not for the advanced users though.

                    The less advanced users thank you profusely for that.

                    NerdyDadN scottalanmillerS 2 Replies Last reply Reply Quote 2
                    • NerdyDadN
                      NerdyDad @NashBrydges
                      last edited by

                      @nashbrydges said in Installing Debian 9.1 minimal:

                      @jaredbusch said in Installing Debian 9.1 minimal:

                      @scottalanmiller said in Installing Debian 9.1 minimal:

                      I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                      You can choose a different install method and should see fewer screens. My guides are not for the advanced users though.

                      The less advanced users thank you profusely for that.

                      And here I thought that I was one of the few that doesn't know Linux that well. Looks like I am more of the majority than the minority.

                      1 Reply Last reply Reply Quote 2
                      • scottalanmillerS
                        scottalanmiller @NashBrydges
                        last edited by

                        @nashbrydges said in Installing Debian 9.1 minimal:

                        @jaredbusch said in Installing Debian 9.1 minimal:

                        @scottalanmiller said in Installing Debian 9.1 minimal:

                        I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                        You can choose a different install method and should see fewer screens. My guides are not for the advanced users though.

                        The less advanced users thank you profusely for that.

                        I like CentOS' installer. It is just complex enough to do what you need, but clean and simple to make it all go quickly.

                        BRRABillB PenguinWranglerP 2 Replies Last reply Reply Quote 0
                        • BRRABillB
                          BRRABill @scottalanmiller
                          last edited by

                          @scottalanmiller said

                          I like CentOS' installer. It is just complex enough to do what you need, but clean and simple to make it all go quickly.

                          And it's GUI based which is awesome.

                          (slinks back into hiding)

                          travisdh1T 1 Reply Last reply Reply Quote 0
                          • PenguinWranglerP
                            PenguinWrangler @scottalanmiller
                            last edited by

                            @scottalanmiller said in Installing Debian 9.1 minimal:

                            @nashbrydges said in Installing Debian 9.1 minimal:

                            @jaredbusch said in Installing Debian 9.1 minimal:

                            @scottalanmiller said in Installing Debian 9.1 minimal:

                            I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                            You can choose a different install method and should see fewer screens. My guides are not for the advanced users though.

                            The less advanced users thank you profusely for that.

                            I like CentOS' installer. It is just complex enough to do what you need, but clean and simple to make it all go quickly.

                            I do like CentOS' installer, but I like OpenSuse's the best.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @PenguinWrangler
                              last edited by

                              @penguinwrangler said in Installing Debian 9.1 minimal:

                              @scottalanmiller said in Installing Debian 9.1 minimal:

                              @nashbrydges said in Installing Debian 9.1 minimal:

                              @jaredbusch said in Installing Debian 9.1 minimal:

                              @scottalanmiller said in Installing Debian 9.1 minimal:

                              I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                              You can choose a different install method and should see fewer screens. My guides are not for the advanced users though.

                              The less advanced users thank you profusely for that.

                              I like CentOS' installer. It is just complex enough to do what you need, but clean and simple to make it all go quickly.

                              I do like CentOS' installer, but I like OpenSuse's the best.

                              It's pretty close.

                              A 1 Reply Last reply Reply Quote 1
                              • A
                                Alex Sage @scottalanmiller
                                last edited by Alex Sage

                                Deepin installer is nice as well 🙂

                                scottalanmillerS 1 Reply Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller @Alex Sage
                                  last edited by

                                  @aaronstuder said in Installing Debian 9.1 minimal:

                                  Deepin installer is nice as well 🙂

                                  Oh yeah, I forgot about that one. It was very impressive.

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Alex Sage @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in Installing Debian 9.1 minimal:

                                    Oh yeah, I forgot about that one. It was very impressive.

                                    The only problem is there is no option to delete all existing partitions and start fresh... or not one I could find anyways.

                                    I booted into a Mint Live CD and fdisk'ed it from terminal.

                                    1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch
                                      last edited by

                                      FYI, after a clean install, this is the list of packages not installed because the standard option was not selected.

                                      0_1501711061989_361eede9-38f4-4fa4-900e-11398f71026a-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • black3dynamiteB
                                        black3dynamite @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Installing Debian 9.1 minimal:

                                        I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                                        Do you like Debian or distros that makes debian more enjoyable?

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • travisdh1T
                                          travisdh1 @BRRABill
                                          last edited by

                                          @brrabill said in Installing Debian 9.1 minimal:

                                          @scottalanmiller said

                                          I like CentOS' installer. It is just complex enough to do what you need, but clean and simple to make it all go quickly.

                                          And it's GUI based which is awesome.

                                          (slinks back into hiding)

                                          I may be the only one here that likes the tui based CentOS installer better than the default one.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @black3dynamite
                                            last edited by

                                            @black3dynamite said in Installing Debian 9.1 minimal:

                                            @scottalanmiller said in Installing Debian 9.1 minimal:

                                            I'm liking Debian more and more as I use it. However the install process has a ridiculous number of screens.

                                            Do you like Debian or distros that makes debian more enjoyable?

                                            I like Debian itself and its logical standards. Not sure that any other distro makes it more enjoyable 🙂

                                            black3dynamiteB 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post