# ubuntu 20
apt udpate
apt install git
apt install gnupg
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
# default answer
./install.sh
# mysql - /var/www/html/snipeit/.env
CREATE USER 'snipeit_dbuser'@'localhost' IDENTIFIED BY '<password>';
GRANT ALL PRIVILEGES ON *.* TO 'snipeit_dbuser'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
# add u20.example.com to hosts
# browser -> u20.example.com