Skip to main content
The kb.sh script downloads and installs the SCANOSS Knowledge Base onto your server. You will be prompted to choose between the full SCANOSS KB and the Test KB.
This script must be run as root or via sudo from the on-premise/install/ directory. Ensure you have completed Install Applications before proceeding.

Running the Script

sudo ./kb.sh
Once executed, you will be presented with the following menu:
SCANOSS KB Installation Menu
----------------------------
1) Install SCANOSS KB
2) Install Test KB
3) Quit

Enter your choice [1-3]:
Select 1 for a full production installation, or 2 to install the Test KB for evaluation or non-production environments.

Background Installation with tmux

The full KB download can take a significant amount of time. To prevent the download from being interrupted by a session timeout, it is strongly recommended to run the script inside a tmux session. Install tmux:
# Debian
sudo apt update && sudo apt install tmux

# CentOS
sudo yum install epel-release && sudo yum install tmux
Run the script inside a tmux session:
# Create and attach to a new session
tmux new-session -s mysession

# Run the script inside the session
sudo ./kb.sh

# Detach from the session (keeps the download running in the background)
# Press Ctrl+B then D

# Re-attach at any time
tmux attach -t mysession

Next Steps

Once the Knowledge Base installation is complete, proceed to Verify Installation.