How to install a minimal Debian server – TechRepublic

Register for your free TechRepublic membership or if you are already a member, sign in using your preferred method below.
We recently updated our Terms and Conditions for TechRepublic Premium. By clicking continue, you agree to these updated terms.
Invalid email/username and password combination supplied.
An email has been sent to you with instructions on how to reset your password.
By registering, you agree to the Terms of Use and acknowledge the data practices outlined in the Privacy Policy.
You will also receive a complimentary subscription to TechRepublic’s News and Special Offers newsletter and the Top Story of the Day newsletter. You may unsubscribe from these newsletters at any time.
Username must be unique. Password must be a minimum of 6 characters and have any 3 of the 4 items: a number (0 through 9), a special character (such as !, $, #, %), an uppercase character (A through Z) or a lowercase (a through z) character (no spaces).
How to install a minimal Debian server
Your email has been sent
Debian is an ideal operating system that can easily meet your data center needs. Jack Wallen walks you through the process of setting up a minimal Debian server.
I talk a great deal about using Ubuntu Server as your platform of choice for many a data center need. That particular operating system isn’t the only option. In fact, there’s always the OS Ubuntu is based on. That’s right, I’m talking about Debian.
Debian is a rock solid Linux distribution that offers a similar level of user-friendliness found in Ubuntu. I want to walk you through the process of installing a minimal server installation of this particular platform. There are quite a few more steps than found in a similar Ubuntu Server installation; that being said, the installation isn’t terribly challenging.
Instead of using the normal Debian Stretch ISO image, we’ll be working with the Debian netinstall image. This includes a minimal amount of packages, so you can then install precisely what you want.
Because there are so many steps, I will only show screenshots of those that are important to this particular setup. All others, I will simply mention.
I will be demonstrating the Debian minimal installation by way of a VirtualBox VM. If you plan on running this installation on dedicated hardware, you’ll need said hardware, as well as the means to boot into the Debian installer. This can be done by either burning the ISO onto a CD or DVD, or creating a bootable USB drive (with the help of, say, Unetbootin, or Multiboot USB).
See: How to create a bootable USB drive with multiple Linux distributions
Once you have everything necessary, either boot up your virtual machine or your hardware, and start with the installation.
The first screen you will see (Figure A), requires you to select an installation type. I’m going to go with the non-graphical option (choose Install).
Figure A
The next two screens require you to select a location and keyboard. Since this is a curses-based installation, make your selection with the cursor keys on your keyboard, tab down to select Continue, and hit Enter on your keyboard. Make these choices, based on your needs, and continue on.
Next we have to configure the hostname and domain name. These are done on two different screens. The domain does not have to be an FDQN. If you’re installing this for testing or internal purposes, the domain (Figure B) could be something like debianvm.lan.
Figure B
The next screens require you to set a root user password, and then create a new user. Following that, configure your timezone.
It’s now time to partition the disk. Fortunately, Debian includes an autopartioner, so you can select one of the three different “Guided” choices (Figure C).
Figure C
The next screens require you to:
The next screen is only found in the netinstall. The installer will have scanned the entire installation media, and then ask if you want to scan another CD or DVD (Figure D). Tab to No and hit Enter.
Figure D
Now we’re going to configure the package manager. The first screen asks you to select a country for the mirror. Select your country and then the mirror for your country (such as ftp.us.debian.org) from the list. In the next screen, configure a proxy (if applicable).
You will then be asked if you want to participate in a user survey. You can tab to No and hit Enter on your keyboard to bypass this.
Finally we reach the package selection section (Figure E). Using the cursor keys, navigate to the packages you want to install and tap the spacebar to select.
Figure E
As I am only installing a minimal web and SSH server, I will unselect the desktop environment, select web server and SSH server, and tab to continue. When the packages finish installing, which won’t take much time, you then must configure the GRUB boot loader. Select Yes for installing the bootloader (Figure F), and then in the next screen, configure where the bootloader should live.
Figure F
Once the bootloader is installed, you’ll be prompted for reboot and your installation is complete. You can now log into your Debian minimal server and begin developing it to perfectly suit your needs.
When deciding on a platform to be used in your data center, you’d be remiss in not considering Debian. This outstanding open source operating system is very stable, robust, and ready to serve. Give it a try and see if it doesn’t fit in perfectly with your data center.
How to install a minimal Debian server
Your email has been sent
Your message has been sent
TechRepublic Premium content helps you solve your toughest IT issues and jump-start your career or next project.
These 11 cloud-to-cloud solutions back up your organization’s data so you’ll be covered in the event of deletions, malware or outages. Compare the best online cloud backup services now.
You can use a mobile device to speak with another person directly through the Teams app. Lance Whitney shows you how to use this handy feature.
A phishing technique called Browser in the Browser (BITB) has emerged, and it’s already aiming at government entities, including Ukraine. Find out how to protect against this new threat.
With so many project management software options to choose from, it can seem daunting to find the right one for your projects or company. We’ve narrowed them down to these nine.
Start-ups, DARPA and Accenture Ventures announce research partnerships, new hardware and strategic investments.
Procuring software packages for an organization is a complicated process that involves more than just technological knowledge. There are financial and support aspects to consider, proof of concepts to evaluate and vendor negotiations to handle. Navigating through the details of an RFP alone can be challenging, so use TechRepublic Premium’s Software Procurement Policy to establish …
Recruiting a Security Analyst with the right combination of technical expertise and experience will require a comprehensive screening process. This hiring kit from TechRepublic Premium includes a job description, sample interview questions and a basic want ad that you can customize for your business to find, interview, recruit and hire the best candidates for a …
Recruiting a DevOps engineer with the right combination of technical expertise and experience will require a comprehensive screening process. This hiring kit from TechRepublic Premium includes a job description, sample interview questions and a basic want ad that you can customize for your business to find, interview, recruit and hire the best candidates for a …
Video game writing jobs are in demand. Recruiting a video game/quest writer with the right combination of technical expertise and experience will require a comprehensive screening process. This hiring kit from TechRepublic Premium includes a job description, sample interview questions and a basic want ad that you can customize for your business to find, interview, …

source

We will be happy to hear your thoughts

Leave a reply

LINXGO
Logo
Compare items
  • Total (0)
Compare