Installing etcd on Ubuntu

First, you need to download the pre-built binaries from Releases (choose release v3.5.12 or later). Once that’s done, unpack the archive file and add the executable binaries to your path easy peasy! If you don’t know what “path” means, just think of it as a fancy way of saying “where stuff goes on your computer”.

Next up, test if etcd is in your path by running this command: $ etcd –version. This will show you the version number and other cool info about etcd (if you’re into that kind of thing). If it doesn’t work, don’t worry just try again later or consult a professional.

Now installation via OS packages. Disclgoaler: using this method can deliver outdated versions since they are not being automatically maintained nor officially supported by etcd project. So use with caution! There are various ways of installing etcd on different operating systems, but we’re going to focus on Ubuntu for now (because it’s the best).

To install etckeeper (which is a tool that integrates with APT and automatically commits changes to /etc), enter this command in your terminal: sudo apt install etckeeper. This will initialize the repository during package installation, but you can undo this by entering the following command: sudo etckeeper uninit.

The main configuration file for etckeeper is located at /etc/etckeeper/etckeeper.conf and it’s pretty simple just choose which VCS to use (by default, etckeeper uses git) and disable automatic daily commits if you want to.

Finally, scrollback mode in your terminal. This allows you to navigate past output using vi-like commands, so you can easily find what you’re looking for without having to scroll through pages of text. Here are some quick movement commands: h move left by one character; j move down by one line; k move up by one line; l move right by one character; 0 move to the beginning of the current line; $ move to the end of the current line; G moves to the specified line (defaults to the end of the buffer); / search forward; ? search backward; n moves to the next match, either forward or backward.

And that’s it! You now know how to install etcd on Ubuntu using pre-built binaries and OS packages, as well as some handy terminal commands for navigating through output.

SICORPS