How To Install Snipe-IT on CentOS 7 Linux



How To Install Snipe-IT on CentOS 7 Linux

How To Install Snipe-IT on CentOS 7 Linux

Snipe-IT is a free and open source web application for IT assets management. It is written on the Laravel 5.2 framework and uses MySQL to store its data. Snipe-IT is a complete and comprehensive solution for assets management, software license management, and much more.
Homepage:- https://snipeitapp.com/
Github:- https://github.com/snipe
mysql -u root -p
create database example;
grant all privileges on example.* to example@localhost identified by ‘example’;
flush privileges;
exit

cd ~
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
cd /var/www/
git clone https://github.com/snipe/snipe-it snipe-it

chown -R apache:apache storage public/uploads
chmod -R 755 storage
chmod -R 755 public/uploads
cp .env.example .env
nano .env
APP_URL=null
APP_TIMEZONE=’UTC’
DB_DATABASE=null
DB_USERNAME=null
DB_PASSWORD=null

composer install –no-dev –prefer-source
php artisan key:generate
firewall-cmd –zone=public –permanent –add-service=http
firewall-cmd –reload
———————————————————————————————————

Comments are closed.