Installation Guide
This guide walks you through installing ITSM-NG on your server. The installation process includes checking system requirements, setting up the database, and configuring the application.Prerequisites
Before installing ITSM-NG, ensure your server meets the following requirements:Web Server
- Apache, Nginx, or compatible web server
- URL rewriting support (.htaccess for Apache)
Database
- MariaDB >= 10.0 OR
- MySQL >= 5.6
PHP Requirements
PHP Version: 8.1 or newerITSM-NG leverages modern PHP features and requires PHP 8.1+. Ensure your server has this version before proceeding.
Required PHP Extensions
The following PHP extensions are mandatory:ctype- Character type checkingcurl- HTTP client for external communicationsgd- Image generation and manipulationiconv- Character encoding conversionintl- Internationalization supportjson- JSON data handlingmbstring- Multibyte string supportmysqli- MySQL database connectivitysession- Session managementsimplexml- XML parsingzlib- Compression support
Recommended PHP Extensions
These extensions enhance functionality and performance:apcu- Application cache for improved performanceexif- Enhanced image validation for securityimap- Mail collector and email-based authenticationldap- LDAP/Active Directory authenticationopenssl- Encrypted communication supportsodium- High-performance encryption for sensitive datazipandbz2- Archive handling for plugin installation
System Requirements Verification
During installation, ITSM-NG automatically checks all requirements and displays:- Required dependencies (installation cannot proceed if missing)
- Optional dependencies (installation can proceed with warnings)
- PHP version and extension status
Download ITSM-NG
Get the Latest Release
Download the latest stable release from the official GitHub repository:Visit github.com/itsmng/itsm-ng/releases to browse all available versions.
Install Dependencies
ITSM-NG uses Composer for PHP dependencies and npm for JavaScript assets.Install PHP Dependencies
Run Composer to install required PHP packages:
The
--no-dev flag excludes development dependencies. The --optimize-autoloader flag improves performance.Web-Based Installation
ITSM-NG provides an intuitive web-based installer that guides you through the setup process.Access the Installer
Open your web browser and navigate to your ITSM-NG installation:The installer will automatically detect your server configuration.
Select Language
Choose your preferred language for the installation process and default interface language.
ITSM-NG supports multiple languages. You can change this later in the configuration.
Accept License
Review and accept the GNU General Public License v2.0 (GPL-2.0-or-later).The license text is loaded from the
COPYING.txt file in the installation directory.Choose Installation Type
Select the type of installation:
- Install: Fresh installation (new database)
- Update: Upgrade from a previous version
System Requirements Check
The installer validates your server configuration:Requirements are validated using the
RequirementsManager class:- Validated (green): Requirement is met
- Required (red): Mandatory requirement is missing - installation blocked
- Optional (orange): Recommended requirement is missing - installation can proceed
Database Connection
Configure your database connection:The installer validates:
- Database Host: Hostname or IP address (e.g.,
localhostorlocalhost:3306) - Database User: MySQL user with privileges
- Database Password: MySQL user password
- Connection to database server
- MySQL/MariaDB version compatibility
- User permissions
Database Selection
Choose or create your database:
- Select Existing Database: Choose from available databases (displays table count and last update)
- Create New Database: Enter a name for a new database
- Database name
- Number of tables
- Creation date
- Last update date
For a fresh installation, creating a new database is recommended to avoid conflicts.
Database Initialization
The installer performs the following operations:
-
Security Key Generation: Creates a cryptographic key for data encryption
-
Configuration File: Creates
config/config_db.phpwith database credentials -
Database Schema: Imports the base schema from
install/mysql/glpi-empty.sql -
Default Data: Populates initial data including:
- Default profiles (Super-Admin, Admin, Technician, etc.)
- Standard configurations
- Dropdown values
- API clients (localhost access)
URL Configuration
The installer automatically detects and configures:
- Base URL: Main application URL
- API URL: REST API endpoint URL
glpi_configs table and can be modified later in Administration > General Setup.Default Credentials
After installation, you can log in with the default administrator account:- Username:
itsm - Password:
itsm
The default password hash in the database is:
$2y$10$w8wX.GPGo5q5tlyIXIzY/eBAk/a2r8KmHY8SIl32Q./1Na/nKEkUyPost-Installation Steps
Change Default Password
- Log in with default credentials
- Click on your username (top-right)
- Navigate to Settings
- Change your password to a strong, unique password
Configure Email Notifications
Set up email notifications for ticket updates:
- Go to Setup > Notifications > Email followups configuration
- Configure SMTP settings:
- SMTP server address
- Port (usually 587 for TLS, 465 for SSL)
- Authentication credentials
- Sender email and name
Web Server Configuration
Apache Configuration
Create a virtual host configuration:Nginx Configuration
Example Nginx configuration:Troubleshooting
Cannot Connect to Database
-
Verify database server is running:
- Check credentials are correct
- Ensure user has proper privileges
- Verify firewall allows database connections
PHP Extension Missing
If required extensions are missing:Permission Issues
If you encounter permission errors:Database Version Too Old
ITSM-NG requires:- MariaDB 10.0 or newer
- MySQL 5.6 or newer
Next Steps
Now that ITSM-NG is installed, proceed to the Quick Start Guide to configure your first ticket and start using the system:Quick Start Guide
Learn how to create your first ticket and configure basic settings