![]() You can either transfer the image and mount it directly or burn it into a DVD and use the DVD drive and connect it to the server. ![]() Firstly, we have to download the CentOS 7 DVD ISO image from the nearest CentOS mirror site, under “isos” directory: $ wget Some of the dependencies are needed to be satisfied during the installation and one way to achieve this easily is by setting up the offline yum repository on the database servers. Once downloaded, transfer the packages into all the database servers via USB drive, DVD burner or any network storage connected to the database hosts. If you are looking for older MariaDB packages, look them up in its archive repository here. Otherwise, we would waste a lot of time trying to download/transfer the packages from one host/media to another. To satisfy them all, it’s probably best to mount the operating system ISO image and point the yum package manager to use the ISO image as an offline base repository instead. Some of these packages have dependencies to other packages. The following wget commands would simplify the download process: wget For MariaDB Galera 10.4 and CentOS 7, we need to download the following packages from the MariaDB 10.4 repository: Some of the packages are outdated and for debugging purposes. There are a bunch of packages in this repository but we don’t need them all just to run a MariaDB Cluster. In this example, we downloaded MariaDB version 10.4.13. Make sure you download the exact same minor version for all MariaDB-related packages. ![]() Firstly, go to the respective MariaDB repository that we want to install (in this example, our OS is CentOS 7 64bit): The most time-consuming part is getting all the packages required for our installation. ![]() Consider the following three nodes for this installation: In this blog post, we are going to install a three-node MariaDB Cluster in an offline environment on CentOS hosts. Offline installation is a common practice in a strict and secure environment like financial and military sectors for security compliance, reducing the exposure risks and maintaining confidentiality. However, installation steps and commands are a bit different for offline installation. Most of the installation steps available on the Internet cover the standard online installation, presuming the database hosts are having an active internet connection to the package repositories and satisfy all dependencies. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |