meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| installation_apt [2023/07/09 17:42] – created johnny | installation_apt [2025/09/22 23:01] (current) – johnny | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Installation - Local via apt ====== | ====== Installation - Local via apt ====== | ||
| - | ===== Security | + | ===== Security ===== |
| - | * This project | + | * Whilst we are confident in the safety of the code, no system |
| - | * Whilst we're confident | + | * Need to report a security issue? Check the [[https://github.com/itflow-org/itflow/ |
| - | | + | * **ITFlow comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law**. |
| - | + | ||
| - | | + | |
| ===== Install Overview ===== | ===== Install Overview ===== | ||
| - | ITFlow runs on most " | + | ITFlow runs on most " |
| - Install a LAMP stack (Linux, Apache, MariaDB & PHP) | - Install a LAMP stack (Linux, Apache, MariaDB & PHP) | ||
| Line 20: | Line 18: | ||
| - Go! | - Go! | ||
| - | There' | + | There' |
| + | |||
| + | ===== Debian Setup Guide ===== | ||
| + | |||
| + | //This guide assumes you want to install ITFlow to the default ''/ | ||
| - | ===== Ubuntu Setup Guide ===== | ||
| **Update apt** | **Update apt** | ||
| Line 34: | Line 35: | ||
| * '' | * '' | ||
| + | //NOTE: We **highly recommend MariaDB** over MySQL. They are very similar but some pages do not load properly when using MySQL.// | ||
| **Install PHP** | **Install PHP** | ||
| - | * '' | + | * '' |
| **Install Git & whois** | **Install Git & whois** | ||
| Line 43: | Line 45: | ||
| * '' | * '' | ||
| - | **Harden your Linux installation**. //As a starting point:// | + | **Harden your Linux installation** |
| + | |||
| + | //As a starting point:// | ||
| * MariaDB: '' | * MariaDB: '' | ||
| * UFW: '' | * UFW: '' | ||
| + | * Setup [[fail2ban|Fail2Ban]] | ||
| * Consider setting up a web app firewall, like [[https:// | * Consider setting up a web app firewall, like [[https:// | ||
| **Enable PHP** //(hint: hit tab after typing php to get a suggested version number)// | **Enable PHP** //(hint: hit tab after typing php to get a suggested version number)// | ||
| - | * '' | + | * '' |
| + | |||
| + | |||
| + | **Adjust PHP File Upload Limits** | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| **Enable SSL** | **Enable SSL** | ||
| Line 64: | Line 77: | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| **Check Apache config** | **Check Apache config** | ||
| Line 105: | Line 118: | ||
| * '' | * '' | ||
| | | ||
| - | **Set the web folder to be owned by Apache** | + | **Set the web folder to be owned by Apache's www-data user** |
| * '' | * '' | ||
| - | |||
| - | **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** | **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 | * Provide the database name, username, and password you set up earlier when prompted | ||
| | | ||
| - | **Once complete, tidy up the webserver permissions** | + | **Once complete, tidy up the webserver permissions** //(The Apache/www-data user needs access to edit files as it self-updates using Git)// |
| - | * '' | + | * '' |
| - | * '' | + | |
| * '' | * '' | ||
| | | ||
| - | ==== Essential Housekeeping ==== | ||
| - | |||
| - | * [[backups|Backups]]: | ||
| - | * [[config_php|Config.php]]: | ||
| - | * [[cron|Cron]]: | ||
| - | * [[email_config|Email Configuration]]: | ||
| - | * [[ticket_email_parse|Email to Ticket]]: To receive inbound ticketing emails | ||
| **Done!** | **Done!** | ||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ==== ITFlow on Windows is unsupported ==== | ||
| + | |||
| + | Whilst it is // | ||