Issues Installing Snipe-IT on CentOS 7
-
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
-
Using CentOS7 (1708). Works fine on Vultr, bur I need it hosted internally
-
I just did this about 10 minutes ago and it's working great. did you follow the first few steps in the guide on here?
setenforce 0
yum -y install epel-release
mkdir -p /var/www/html; cd /var/www/html/
wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh && chmod 744 install.sh && ./install.sh -
-
only other thing I had to do was open firewall port
firewall-cmd --permanent --add-port=80/tcp
systemctl restart firewalld.service -
- SELinux doesn't need to disabled anymore, however I did try it, same results.
- The directory is created as part of the script, so no need to create it.
- epel-release also already in the script
-
@bnrstnr did you see errors like this?
-
@aaronstuder I would try to create it just for kicks?
-
@bnrstnr I did.
-
@aaronstuder no errors at all, well none that I noticed anyway. I just ran it from XenCenter so I can't scroll back up and look. I'll revert back to clean CentOS install and try again from putty
-
Trying now on Ubuntu
-
You tried with setenforce 0 or you tried manually creating the directories?
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
Trying now on Ubuntu
Why. . ? We know the installation works just fine on CentOS 7
-
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
Thatโs good to know. Since I wanted to install Snipe-IT on Fedora I did it manually until recently when I modified parts of the snipeit.sh to work with Fedora.
-
@bnrstnr Correct.
-
@black3dynamite said in Issues Installting Snipe-IT on CentOS 7:
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
Thatโs good to know. Since I wanted to install Snipe-IT on Fedora I did it manually until recently when I modified parts of the snipeit.sh to work with Fedora.
And then published your script for the community to use?
-
@black3dynamite said in Issues Installting Snipe-IT on CentOS 7:
@dustinb3403 said in Issues Installting Snipe-IT on CentOS 7:
@black3dynamite the installation script has been updated to fix a lot of the issues (particularly with updating).
So it's a completely valid approach to getting snipe-it installed.
Thatโs good to know. Since I wanted to install Snipe-IT on Fedora I did it manually until recently when I modified parts of the snipeit.sh to work with Fedora.
I have a mostly working version designed to be a pull request to the main git. I need to commit my most recent changes and test again after SpiceWorld before I submit the pull request.
-
maybe a stupid question, but did you install epel-release and update all packages before you ran the install script?
-
@bnrstnr said in Issues Installting Snipe-IT on CentOS 7:
maybe a stupid question, but did you install epel-release and update all packages before you did this?
Only a stupid question because the script does that stuff as has been stated.
-
@bnrstnr Yes, makes no difference.