Difference between revisions of "Snipe-IT"
m (Tag: Visual edit) |
|||
Line 1: | Line 1: | ||
{{Under Construction}} | {{Under Construction}} | ||
+ | |||
+ | Snipe-IT is an open-sourced, self hosted, asset management tracking system. while it has paid enterprise support and functionality, Springfield has deployed the free, community based version. While this saves money, it requires more knowledge of the system and how it was deployed. This article is supposed to give insight into how this service was deployed and maintained. | ||
+ | |||
== Installation on CentOS == | == Installation on CentOS == | ||
Create Subdomain snipeit.ssdcougars.tv in cPanel to auto-generate httpd V-Host | Create Subdomain snipeit.ssdcougars.tv in cPanel to auto-generate httpd V-Host | ||
Line 40: | Line 43: | ||
=== Navigate to snipeit.ssdcougars.tv and follow prompts to create new user and sign in. === | === Navigate to snipeit.ssdcougars.tv and follow prompts to create new user and sign in. === | ||
+ | <references /> |
Latest revision as of 02:45, 24 August 2016
Snipe-IT is an open-sourced, self hosted, asset management tracking system. while it has paid enterprise support and functionality, Springfield has deployed the free, community based version. While this saves money, it requires more knowledge of the system and how it was deployed. This article is supposed to give insight into how this service was deployed and maintained.
Contents
Installation on CentOS
Create Subdomain snipeit.ssdcougars.tv in cPanel to auto-generate httpd V-Host
Name the home directory "snipe-it"
Modify the DocumentRoot of the subdirectory (All commands must be run as ssdcou5, not root su ssdcou5
-
cd /etc/apache2/conf
-
nano httpd.conf
- CTRL+W "snipeit"
- Look for
DocumentRoot
- Should read:
DocumentRoot /home/ssdcou5/snipe-it/public
- Look for
<Directory "home/ssdcou5/snipe-it">
and add/public
after "snipe-it" - CTRL+X, Y, Enter
- /sbin/service httpd restart
Download Snipe-IT[1]
cd /home/ssdcou5
git clone https://github.com/snipe/snipe-it
It will now populate the home dir of snipeit (/home/ssdcou5/snipe-it) with the files necessary.
Install Dependencies [2]
cd /home/ssdcou5/snipe-it curl -sS https://getcomposer.org/installer | php php composer.phar install --no-dev --prefer-source
Configuration [3]
All system configuration variables are stored in a single .env
file in your project's root. To get started, copy over the .env.example
file to a new .env
file:
cp .env.example .env
nano .env
Create MySQL Database & User
Use cPanel to create a MySQL Database, User, and add the user to the d-base with ALL privileges.
Enter in the MySQL info into the .env file accordingly.
Save the .env file
.htaccess Setup [4]
Follow the instructions to edit the .htaccess file found in /home/ssdcou5/snipe-it