Update your Debian based distributions in one step

I cannot stress enough how important is to update your operating system. There are millions of reasons why to do it, and they are all pro, starting with security issues, stability of the system itself, feature upgrades and so on. Your operating system is like a plant; you need to water it on a daily basis and protect it from various parasites so it can grow and continue to be beautiful. This article will describe how to do your “tending and watering” with a help of a single script and all in one shot.

Introduction

Update your system! Right now, and make a habit of doing it. And do it at least once a week. You will be happy and your system will be grateful.

There are several ways you can update your operating system. If running a Desktop, there are a variety of GUI tools which can perform the task. Tools like Synaptic, Software Center, Kpackage, GNOME Software and so on. On server installations, there are no GUI tools, so you will use CLI tools like apt, apt-get, or aptitude which actually has a basic GUI and is also my preferred update tool.  Continue reading “Update your Debian based distributions in one step”

Preseed – automating Debian based installations

Any of you out there who at least once installed a piece of software on one of many available Debian based distributions encountered a situation where installer asks you a question which requires an answer needed to complete the installation. That may be a username, password, IP address and so on. With one installation, it’s not a problem to manually input answers, but imagine you have 100 or more machines which require installation of same package an you have to manually input answers for each one. It’s a terrible waste of time, and it can be avoided with preseed.

Prerequisites

Other than Debian, preseed can be used with any Debian based distribution out there, like Ubuntu, Mint, Elementary OS etc.

Preseed concept saves time! And time saving is something what every good system administrator values most. With that in mind, I will try to make this guide as short as possible. As stated above, lets imagine we have a few machines where we need to install same software packages. To generate a preseed file, we will use our first machine, and for that we will need a debconf-utils package. Once file is generated, we will use it as an answer input on all other machines. Continue reading “Preseed – automating Debian based installations”

Ubuntu 16.04 initial customization

This guide will demonstrate how to customize a minimal Ubuntu installation which I showed you how to create in my previous tutorial Ubuntu 16.04 Minimal Install. Minimal installation of Ubuntu alone is pretty much useless as it contains no installed software, other than basic packages required for Ubuntu to run. This guide will show you a few basic system tweaks and we will also install some software. In the end, as a whole, you will have a good foundation for you future projects.

Prerequisites

You can get a VMDK virtual machine image of Ubuntu minimal installation in Downloads section of this site.

You will need a minimal installation of Ubuntu, which I explained how to create in my previous tutorial Ubuntu 16.04 Minimal Install. A basic knowledge of Linux command line and commands is also desirable, although not required. This guide contains enough details for you to only copy, paste n’ execute everything and it will work (tho this is not a proper approach).  Let’s start! Continue reading “Ubuntu 16.04 initial customization”