52 lines
1023 B
Markdown
52 lines
1023 B
Markdown
# Requirements:
|
|
|
|
This script makes no additional requirments other than the following. The script will automatically install all dependencies and make the additional required system modifications.
|
|
|
|
# Installation:
|
|
|
|
To run this script:
|
|
|
|
1. Use wget to grab the latest version:
|
|
|
|
`wget https://og.codes/oliver/install-scripts/raw/branch/master/graylog/install.sh`
|
|
|
|
2. CHMOD the script to make it executable:
|
|
|
|
`sudo chmod +x install.sh`
|
|
|
|
3. Run the script:
|
|
|
|
`sudo ./install.sh`
|
|
|
|
# Script Process:
|
|
|
|
This script makes the following checks (in order):
|
|
|
|
Checks the script is being run as root.
|
|
|
|
Installs required dependencies.
|
|
|
|
Checks the system meets the minimum system requirements.
|
|
|
|
Disables Huge Pages Support if Enabled (OpenSearch).
|
|
|
|
Sets Maximum File Count (OpenSearch).
|
|
|
|
Adds all required respitory keys & Updates the package index.
|
|
|
|
Adds the OpenSearch user.
|
|
|
|
Installs OpenSearch.
|
|
|
|
Creates required OpenSearch directories & log file. Ensures their permissions.
|
|
|
|
Installs MongoDB.
|
|
|
|
Installs Graylog
|
|
|
|
|
|
|
|
|
|
|
|
|