Issues Installing Snipe-IT on CentOS 7
-
@black3dynamite root
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
-bash: git: command not found
WTF?
I added git to the CentOS 7 instructions months ago via pull request that was accepted. so the latest update must have removed it.
Edit: Nope, still listed.
PACKAGES="httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml"
-
so look higher in the log for the yum install for git. is there an error?
-
mariadb-server isn't installed.....
-
All the package install are wrapped in a log command
log "yum -y install $p"
-
@aaronstuder I'm looking over the script now. Which OS are currently using the script on? Ubuntu 17.04 or CentOS 7?
-
When you do the install the screen shows "installing $package" or "$package already installed"
You have to see one or the other, or have completely fucked something else up.
for p in $PACKAGES;do if isinstalled "$p"; then echo " * $p already installed" else echo " * Installing $p ... " log "yum -y install $p" fi done;
-
@black3dynamite CentOS7
-
@black3dynamite said in Issues Installting Snipe-IT on CentOS 7:
@aaronstuder I'm looking over the script now. Which OS are currently using the script on? Ubuntu 17.04 or CentOS 7?
There is nothing wrong with the script.
-
I just ran the script back to back and both time it says it is installing all the packages.... it’s only shows as installed if I manually install them ahead of time....
-
Where is the log located? I am just posting the output of the script.
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
I just ran the script back to back and both time it says it is installing all the packages.... it’s only shows as installed if I manually install them ahead of time....
Are you running the install script as a user with root access?
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
Where is the log located? I am just posting the output of the script.
/var/log/snipeit-install.log
-
@dustinb3403 yes, running them as root.
-
Lots and lots of connections errors like this.....
http://pubmirrors.dal.corespace.com/centos/7.4.1708/os/x86_64/Packages/mariadb-5.5.56-2.el7.x86_64.rpm: [Errno 14] curl#7 - "Failed connect to pubmirrors.dal.corespace.com:80; Connection refused"
-
@aaronstuder said in Issues Installting Snipe-IT on CentOS 7:
I was able to download it from Firefox. Your proxy server could be interfering with your downloads.
-
@aaronstuder give us the output of
ip addr
Is the ip address, netmask and gateway all correct?
-
Running
yum -y install httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml
Seems to be working....
-
@dustinb3403 Yes.
-
Hmmmmm.....
[root@snipeit html]# yum -y install epel-release httpd mariadb-server git unzip php71u php71u-mysqlnd php71u-bcmath php71u-cli php71u-common php71u-embedded php71u-gd php71u-mbstring php71u-mcrypt php71u-ldap php71u-json php71u-simplexml Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos-distro.cavecreek.net * epel: fedora-epel.mirror.iweb.com * extras: ftpmirror.your.org * updates: centos.den.host-engine.com Package epel-release-7-10.noarch already installed and latest version Package httpd-2.4.6-67.el7.centos.2.x86_64 already installed and latest version Package 1:mariadb-server-5.5.56-2.el7.x86_64 already installed and latest version Package git-1.8.3.1-12.el7_4.x86_64 already installed and latest version Package unzip-6.0-16.el7.x86_64 already installed and latest version No package php71u available. No package php71u-mysqlnd available. No package php71u-bcmath available. No package php71u-cli available. No package php71u-common available. No package php71u-embedded available. No package php71u-gd available. No package php71u-mbstring available. No package php71u-mcrypt available. No package php71u-ldap available. No package php71u-json available. No package php71u-simplexml available. Nothing to do