OCS Inventory NG is a free and open-source software for IT asset management which can be used on various operating systems including Manjaro. In this tutorial, you will learn how to install OCS Inventory NG on Manjaro.
Before we begin, ensure you have the following:
To begin installing OCS Inventory NG, we need to install some required packages. You can do this by running the following command in the terminal:
sudo pacman -Syu apache mariadb mariadb-clients mariadb-libs mariadb-jdbc mariadb-connector-c php php-apache php-gd php-mcrypt php-pear php-xml php-intl
Once the required packages are installed, we can proceed with the installation of OCS Inventory NG. We will be installing the software from the official repository. To do so, follow the steps below:
sudo pacman -S ocsinventory-server
sudo mariadb
CREATE DATABASE ocsweb;
GRANT ALL ON ocsweb.* TO 'ocs'@'localhost' IDENTIFIED BY 'your-password';
FLUSH PRIVILEGES;
exit
/etc/httpd/conf/extra/httpd-ocsinventory.conf
in your chosen text editor (e.g. vim):sudo vim /etc/httpd/conf/extra/httpd-ocsinventory.conf
Require ip <ip>
with Require all granted
:wq
and press Enter
)sudo systemctl restart httpd
sudo ocsinventory-server-db && sudo ocsinventory-plugins
Once the installation is complete, you can access the OCS Inventory NG web interface by going to http://localhost/ocsreports/
or http://<your-server-ip>/ocsreports/
in your web browser.
In this tutorial, we covered the steps necessary to install OCS Inventory NG on Manjaro. With OCS Inventory NG, you can now manage your IT assets and conduct network inventory on your Manjaro system.
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!