Code in this video: OCS Inventory – How to Install and Configure OCS Inventory Server on Ubuntu 22.04 | 20.04 | 18.04 LTS
###Code in this video: OCS Inventory - How to Install and Configure OCS Inventory Server on Ubuntu 22.04 | 20.04 | 18.04 LTS sudo apt install -y git curl wget make cmake gcc make sudo apt install -y php-mbstring php-xml php-mysql php-zip php-pclzip php-gd php-soap php-curl php-json libapache2-mod-perl2 libapache-dbi-perl libapache-db-perl libapache2-mod-php libarchive-zip-perl mariadb-client sudo apt install -y perl libxml-simple-perl libcompress-zlib-perl libdbi-perl libdbd-mysql-perl libnet-ip-perl libsoap-lite-perl libio-compress-perl libapache-dbi-perl libapache2-mod-perl2 libapache2-mod-perl2-dev sudo perl -MCPAN -e'
install Apache2::SOAP'
sudo perl -MCPAN -e'
install XML::Entities'
sudo perl -MCPAN -e'
install Net::IP'
sudo perl -MCPAN -e'
install Apache::DBI'
sudo perl -MCPAN -e'
install Mojolicious'
sudo perl -MCPAN -e'
install Switch'
sudo perl -MCPAN -e'
install Plack::Handler'
CREATE DATABASE ocs_db; CREATE USER ocs_user@localhost IDENTIFIED BY 'ocs_PWD'; GRANT ALL ON ocs_db.* TO ocs_user@localhost; FLUSH PRIVILEGES; ###Link download OCS Inventory: https://ocsinventory-ng.org/?page_id=1548&lang=en sudo ln -s /etc/apache2/conf-available/ocsinventory-reports.conf /etc/apache2/conf-enabled/ocsinventory-reports.conf sudo ln -s /etc/apache2/conf-available/z-ocsinventory-server.conf /etc/apache2/conf-enabled/z-ocsinventory-server.conf sudo ln -s /etc/apache2/conf-available/zz-ocsinventory-restapi.conf /etc/apache2/conf-enabled/zz-ocsinventory-restapi.conf