Installing MySQL on an automation server

The first thing that we need to do is set up a database. In the following steps, we will cover how to install the MySQL database on our automation server, which we created in Chapter 8, Preparing a Lab Environment. Basically, you will need a Linux-based machine (CentOS or Ubuntu) with an internet connection to download the SQL packages. MySQL is an open source DBMS that uses a relational database and the SQL language to interact with data. In CentOS 7, MySQL is replaced with another, forked version, called MariaDB; both have the same source code, with some enhancements in MariaDB.

Follow these steps to install MariaDB:

  1. Use the yum package manager (or apt, in the case of Debian-based systems) to download ...

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.