![]() You can verify this by running the command: sudo systemctl status mariadbįrom the above output, you can see that the MariaDB service is running. mariadb -versionīy default, the MariaDB database engine starts automatically upon installation. You can confirm the installed version of MariaDB as shown. The command installs the specified version of the MariaDB database engine and client, alongside other additional packages and dependencies. sudo apt update & sudo apt install -y mariadb-server mariadb-client sudo add-apt-repository 'deb focal main'įinally, refresh the local repositories and install the MariaDB server and client by using the APT package manager. You may replace this value with the version that you intend to install. The following repository is enabled for the MariaDB version 10.6. Once the GPG key is in place, add the MariaDB APT repository. sudo apt install -y software-properties-common To install the latest version, use the official MariaDB repository.įirst, install the prerequisite package. This installs MariaDB 10.3.24 at the time of penning down this guide. However, the version of MariaDB provided by Ubuntu repositories is not the latest one. sudo apt install mariadb-server mariadb-client -y The installation is straightforward using the PAT package manager as follows. Ubuntu repositories already provide MariaDB packages. To get started, log into your Ubuntu 20.04 server and refresh the local repositories. #Step 1: Install MariaDB by logging into your Ubuntu server Now that we know what MariaDB is, what it is used for, and what prerequisites we need, let’s look at how to install MariaDB on Ubuntu 20.04 server and get you started.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |