Installation & Upgrade
Welcome to the DBRunner installation and upgrade page. Follow the steps below to install and upgrade. There are two versions of DbRunner in the repository: beta and stable. You can choose which version to install and then proceed with the installation and upgrade.
Installation
You can follow the steps below to complete the installation process.
Prerequisites
The minimum system requirements are as follows:
- 2 vCore CPU
- 150 GB HDD
- 8 GB Ram
- MariaDB 16
- Oracle linux 8 or RedHat 8
1. Installing Additional Packages
The following packages must be installed on the system for installation:
- mariadb-server: ^10.6
- fontconfig
- curl
- zip
- unzip
- wget
2. MariaDB Installation
Data is stored on MariaDB. Therefore, a minimum of version 16 of MariaDB must be installed locally.
Download MariaDB Server:
https://mariadb.org/download/?t=mariadb&p=mariadb
3. Oracle Client Installation
You can download and install the Oracle Client application from the address below. Do not download the RPM files! Download the Zip files and copy them to the directory /opt/oracle/instantclient on Linux operating systems or C:\instantclient on Windows operating systems.
https://www.oracle.com/database/technologies/instant-client/downloads.html
4. Defining Database Access
The following commands must be run in order to create the database and define access.
CREATE DATABASE dbrunner_db;
ALTER DATABASE `dbrunner_db` DEFAULT CHARSET=utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON dbrunner_db.* TO 'dbrunner_user'@'localhost' IDENTIFIED BY "password";
Database files are located under /var/lib/mysql by default. To do this, you can then define a separate mount point and move the files there.
5. Creating the dbrunner user:
useradd dbrunner
The following lines need to be added to the /etc/security/limits.conf file:
dbrunner hard nofile 40096
dbrunner soft nofile 40096
dbrunner soft nproc 40047
dbrunner hard nproc 16384
6. Installation of the Service
This versiyon is not supported anymore. Please look at updated version.
Upgrade Process
You can easily upgrade DBRunner using the command line. There are two versions in the DBRunner repositories: beta and stable. You can choose which version to install and continue the installation and upgrade process.
- Go to the directory where the DBRunner services are installed. This directory is usually located under the dbrunner home directory.
- Locate the file
upgradeLinux.shorupgrade.shin the directory. - Run this file as the
dbrunneruser as follows. (You may see a message after running the file that tells you to run the same command again. In this case, run the same command again.)
This versiyon is not supported anymore. Please look at updated version.
If the installation process doesn't continue, it probably doesn't have access to the repository addresses. You can try again after verifying access.