Comments on How to Install Snipe-IT Asset Management Software on Debian 9
Snipe-IT is a free and open source IT assets management web application that can be used for tracking licenses, accessories, consumables, and components. It is written in PHP language and uses MySQL to store its data. In this tutorial, we will learn how to install Snipe-IT on Debian 9 server.
6 Comment(s)
Comments
FYI Snipe-it doesn't work with MariaDB version >10.2.7 so go with stable version from Debian repository 10.1.x.
Needs PHP version 5.5 or higher. Tried using this to install on CentOS, but it comes with 5.4.
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/debian stretch main'
I get this when I run the above command: Error: need a repository as argument
In KeyGenerateCommand.php line 95:
file_get_contents(/var/www/clients/client1/web20/web/.env): failed to open stream: No such file or directory
I am using ISPConfig, how do I go about fixing this error I have?
Why do you run composer with root capable user? Snipe-IT explicitely tells you now to do that!
==>sudo composer install --no-dev --prefer-source
Question, why do all of this when Snipe-IT provides a simple install script here?
You can install it using the following commands:
wget https://raw.githubusercontent.com/snipe/snipe-it/master/snipeit.sh
chmod +x snipeit.sh
bash .\snipeit.sh
Simple as that.