The DBaaSNow OS Prerequisite Check script is a crucial tool designed to validate that your server meets the necessary prerequisites for installing DBaaSNow. This script performs a comprehensive check on various system parameters to ensure compatibility with the DBaaSNow installation requirements. Running this script before installation helps identify any potential issues or missing configurations, ensuring a smoother installation process.
The script performs the following checks:
curl
, wget
, tar
) are installed.dbaasnow
exist.dbaasnow
has the appropriate sudo permissions.Upload the Script to the Server:
scp
or any file transfer method to upload the script to your server.Make the Script Executable:
chmod +x dbaasnow_precheck
Run the Script:
./dbaasnow_precheck dbaasnow
./dbaasnow_precheck targetserver
Review the Output:
The output will contain messages categorized into success and failure. Here’s how to interpret them:
Success Messages: Indicate that the system meets the requirements for that particular check. Example:
- OS Version is supported: Red Hat Enterprise Linux 8.4
- Kernel version is sufficient: 4.18.0-305.el8.x86_64
- Architecture is supported: x86_64
Failure Messages: Indicate that there are issues that need to be addressed before proceeding with the DBaaSNow installation. Example:
- Unsupported OS Version: CentOS Linux release 7.9.2009 (Core)
- Insufficient memory: 8GB
- Directory /opt/dbaasnow is not empty.
Below are sample screenshots of the script's output for both success and failure scenarios: