Installation and configuration guide for OCS Inventory version 2.12.1 on Debian 12, covering LAMP setup, database configuration, and web console finalization.
This document provides a step-by-step procedure for installing OCS Inventory version 2.12.1 on a Debian 12 machine. It details the necessary prerequisites, including a Windows 2022 standard server with AD/DS and a Windows 10/11 Pro machine integrated into the domain.
The guide covers the complete setup process from installing the LAMP stack (Apache, MariaDB, PHP) and configuring the database to installing the OCS repository, PERL modules, and finalizing the installation via the web console. This manual is written in French.
| Version | 2.12.1 |
|---|---|
| Supported OS | Debian 12 |
It is recommended to set max_execution_time and max_input_time to -1, upload_max_filesize and post_max_size to 50M, and memory_limit to 256M.
The security alert is removed by deleting the install.php file using the command: rm -rf /usr/share/ocsinventory-reports/ocsreports/install.php
The default username is 'admin' and the default password is 'admin'.