meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| installation [2023/02/04 21:32] – created - external edit 127.0.0.1 | installation [2025/11/18 14:11] (current) – clarify docker wrongecho | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | * [[https:// | ||
| + | * Some packages: [[https:// | ||
| + | * Familiarity with the Linux shell | ||
| + | * A little patience and willingness to troubleshoot when things go wrong | ||
| - | ===== Security message ===== | ||
| - | * This project is currently in **Beta** with many ongoing changes | + | ====== Choose your Installation Method ====== |
| - | * The current fast pace of development/ | + | ITFlow is written in PHP and works best on Apache with MariaDB as the back-end database. We recommend running ITFlow on Debian using the installation script. |
| - | * **Whilst we are confident the code is safe, nothing in life is 100% safe or risk-free** | + | * **[[installation_script|Installation via Script]] |
| + | * [[installation_apt|Manual Installation on Debian]] | ||
| + | | ||
| + | | ||
| - | * Use your best judgment before storing confidential information in the app | + | // |
| - | * Need to report a security issue? Check the [[https:// | + | {{:itflow-setup.png? |
| - | * **ITFlow comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law** | ||
| - | ===== Install Overview | + | ====== Post-installation essential housekeeping ====== |
| - | ITFlow runs on most " | + | |
| - | - Install a LAMP stack (Linux, Apache, MariaDB & PHP) | + | A few steps to ensure everything stays running smoothly: |
| - | - Create a SQL database, username & password | + | |
| - | - Clone ITFlow (https:// | + | |
| - | - Point your browser | + | |
| - | - Go! | + | |
| - | There' | + | * [[backups|Backups]]: |
| + | * [[cron|Cron]]: For scheduled activities | ||
| + | * [[email_config|Outbound Emails | ||
| + | * [[ticket_email_parse|Inbound Emails - Email to Ticket]]: To parse inbound emails & create/update tickets | ||
| + | * [[config_php|Config.php]]: Check you don't need to add any specific variables (e.g. If you're behind a WAF, or not using HTTPS) | ||
| - | ===== Ubuntu Setup Guide ===== | ||
| - | **Update apt** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Install Apache** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Install MariaDB** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Install PHP** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Install Git & whois** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Harden your Linux installation**. //As a starting point:// | ||
| - | |||
| - | * MariaDB: '' | ||
| - | * UFW: '' | ||
| - | * Consider setting up a web app firewall, like [[https:// | ||
| - | |||
| - | **Enable PHP** //(hint: hit tab after typing php to get a suggested version number)// | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Enable SSL** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Add public/ | ||
| - | * Place public key at: ''/ | ||
| - | * Place private key at: ''/ | ||
| - | |||
| - | **Adjust Apache' | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | **Check Apache config** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Enable the 00-default site** | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Reload Apache Service** to apply the changes | ||
| - | |||
| - | * '' | ||
| - | |||
| - | **Test: HTTP & HTTPS** | ||
| - | |||
| - | * Check you can access the default Apache page using HTTP & HTTPS | ||
| - | |||
| - | **Configure Apache to redirect HTTP to HTTPS** | ||
| - | |||
| - | * '' | ||
| - | * Add the line '' | ||
| - | |||
| - | **Log in to the database** | ||
| - | * '' | ||
| - | |||
| - | **Create a new database for ITFlow** | ||
| - | * '' | ||
| - | * '' | ||
| - | | ||
| - | **Setup a user for the ITFlow app** | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | | ||
| - | **Clone ITFlow to the Apache web directory** | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | | ||
| - | **Set the web folder to be owned by Apache** | ||
| - | * '' | ||
| - | |||
| - | **Set web folder permissions** //(all, for now, we'll change this after setup)// | ||
| - | * '' | ||
| - | |||
| - | **Run through the initial setup by navigating to your web server using HTTPS** | ||
| - | * Provide the database name, username, and password you set up earlier when prompted | ||
| - | | ||
| - | **Once complete, tidy up the webserver permissions** | ||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | | ||
| - | ==== Essential Housekeeping ==== | ||
| - | |||
| - | * [[wiki: | ||
| - | * [[wiki: | ||
| - | * [[wiki: | ||
| - | * [[wiki: | ||
| - | * [[wiki: | ||
| - | |||
| - | **Done!** | ||