I build a lot of computers. At work I build Windows machines and I build Apple machines and I sometimes build Ubuntu or CentOS machines. By build I mean format the drives, install the operating systems fresh, install a host of paid and free software, run all available updates, and configure the machines for various users. I either touch or oversee all the user machines built depending various circumstances.
At home either for myself, for my friends and family, or for my Linux for Anybody program I build a lot of Ubuntu machines. I do a lot of the same stuff: format the drives, install the operating system, install a host of free software, run all available updates, and configure the machines for various users. Since there are a handful of things I do every time I build an Ubuntu machine I thought I’d put together a post with some helpful links and mild instructions for folks who are building their own Ubuntu machines.
(I do all of these things every time I build a machine. You will find that certain system, such as the PPC architecture, may give you hassle when attempting some of these, but for the most part these should work on all flavors and modern versions of Ubuntu or (perhaps with slight modifications) other forms of Debian based versions.)
First, go get the operating system from the Ubuntu download page. I prefer using the 64 bit version unless my hardware doesn’t support it. If you are not sure, you can always either download both and try to run each from the CD or simply fall-back to the 32 bit as it will work on a 64 bit system.
Once that is installed you will want to run all the available updates and reboot the system. I prefer using the terminal, and since it’s so easy you may as well too. You can call up a terminal in any version of Ubuntu by using the ctrl-alt-T key combination. Then run these commands in order.
sudo apt update
sudo apt upgrade
(You will be asked to invisibly enter your password.)
Once the system has rebooted, you may want to take a moment to install Opera (which is my preferred browser). You can just visit the opera.com and download the latest .deb package and run that on your Ubuntu machine. Just double-click the downloaded .deb package and again invisibly enter your password.
You can install Skype by doing the same thing over at the Skype site (use whatever is for your version of Ubuntu).
One other application I’ve been adding lately is a music player called Clementine. You can read my article (with installation instructions) here.)
A brief and optional note about adding repositories (like the Opera repository): First, I Edit the repository as soon as I added it and put something useful in the Comment field (such as Opera). Also, when you add a repository two entries are generally added. The second is for Source Code. I uncheck the entry for Source Code as I don’t fiddle with any code directly, and as such there is no need for me to scan them every time I run updates. I would consider both of these as good-housekeeping but non-essential.
Regardless, any software you add via its own repository will be updated when you run your updates for the system itself, which is pretty handy.
Next you may want to ensure you are able to ssh into the machine. (If you are not sure, feel free to do this anyway. It could come in handy later.) For whatever reason ssh is not installed by default so here it is.
sudo apt install openssh-server
If you have any plans to use Samba file sharing systems, the step I always forget when I’m setting up the connections is to add the file system support for Samba. May as well do that now.
sudo apt-get install cifs-utils
(Another optional step, in case you need to, remember to enable the Partner’s repository and add the Ubuntu Restricted Extras package.)
Take another moment to reboot. You may consider these two clean up commands as well.
sudo apt autoremove
sudo apt autoclean
That’s the major stuff. After that I might do other things, but this is the stuff that pretty much every machine gets. If I think of more I’ll add it later.
Also, take a look through the comments section for optional additions you might enjoy.
Have fun with that.