SnipeIT install - anyone have a working guide?
-
Ok, it appears that I've got an install started here. The installer isn't happy with the php version included with the CentOS7 default repository. I used @JaredBusch's nextcloud instructions to get php71 installed: https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi
cd /opt git clone https://github.com/snipe/snipe-it
Install composer (make sure to be a regular user and that the snipe-it directory is owned by the user account used to install composer)
curl -sS https://getcomposer.org/installer | php php composer.phar install --no-dev --prefer-source /opt/snipe-it/install.sh
The install is still running, but no errors now. You can probably use PHP 5.6, which you'd need to specify php56 when installing instead of PHP 7.1.
-
@travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).
#Install PHP and other needed stuff. echo "## Installing PHP and other needed stuff"; PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
-
The installer finished up with no problems, but I've got this when I goto the web page:
![alt text]( image url)
Should've told me that during the install Looking through logs will have to wait.
-
@Romo said in SnipeIT install - anyone have a working guide?:
@travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).
#Install PHP and other needed stuff. echo "## Installing PHP and other needed stuff"; PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
Not exactly.
That installer is installing PHP 5.6 modules specifically.
-
@Romo said in SnipeIT install - anyone have a working guide?:
Their install script still works fine for me, just created a new install with it.
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
Did you have to do anything else besides the above steps? I know that I ran through that process and it failed to work. Will check the logs shortly, building a clean installation.
-
@Romo Yep, it works. I was making it way harder than it needs to be.
-
@DustinB3403 I cloned a vanilla Centos 7 minimal vm, ran yum update, installed wget, downloaded the script and ran the script.
That got me to a working SnipeIT installation which I just used to validate my production SnipeIT vm backups and they are working fine.
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
chmod 744 install.sh
./install.shThe install script adds the IUS repo for PHP.
-
script worked perfectly.
Just did this from a CentOS 7 Minimal r1611 ISO on my Hyper-V lab.
-
Trying in my lab right now and see what occurs, if anything.
-
Yeah. . .
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
Not working for me. . . wth.
-
Yet on another build it works. . . . wtf. . . .
So odd.
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yet on another build it works. . . . wtf. . . .
So odd.
What is your source media?
-
@JaredBusch said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yet on another build it works. . . . wtf. . . .
So odd.
What is your source media?
The above installation steps, all 3 of them.
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
@JaredBusch said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yet on another build it works. . . . wtf. . . .
So odd.
What is your source media?
The above installation steps, all 3 of them.
For your OS....
-
@JaredBusch said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
@JaredBusch said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yet on another build it works. . . . wtf. . . .
So odd.
What is your source media?
The above installation steps, all 3 of them.
For your OS....
Oh sorry, CentOS7 from their site. I don't recall which link I used to pull it.
Worth giving that a shot and downloading a different minimal iso.
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
@JaredBusch said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
@JaredBusch said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yet on another build it works. . . . wtf. . . .
So odd.
What is your source media?
The above installation steps, all 3 of them.
For your OS....
Oh sorry, CentOS7 from their site. I don't recall which link I used to pull it.
Worth giving that a shot and downloading a different minimal iso.
CentOS 7 from whose site? CentOS?
That means this site: https://www.centos.org/download/Use the minimal button should result in this link: http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1611.iso
That is what I installed from.
-
Yeah that is the site I was referring.
-
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yeah. . .
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
Not working for me. . . wth.
Just out of curiosity, why 744?
-
@stacksofplates said in SnipeIT install - anyone have a working guide?:
@DustinB3403 said in SnipeIT install - anyone have a working guide?:
Yeah. . .
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh chmod 744 install.sh ./install.sh
Not working for me. . . wth.
Just out of curiosity, why 744?
That comes from their directions.
https://snipe-it.readme.io/v3.6.2/docs/downloading