OCS Inventory NG is an open-source computer inventory and asset management system that helps system administrators to track, report, and manage IT resources. In this tutorial, we will go through the step-by-step process of how to install OCS Inventory NG on Windows 10.
Before beginning the installation, ensure that you have the following prerequisites:
Firstly, visit the official OCS Inventory NG website at https://ocsinventory-ng.org/en/download/ to download the latest version of the software.
Once downloaded, extract the ZIP file to a directory of your choice.
OCS Inventory NG requires a webserver to function. You can use either Apache or IIS. In this tutorial, we will use Apache.
Once the installation is complete, you need to configure Apache to run as a service.
cd C:\Program Files (x86)\Apache24\bin
httpd -k install -n "Apache24"
C:\Program Files (x86)\Apache24\conf\httpd.conf
, uncomment the line LoadModule ssl_module modules/mod_ssl.so
to enable SSL support, and save the file.httpd -k restart
in the command prompt.Download the latest version of PHP from https://windows.php.net/download/
Extract the ZIP file to a directory of your choice.
Copy the php.ini-development
file to php.ini
.
Open the php.ini
file in a text editor and make the following changes:
error_reporting
to E_ALL
.extension_dir
to the path of the PHP extensions directory. For example, extension_dir = "C:\php\ext"
.date.timezone
to your local timezone. For example, date.timezone = America/New_York
.Restart the Apache service by running the command httpd -k restart
in the command prompt.
ocsdb
.ocsuser
.ocsdb
database.Navigate to the directory where you extracted OCS Inventory NG.
Edit the ocsinventory-server.conf
file in a text editor.
Set the following parameters:
dbuser
- Set to the username of the MySQL/MariaDB database user account you created.dbpass
- Set to the password of the MySQL/MariaDB database user account you created.dbhost
- Set to the hostname of the MySQL/MariaDB database server. For example, localhost
.dbname
- Set to the name of the MySQL/MariaDB database you created for OCS Inventory NG. For example, ocsdb
.Save the ocsinventory-server.conf
file.
setup.exe
in the directory where you extracted OCS Inventory NG.http://localhost/ocsreports/
.admin
and admin
).Congratulations! You have successfully installed OCS Inventory NG on Windows 10. You can continue to configure and customize OCS Inventory NG according to your requirements.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!