From the course: Git for System Administration

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage Linux system config files with etckeeper

Manage Linux system config files with etckeeper - Git Tutorial

From the course: Git for System Administration

Start my 1-month free trial

Manage Linux system config files with etckeeper

- [Instructor] To manage Linux system configuration files, you might just go into the /etc directory and initialize a git repository. There is a problem with this though. As I've mentioned in this course, git does not track metadata, so backing up our configuration files via git might not be ideal. We do have software that helps in this regard. It's called etckeeper, and overcomes this limitation. Etckeeper uses git to track system configurations, but also keeps track of metadata as well as data. For this exercise, we'll install etckeeper from a third-party repository. To do so, we need to install the EPEL yum repository. This is the extra packages for Enterprise Linux. To do so, in a terminal, type in sudo yum -y epel -release, and hit Enter. Type in your password if prompted. Now from the EPEL repository, we'll install etckeeper. Type in sudo yum install -y etckeeper and hit Enter. Once it's installed, type in clear. The configuration file is stored at /etc/etckeeper/etckeeper.conf.…

Contents