OCS Inventory NG is an open-source tool designed for IT administrators to manage their network assets. It can be used to gather software and hardware inventory data from computers running various operating systems, including Windows, Linux, and macOS. In this tutorial, we will go through the steps to install OCS Inventory NG on Fedora Server.
Before installing OCS Inventory NG, we need to install some dependencies required by the software. Open your terminal window and run the following command:
sudo dnf install httpd httpd-devel perl-DBI mod_perl perl-XML-Entities perl-Net-IP perl-SOAP-Lite
This command will install Apache web server, its development files, perl-DBI, mod_perl, perl-XML-Entities, perl-Net-IP, and perl-SOAP-Lite on your system.
Download the latest version of OCS Inventory NG by running the following command:
sudo wget https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/2.8/OCSNG_UNIX_SERVER_2.8.tar.gz
Once the download is complete, extract the OCS Inventory NG package using the following command:
sudo tar -xvzf OCSNG_UNIX_SERVER_2.8.tar.gz
This command will extract the package and create a directory named "OCSNG_UNIX_SERVER_2.8".
Now, navigate to the directory where you extracted the package and run the installation script as follows:
cd OCSNG_UNIX_SERVER_2.8/
sudo sh setup.sh
The installation script will guide you through the installation process. Respond to the prompts by pressing 'Enter' key to accept the default values or entering your custom values.
After the installation is complete, start the OCS Inventory NG service using the following command:
sudo systemctl start ocsinventory-server
This command will start the OCS Inventory NG service.
To enable automatic start of OCS inventory, run the following command:
sudo systemctl enable ocsinventory-server
This command will enable the service to start automatically when the system is booted.
Open your web browser and browse to http://localhost/ocsreports/. You should see the OCS Inventory NG login page.
Enter the default username "admin" and default password "admin" to log in.
Congratulations! You have successfully installed OCS Inventory NG on your Fedora Server.
In this tutorial, we learned how to install OCS Inventory NG on Fedora Server. OCS Inventory NG is a powerful tool for IT administrators to manage their network assets, and its installation process is straightforward with the right guidance.
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!