Quick Install on Linux Systems: One-Command Setup#
If you prefer a faster setup than going through the complete installation guide, you can run the automated installation script instead. It will install TheHive along with all required services and dependencies on a standalone Linux server using predefined settings.
Before you begin
To ensure a smooth installation process, make sure you have:
- A basic understanding of TheHive architecture
- System requirements fully met and verified for script-based installation
- Wget installed
No authentication configured for Cassandra and Elasticsearch
This script doesn't set up authentication for Cassandra or Elasticsearch. For security—especially in production—enable authentication on both services before going live. See the corresponding steps in the installation guide.
Procedure
-
Download and run the script.
wget -q -O /tmp/install_script.sh https://scripts.download.strangebee.com/latest/sh/install_script.sh ; sudo -v ; bash /tmp/install_script.sh
-
Enter the number corresponding to the installation option you want to run.
- 1) Setup proxy settings: Configure the host to operate behind an HTTP proxy and integrate custom Certificate Authorities (CAs) if needed. This ensures secure and compatible communication with external services.
- 2) Install TheHive: Automatically install TheHive, including its required components and dependencies, using predefined and production-ready settings.
-
Press Enter.
-
Once the installation is complete, select the URL shown in the final output to start using TheHive.
-
Perform the initial setup of the application by following the instructions in Perform Initial Login and Setup as an Admin.
If you also want to use the script to install Cortex, refer to the Cortex installation guide for additional details.
Next steps
- Database and Index Configuration
- File Storage Configuration
- TheHive Connectors
- Logs Configuration
- Proxy Settings
- Secret Configuration File
- SSL Configuration
- Service Configuration
- GDPR Compliance in TheHive 5.x
- Hot Backups
- Cold Backups for Physical Servers
- Cold Backups for Virtual Servers
- Monitoring
- Troubleshooting