{"id":5344,"date":"2020-04-02T23:26:28","date_gmt":"2020-04-02T20:26:28","guid":{"rendered":"https:\/\/kifarunix.com\/?p=5344"},"modified":"2024-01-21T13:34:26","modified_gmt":"2024-01-21T10:34:26","slug":"install-ocs-ng-inventory-on-centos-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-ocs-ng-inventory-on-centos-8\/","title":{"rendered":"Install OCS-NG Inventory on CentOS 8 Stream"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install OCS-NG Inventory on CentOS 8 Stream.\u00a0<a href=\"https:\/\/ocsinventory-ng.org\/?lang=en\" target=\"_blank\" rel=\"noreferrer noopener\">OCS (Open Computer and Software) Inventory Next Generation<\/a>\u00a0is an opensource tool that is used to inventory IT assets. It collects information about the hardware and software of networked machines running the OCS client program (&#8220;OCS Inventory Agent&#8221;). OCS can be used to visualize the inventory through a web interface. It is deployed in a agent-server architecture where an OCS NG agent is installed on an asset to be inventoried to collect the information about that asset. In cases where an agent cannot be installed like in routers, switches, SNMP polling can be used to collect asset information.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#install-ocs-ng-inventory-on-cent-os-8-stream\">Install OCS-NG Inventory on CentOS 8 Stream<\/a><ul><li><a href=\"#prerequisites\">Prerequisites<\/a><ul><li><a href=\"#update-your-system-packages\">Update your system packages<\/a><\/li><li><a href=\"#install-apache-web-server-on-cent-os-8\">Install Apache Web server on CentOS 8<\/a><\/li><li><a href=\"#install-maria-db-database-server-on-cent-os-8\">Install MariaDB Database Server on CentOS 8<\/a><\/li><li><a href=\"#create-ocs-ng-inventory-database-and-database-user\">Create OCS-NG Inventory Database and Database User<\/a><\/li><li><a href=\"#install-php-and-required-extensions-for-ocs-ng-inventory\">Install PHP and Required Extensions for OCS-NG Inventory<\/a><\/li><li><a href=\"#install-perl-and-build-tools\">Install Perl and Build Tools<\/a><\/li><\/ul><\/li><li><a href=\"#download-ocs-ng-inventory-server-tarball\">Download OCS-NG Inventory Server Tarball<\/a><\/li><li><a href=\"#install-ocs-ng-inventory-on-cent-os-stream\">Install OCS-NG Inventory on CentOS Stream<\/a><\/li><li><a href=\"#configure-ocs-ng-database-connection-settings\">Configure OCS-NG Database Connection Settings<\/a><\/li><li><a href=\"#finalize-ocs-ng-configuration-via-web-interface\">Finalize OCS-NG Configuration via Web Interface<\/a><\/li><li><a href=\"#related-tutorials\">Related Tutorials<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-ocs-ng-inventory-on-cent-os-8-stream\">Install OCS-NG Inventory on CentOS 8 Stream<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h3>\n\n\n\n<p>OCS-NG Inventory is a web application and thus requires a LAMP\/LEMP Stack. It also requires a number of perl Libraries and PHP extensions as stated on&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.ocsinventory-ng.org\/01.Prerequisites\/Libraries-version\/\" target=\"_blank\">prerequisites page<\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"update-your-system-packages\">Update your system packages<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf update<\/pre>\n\n\n\n<p>The update command may fail with the error below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist<\/code><\/pre>\n\n\n\n<p>The official announcement from CentOS Project stated that CentOS 8 will reach end-of-life (EOL) on December 31, 2021, and its repositories will be archived. After that date, no further updates or security patches will be provided for CentOS 8.<\/p>\n\n\n\n<p>As a result, you need to switch to <strong>Vault Repositories<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-*<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.centos.org|g' \/etc\/yum.repos.d\/CentOS-*<\/code><\/pre>\n\n\n\n<p>Thereafter, re-run the update;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf update -y<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-apache-web-server-on-cent-os-8\">Install Apache Web server on CentOS 8<\/h4>\n\n\n\n<p>In this demo, we are using LAMP for OCS-NG and hence, LAMP stack components are installed as follows;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf install httpd -y<\/pre>\n\n\n\n<p>Start and Enable Apache services.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable --now httpd<\/pre>\n\n\n\n<p>If FirewallD is running, allow Apache external access.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">firewall-cmd --permanent --add-service=http<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">firewall-cmd --reload<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-maria-db-database-server-on-cent-os-8\">Install MariaDB Database Server on CentOS 8<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf install mariadb mariadb-server -y<\/pre>\n\n\n\n<p>Start and enable MariaDB service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable --now mariadb<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"create-ocs-ng-inventory-database-and-database-user\">Create OCS-NG Inventory Database and Database User<\/h4>\n\n\n\n<p>Begin by running MySQL initial security script.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql_secure_installation<\/pre>\n\n\n\n<p>Next, login and create OCS-NG database. Replace the names of the database accordingly.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mysql -u root -p<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>create database <strong>ocsdb<\/strong>;<\/code><\/pre>\n\n\n\n<p>After that, create OCS-NG database user and assign all rights on OCS-NG database. Replace the username and Password accordingly.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>grant all on ocsdb.* to <strong>ocsadmin@localhost<\/strong> identified by '<strong>ocsDBpassW0rd<\/strong>';<\/code><\/pre>\n\n\n\n<p>Reload privileges table and exit the database.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>flush privileges;<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>quit<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-php-and-required-extensions-for-ocs-ng-inventory\">Install PHP and Required Extensions for OCS-NG Inventory<\/h4>\n\n\n\n<p>In order to avoid issues as we have experienced with other versions of PHP like OCS-NG blank screen, OCS-NG stuck on&nbsp;<strong>Processing\u2026<\/strong> with PHP 7.3,<strong>&nbsp;<\/strong>this guide will stick to using PHP 7.2 which is the default available version on CentOS 8. If you know how to get around this issue, kindly drop the lead on the comments section.<\/p>\n\n\n\n<p>In order to install all required PHP modules, install PHP Remi repos;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf install epel-release<\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf install centos-release-stream<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf install -y https:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.rpm<\/code><\/pre>\n\n\n\n<p>Enable PHP 8.1 Remi repos;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf module reset -y php<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">dnf module enable php:remi-8.1 -y<\/pre>\n\n\n\n<p>Also, enable PowerTool Repos on CentOS 8;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sed -i 's\/enabled=0\/enabled=1\/' \/etc\/yum.repos.d\/CentOS-Linux-PowerTools.repo<\/pre>\n\n\n\n<p>Next, install PHP and the required PHP modules.<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>dnf install -y \\\n    php \\\n    php-domxml \\\n    php-gd \\\n    php-imap \\\n    php-ldap \\\n    php-mbstring \\\n    php-mysqlnd \\\n    php-opcache \\\n    php-pdo \\\n    php-pear \\\n    php-pecl-apcu \\\n    php-pecl-zip \\\n    php-soap \\\n    php-xmlrpc \\\n    php-xml \\\n    php-zip \\\n    php-fpm \\\n    php-bcmath \\\n    php-intl\n<\/code><\/pre>\n\n\n\n<p>Start and enable PHP-FPM;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl enable --now php-fpm<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-perl-and-build-tools\">Install Perl and Build Tools<\/h4>\n\n\n\n<p>Run the command below to install Perl, perl modules and the required build tools.<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>dnf install -y \\\n    make \\\n    wget \\\n    gcc \\\n    perl-Archive-Zip \\\n    perl-Compress-Zlib \\\n    perl-DBD-MySQL \\\n    perl-DBI \\\n    perl-Mojolicious \\\n    perl-Net-IP \\\n    perl-Plack \\\n    perl-SOAP-Lite \\\n    perl-Switch \\\n    perl-XML-Entities \\\n    perl-XML-Simple \\\n    perl-Apache-DBI \\\n    perl-Digest-SHA1 \\\n    perl-Apache2-SOAP\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"download-ocs-ng-inventory-server-tarball\">Download OCS-NG Inventory Server Tarball<\/h3>\n\n\n\n<p>Navigate to\u00a0<a href=\"https:\/\/ocsinventory-ng.org\/?page_id=1548&amp;lang=en\" target=\"_blank\" rel=\"noreferrer noopener\">OCS downloads page<\/a>\u00a0and download the current release version of OCS Server.<\/p>\n\n\n\n<p>You can simply run the command below to grab OCS 2.12.0, which is the <a href=\"https:\/\/github.com\/OCSInventory-NG\/OCSInventory-ocsreports\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">current stable release version<\/a> as of this guide update.<\/p>\n\n\n\n<p>Be sure to replace the versions accordingly by updating the value of the VER variable below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>VER=2.12.0<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/github.com\/OCSInventory-NG\/OCSInventory-ocsreports\/releases\/download\/${VER}\/OCSNG_UNIX_SERVER-${VER}.tar.gz<\/pre>\n\n\n\n<p>Once the download is donem extract the archive.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tar xzf OCSNG_UNIX_SERVER-${VER}.tar.gz<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-ocs-ng-inventory-on-cent-os-stream\">Install OCS-NG Inventory on CentOS Stream<\/h3>\n\n\n\n<p>Navigate to OCS source directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd OCSNG_UNIX_SERVER-${VER}\/<\/pre>\n\n\n\n<p> Execute the installation script.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sh setup.sh<\/pre>\n\n\n\n<p>If you happen to get the error, <strong><code>setup.sh: line 16: source: setup.answers: file not found<\/code><\/strong>, then fix by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i 's\/source setup.answers\/source .\\\/setup.answers\/' setup.sh<\/code><\/pre>\n\n\n\n<p>Then re-run the setup.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/setup.sh<\/code><\/pre>\n\n\n\n<p>Follow through the prompts to install OCS-NG inventory accordingly. Press\u00a0<strong>ENTER<\/strong>\u00a0to accept the defaults.<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\n+----------------------------------------------------------+\n|                                                          |\n|  Welcome to OCS Inventory NG Management server setup !   |\n|                                                          |\n+----------------------------------------------------------+\n\nTrying to determine which OS or Linux distribution you use\n+----------------------------------------------------------+\n| Checking for Apache web server binaries !\t\t\t\t|\n+----------------------------------------------------------+\n\nCAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and\nprevious, please remove any Apache configuration for Communication Server!\n\nDo you wish to continue ([y]\/n)?y\nAssuming Communication server 1.0 RC2 or previous is not installed\non this computer.\n\nStarting OCS Inventory NG Management server setup from folder \/root\/OCSNG_UNIX_SERVER-2.12.0\nStoring log in file \/root\/OCSNG_UNIX_SERVER-2.12.0\/ocs_server_setup.log\n\n+----------------------------------------------------------+\n| Checking for database server properties...\t\t\t  |\n+----------------------------------------------------------+\n\nYour MySQL client seems to be part of MySQL version 10.3.\nYour computer seems to be running MySQL 4.1 or higher, good ;-)\n\nWhich host is running database server [localhost] ?\nOK, database server is running on host localhost ;-)\n\nOn which port is running database server [3306] ?\nOK, database server is running on port 3306 ;-)\n\n\n+----------------------------------------------------------+\n| Checking for Apache web server daemon...\t\t\t\t|\n+----------------------------------------------------------+\n\nWhere is Apache daemon binary [\/usr\/sbin\/httpd] ?\nOK, using Apache daemon \/usr\/sbin\/httpd ;-)\n\n\n+----------------------------------------------------------+\n| Checking for Apache main configuration file...\t\t  |\n+----------------------------------------------------------+\n\nWhere is Apache main configuration file [\/etc\/httpd\/conf\/httpd.conf] ?\nOK, using Apache main configuration file \/etc\/httpd\/conf\/httpd.conf ;-)\n\n\n+----------------------------------------------------------+\n| Checking for Apache user account...\t\t\t\t\t |\n+----------------------------------------------------------+\n\nWhich user account is running Apache web server [apache] ?\nOK, Apache is running under user account apache ;-)\n\n\n+----------------------------------------------------------+\n| Checking for Apache group...\t\t\t\t\t\t\t|\n+----------------------------------------------------------+\n\nWhich user group is running Apache web server [apache] ?\nOK, Apache is running under users group apache ;-)\n\n\n+----------------------------------------------------------+\n| Checking for Apache Include configuration directory...   |\n+----------------------------------------------------------+\n\nSetup found Apache Include configuration directory in\n\/etc\/httpd\/conf.d.\nSetup will put OCS Inventory NG Apache configuration in this directory.\nWhere is Apache Include configuration directory [\/etc\/httpd\/conf.d] ?\nOK, Apache Include configuration directory \/etc\/httpd\/conf.d found ;-)\n\n\n+----------------------------------------------------------+\n| Checking for PERL Interpreter...\t\t\t\t\t\t|\n+----------------------------------------------------------+\n\nFound PERL interpreter at <\/usr\/bin\/perl> ;-)\nWhere is PERL interpreter binary [\/usr\/bin\/perl] ?\nOK, using PERL interpreter \/usr\/bin\/perl ;-)\n\n\nDo you wish to setup Communication server on this computer ([y]\/n)?y\n\n\n+----------------------------------------------------------+\n|             Checking for Make utility...                 |\n+----------------------------------------------------------+\n\nOK, Make utility found at <\/usr\/bin\/make> ;-)\n\n+----------------------------------------------------------+\n|        Checking for Apache mod_perl version...           |\n+----------------------------------------------------------+\n\nChecking for Apache mod_perl version 1.99_22 or higher\nFound that mod_perl version 1.99_22 or higher is available.\nOK, Apache is using mod_perl version 1.99_22 or higher ;-)\n\n+----------------------------------------------------------+\n|    Checking for Communication server log directory...    |\n+----------------------------------------------------------+\n\nCommunication server can create detailed logs. This logs can be enabled\nby setting integer value of LOGLEVEL to 1 in Administration console\nmenu Configuration.\nWhere to put Communication server log directory [\/var\/log\/ocsinventory-server] ?\nOK, Communication server will put logs into directory \/var\/log\/ocsinventory-server ;-)\n\n+----------------------------------------------------------------------------+\n|    Checking for Communication server plugins configuration directory...    |\n+----------------------------------------------------------------------------+\n\nCommunication server need a directory for plugins configuration files. \nWhere to put Communication server plugins configuration files [\/etc\/ocsinventory-server\/plugins] ?\nOK, Communication server will put plugins configuration files into directory \/etc\/ocsinventory-server\/plugins ;-)\n\n+-------------------------------------------------------------------+\n|   Checking for Communication server plugins perl directory...     |\n+-------------------------------------------------------------------+\n\nCommunication server need a directory for plugins Perl modules files.\nWhere to put Communication server plugins Perl modules files [\/etc\/ocsinventory-server\/perl] ?\nOK, Communication server will put plugins Perl modules files into directory \/etc\/ocsinventory-server\/perl ;-)\n\n\n+----------------------------------------------------------+\n| Checking for required Perl Modules...\t\t\t\t\t|\n+----------------------------------------------------------+\n\nChecking for DBI PERL module...\nFound that PERL module DBI is available.\nChecking for Apache::DBI PERL module...\nFound that PERL module Apache::DBI is available.\nChecking for DBD::mysql PERL module...\nFound that PERL module DBD::mysql is available.\nChecking for Compress::Zlib PERL module...\nFound that PERL module Compress::Zlib is available.\nChecking for XML::Simple PERL module...\nFound that PERL module XML::Simple is available.\nChecking for Net::IP PERL module...\nFound that PERL module Net::IP is available.\nChecking for Archive::Zip Perl module...\nFound that PERL module Archive::Zip is available.\n\n\nDo you wish to setup Rest API server on this computer ([y]\/n)?y\n\n+----------------------------------------------------------+\n| Checking for REST API Dependencies ...              \t\t |\n+----------------------------------------------------------+\n\nFound that PERL module Mojolicious::Lite is available.\nFound that PERL module Switch is available.\nFound that PERL module Plack::Handler is available.\n\n+----------------------------------------------------------+\n| Configuring REST API Server files ...               \t\t |\n+----------------------------------------------------------+\n\nWhere do you want the API code to be store [\/usr\/lib64\/perl5\/vendor_perl] ?\nCopying files to \/usr\/lib64\/perl5\/vendor_perl\n\n+----------------------------------------------------------+\n| Configuring REST API Server configuration files ...  \t\t |\n+----------------------------------------------------------+\n\n\n+----------------------------------------------------------+\n|                 OK, looks good ;-)                       |\n|                                                          |\n|     Configuring Communication server Perl modules...     |\n+----------------------------------------------------------+\n\nChecking if your kit is complete...\nLooks good\nGenerating a Unix-style Makefile\nWriting Makefile for Apache::Ocsinventory\nWriting MYMETA.yml and MYMETA.json\n\n+----------------------------------------------------------+\n|                 OK, looks good ;-)                       |\n|                                                          |\n|      Preparing Communication server Perl modules...      |\n+----------------------------------------------------------+\n\n\n+----------------------------------------------------------+\n|                 OK, prepare finshed ;-)                  |\n|                                                          |\n|     Installing Communication server Perl modules...      |\n+----------------------------------------------------------+\n\n\n+----------------------------------------------------------+\n| OK, Communication server Perl modules install finished;-)|\n|                                                          |\n|     Creating Communication server log directory...       |\n+----------------------------------------------------------+\n\nCreating Communication server log directory \/var\/log\/ocsinventory-server.\n\nFixing Communication server log directory files permissions.\nConfiguring logrotate for Communication server.\nRemoving old communication server logrotate file \/etc\/logrotate.d\/ocsinventory-NG\nWriting communication server logrotate to file \/etc\/logrotate.d\/ocsinventory-server\n\n\n+----------------------------------------------------------------------+\n|        OK, Communication server log directory created ;-)            |\n|                                                                      |\n|   Creating Communication server plugins configuration directory...   |\n+----------------------------------------------------------------------+\n\nCreating Communication server plugins configuration directory \/etc\/ocsinventory-server\/plugins.\n\n\n+----------------------------------------------------------------------+\n| OK, Communication server plugins configuration directory created ;-) |\n|                                                                      |\n|        Creating Communication server plugins Perl directory...       |\n+----------------------------------------------------------------------+\n\nCreating Communication server plugins Perl directory \/etc\/ocsinventory-server\/perl.\n\n\n+----------------------------------------------------------------------+\n|     OK, Communication server plugins Perl directory created ;-)      |\n|                                                                      |\n|               Now configuring Apache web server...                   |\n+----------------------------------------------------------------------+\n\nTo ensure Apache loads mod_perl before OCS Inventory NG Communication Server,\nSetup can name Communication Server Apache configuration file\n'z-ocsinventory-server.conf' instead of 'ocsinventory-server.conf'.\nDo you allow Setup renaming Communication Server Apache configuration file\nto 'z-ocsinventory-server.conf' ([y]\/n) ?y\nOK, using 'z-ocsinventory-server.conf' as Communication Server Apache configuration file\nRemoving old communication server configuration to file \/etc\/httpd\/conf.d\/ocsinventory.conf\nWriting communication server configuration to file \/etc\/httpd\/conf.d\/z-ocsinventory-server.conf\n\n+----------------------------------------------------------------------+\n|       OK, Communication server setup successfully finished ;-)       |\n|                                                                      |\n| Please, review \/etc\/httpd\/conf.d\/z-ocsinventory-server.conf |\n|         to ensure all is good. Then restart Apache daemon.           |\n+----------------------------------------------------------------------+\n\n\nDo you wish to setup Administration Server (Web Administration Console)\non this computer ([y]\/n)?y\n\n+----------------------------------------------------------+\n|    Checking for Administration Server directories...     |\n+----------------------------------------------------------+\n\nCAUTION: Setup now install files in accordance with Filesystem Hierarchy\nStandard. So, no file is installed under Apache root document directory\n(Refer to Apache configuration files to locate it).\nIf you're upgrading from OCS Inventory NG Server 1.01 and previous, YOU\nMUST REMOVE (or move) directories 'ocsreports' and 'download' from Apache\nroot document directory.\nIf you choose to move directory, YOU MUST MOVE 'download' directory to\nAdministration Server writable\/cache directory (by default\n\/var\/lib\/ocsinventory-reports), especially if you use deployment feature.\n\nDo you wish to continue ([y]\/n)?y\nAssuming directories 'ocsreports' and 'download' removed from\nApache root document directory.\n\nWhere to copy Administration Server static files for PHP Web Console\n[\/usr\/share\/ocsinventory-reports] ?\nOK, using directory \/usr\/share\/ocsinventory-reports to install static files ;-)\n\nWhere to create writable\/cache directories for deployment packages,\nadministration console logs, IPDiscover and SNMP [\/var\/lib\/ocsinventory-reports] ?\nOK, writable\/cache directory is \/var\/lib\/ocsinventory-reports ;-)\n\n\n+----------------------------------------------------------+\n|         Checking for required Perl Modules...            |\n+----------------------------------------------------------+\n\nChecking for DBI PERL module...\nFound that PERL module DBI is available.\nChecking for DBD::mysql PERL module...\nFound that PERL module DBD::mysql is available.\nChecking for XML::Simple PERL module...\nFound that PERL module XML::Simple is available.\nChecking for Net::IP PERL module...\nFound that PERL module Net::IP is available.\n\n+----------------------------------------------------------+\n|      Installing files for Administration server...       |\n+----------------------------------------------------------+\n\nCreating PHP directory \/usr\/share\/ocsinventory-reports\/ocsreports.\nCopying PHP files to \/usr\/share\/ocsinventory-reports\/ocsreports.\nFixing permissions on directory \/usr\/share\/ocsinventory-reports\/ocsreports.\nCreating database configuration file \/usr\/share\/ocsinventory-reports\/ocsreports\/dbconfig.inc.php.\nCreating IPDiscover directory \/var\/lib\/ocsinventory-reports\/ipd.\nFixing permissions on directory \/var\/lib\/ocsinventory-reports\/ipd.\nCreating packages directory \/var\/lib\/ocsinventory-reports\/download.\nFixing permissions on directory \/var\/lib\/ocsinventory-reports\/download.\nCreating snmp mibs directory \/var\/lib\/ocsinventory-reports\/snmp.\nFixing permissions on directory \/var\/lib\/ocsinventory-reports\/snmp.\nCreating Administration server log files directory \/var\/lib\/ocsinventory-reports\/logs.\nFixing permissions on directory \/var\/lib\/ocsinventory-reports\/logs.\nCreating Administration server temporary files directory \/var\/lib\/ocsinventory-reports\/tmp_dir.\nFixing permissions on directory \/var\/lib\/ocsinventory-reports\/tmp_dir.\nCreating Administration server scripts log files directory \/var\/lib\/ocsinventory-reports\/scripts.\nFixing permissions on directory \/var\/lib\/ocsinventory-reports\/scripts.\nConfiguring IPDISCOVER-UTIL Perl script.\nInstalling IPDISCOVER-UTIL Perl script.\nFixing permissions on IPDISCOVER-UTIL Perl script.\nWriting Administration server configuration to file \/etc\/httpd\/conf.d\/ocsinventory-reports.conf\n\n+----------------------------------------------------------------------+\n|        OK, Administration server installation finished ;-)           |\n|                                                                      |\n| Please, review \/etc\/httpd\/conf.d\/ocsinventory-reports.conf\n|          to ensure all is good and restart Apache daemon.            |\n|                                                                      |\n| Then, point your browser to http:\/\/server\/\/ocsreports\n|        to configure database server and create\/update schema.        |\n+----------------------------------------------------------------------+\n\n\nSetup has created a log file \/root\/OCSNG_UNIX_SERVER-2.12.0\/ocs_server_setup.log. Please, save this file.\nIf you encounter error while running OCS Inventory NG Management server,\nwe can ask you to show us its content !\n\nDON'T FORGET TO RESTART APACHE DAEMON !\n\nEnjoy OCS Inventory NG ;-)\n\n<\/code><\/pre>\n\n\n\n<p>For any installation issues, you can check on the log file, <code><strong>$HOME\/OCSNG_UNIX_SERVER-${VER}\/ocs_server_setup.log<\/strong><\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-ocs-ng-database-connection-settings\">Configure OCS-NG Database Connection Settings<\/h3>\n\n\n\n<p>Edit the OCS-NG web server configurations to configure database connection settings.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vim \/etc\/httpd\/conf.d\/z-ocsinventory-server.conf<\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>...\n  # Master Database settings\n  # Replace localhost by hostname or ip of MySQL server for WRITE\n  PerlSetEnv OCS_DB_HOST <strong>localhost<\/strong>\n  # Replace 3306 by port where running MySQL server, generally 3306\n  PerlSetEnv OCS_DB_PORT <strong>3306<\/strong>\n  # Name of database\n  PerlSetEnv OCS_DB_NAME <strong>ocsdb<\/strong>\n  PerlSetEnv OCS_DB_LOCAL <strong>ocsdb<\/strong>\n  # User allowed to connect to database\n  PerlSetEnv OCS_DB_USER <strong>ocsadmin<\/strong>\n  # Password for user\n  PerlSetVar OCS_DB_PWD <strong>ocsDBpassW0rd<\/strong>\n...\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">vim \/etc\/httpd\/conf.d\/zz-ocsinventory-restapi.conf<\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>...\n&lt;Perl&gt;\n  $ENV{PLACK_ENV} = 'production';\n  $ENV{MOJO_HOME} = '\/usr\/lib64\/perl5\/vendor_perl';\n  $ENV{MOJO_MODE} = 'deployment';\n  $ENV{OCS_DB_HOST} = 'localhost';\n  $ENV{OCS_DB_PORT} = '3306';\n  $ENV{OCS_DB_LOCAL} = 'ocsdb';\n  $ENV{OCS_DB_USER} = 'ocsadmin';\n  $ENV{OCS_DB_PWD} = 'ocsDBpassW0rd';\n  $ENV{OCS_DB_SSL_ENABLED} = 0;\n#  $ENV{OCS_DB_SSL_CLIENT_KEY} = '';\n#  $ENV{OCS_DB_SSL_CLIENT_CERT} = '';\n#  $ENV{OCS_DB_SSL_CA_CERT} = '';\n  $ENV{OCS_DB_SSL_MODE} = 'SSL_MODE_PREFERRED';\n&lt;\/Perl&gt;\n...\n<\/code><\/pre>\n\n\n\n<p>Save and exit.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vim \/usr\/share\/ocsinventory-reports\/ocsreports\/dbconfig.inc.php<\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>$_SESSION[\"SERVEUR_SQL\"]=\"localhost\";\n$_SESSION[\"COMPTE_BASE\"]=\"ocsdb\";\n$_SESSION[\"PSWD_BASE\"]=\"ocsDBpassW0rd\";\n?&gt;\n<\/code><\/pre>\n\n\n\n<p>Save and exit the configs file after making the changes.<\/p>\n\n\n\n<p>Set the proper permissions and ownership of OCS configuration files.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chmod -R 766 \/usr\/share\/ocsinventory-reports<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R apache:apache \/usr\/share\/ocsinventory-reports<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R apache:apache \/var\/lib\/ocsinventory-reports<\/code><\/pre>\n\n\n\n<p>Also adjust SELinux permissions on web server configuration files.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chcon -R -t httpd_sys_rw_content_t \/usr\/share\/ocsinventory-reports<\/code><\/pre>\n\n\n\n<p>Restart Apache, MariaDB and PHP-FPM services.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart httpd mariadb php-fpm<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"finalize-ocs-ng-configuration-via-web-interface\">Finalize OCS-NG Configuration via Web Interface<\/h3>\n\n\n\n<p>Navigate to&nbsp;<strong>http:\/\/server-hostname-or-IP\/ocsreports<\/strong> on your browser to access OCS.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/OCS-database-logins.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-19945&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1535,&quot;targetHeight&quot;:747,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image: Install OCS-NG Inventory on CentOS 8 Stream&quot;,&quot;alt&quot;:&quot;Install OCS-NG Inventory on CentOS 8 Stream&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1535\" height=\"747\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/OCS-database-logins.png?v=1705832819\" alt=\"Install OCS-NG Inventory on CentOS 8 Stream\" class=\"wp-image-19945\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/OCS-database-logins.png?v=1705832819 1535w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/OCS-database-logins-768x374.png?v=1705832819 768w\" sizes=\"(max-width: 1535px) 100vw, 1535px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image: Install OCS-NG Inventory on CentOS 8 Stream\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Configure OCS Inventory database connections and click&nbsp;<strong>Send<\/strong>.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/ocs-install.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-19946&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1355,&quot;targetHeight&quot;:397,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image: Install OCS-NG Inventory on CentOS 8 Stream&quot;,&quot;alt&quot;:&quot;Install OCS-NG Inventory on CentOS 8 Stream&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1355\" height=\"397\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-install.png?v=1705832851\" alt=\"Install OCS-NG Inventory on CentOS 8 Stream\" class=\"wp-image-19946\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-install.png?v=1705832851 1355w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-install-768x225.png?v=1705832851 768w\" sizes=\"(max-width: 1355px) 100vw, 1355px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image: Install OCS-NG Inventory on CentOS 8 Stream\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Next, click <strong>Click here to enter OCS-NG GUI<\/strong> to login to OCS web interface.<\/p>\n\n\n\n<p>Use the default credentials: <strong>login=<\/strong><code>admin<\/code> and <strong>password=<\/strong><code>admin<\/code>.<\/p>\n\n\n\n<p>If prompted to run a database update, please go ahead and proceed to OCS login interface.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/ocs-login-interface.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-19947&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1595,&quot;targetHeight&quot;:745,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image: Install OCS-NG Inventory on CentOS 8 Stream&quot;,&quot;alt&quot;:&quot;Install OCS-NG Inventory on CentOS 8 Stream&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1595\" height=\"745\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-login-interface.png?v=1705832961\" alt=\"Install OCS-NG Inventory on CentOS 8 Stream\" class=\"wp-image-19947\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-login-interface.png?v=1705832961 1595w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-login-interface-768x359.png?v=1705832961 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-login-interface-1536x717.png?v=1705832961 1536w\" sizes=\"(max-width: 1595px) 100vw, 1595px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image: Install OCS-NG Inventory on CentOS 8 Stream\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>OCS-NG User interface.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/ocs-ui-web-interface.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-19948&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1611,&quot;targetHeight&quot;:690,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1611\" height=\"690\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-ui-web-interface.png?v=1705833090\" alt=\"\" class=\"wp-image-19948\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-ui-web-interface.png?v=1705833090 1611w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-ui-web-interface-768x329.png?v=1705833090 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/01\/ocs-ui-web-interface-1536x658.png?v=1705833090 1536w\" sizes=\"(max-width: 1611px) 100vw, 1611px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Reset the password: <strong>Settings gear &gt; My account &gt; Password.<\/strong><\/p>\n\n\n\n<p>Remove the installation script.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mv \/usr\/share\/ocsinventory-reports\/ocsreports\/install.php{,.old}<\/pre>\n\n\n\n<p>That marks the end of our guide on how to install OCS-NG Inventory on CentOS 8 Stream.<\/p>\n\n\n\n<p>You can then learn how to install OCS-NG inventory agents for collecting information about the hardware and software of networked machines.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-ocs-inventory-agent-on-debian-10-ubuntu-18-04\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install OCS Inventory Agent on Debian 10\/Ubuntu 18.04<\/a><\/p>\n\n\n\n<p>Reference:<\/p>\n\n\n\n<p><a href=\"https:\/\/wiki.ocsinventory-ng.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">OCS-NG Inventory Documentation<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"related-tutorials\">Related Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-ocs-ng-inventory-on-fedora-30-fedora-29\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install OCS-NG Inventory on Fedora 30\/Fedora 29<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/install-snipe-it-on-debian-10-ubuntu-18-04\/\" target=\"_blank\">Install Snipe-IT on Debian 10\/Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-lamp-stack-on-centos-8\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install LAMP Stack on CentOS 8<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/install-lamp-stack-on-fedora-30\/\" target=\"_blank\">Install LAMP Stack on Fedora 30<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-install-lamp-linux-apache-mysql-php-stack-on-fedora-28-29\/\" target=\"_blank\">Install LAMP Stack on Fedora 28\/29<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install OCS-NG Inventory on CentOS 8 Stream.\u00a0OCS (Open Computer and Software) Inventory Next Generation\u00a0is an<\/p>\n","protected":false},"author":1,"featured_media":19947,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,984,1094],"tags":[1092,1142,1394,1107,1096,1414,1393],"class_list":["post-5344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-asset-management","category-ocs-inventory","tag-asset-management","tag-centos-8","tag-itam","tag-linux","tag-ocs-inventory","tag-ocs-inventory-centos-8","tag-ocs-inventory-on-centos-8","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5344"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=5344"}],"version-history":[{"count":6,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5344\/revisions"}],"predecessor-version":[{"id":19949,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5344\/revisions\/19949"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/19947"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=5344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=5344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=5344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}