bb98ce9cdd5dd4e4e29e2b94db11cfe124bbf75c max Thu Jan 4 07:05:37 2024 -0800 had committed a broken version of the installation script, fixing that now diff --git src/product/installer/browserSetup.sh src/product/installer/browserSetup.sh index 13b8b0c..2af110f 100644 --- src/product/installer/browserSetup.sh +++ src/product/installer/browserSetup.sh @@ -831,38 +831,40 @@ else echo2 Mysql already installed fi # MySQL-python is required for hgGeneGraph # CentOS up to and including 7 default to python2, so MySQL-python is in the repos if yum list MySQL-python 2> /dev/null ; then yum -y install MySQL-python # Centos 8 defaults to python3 and it does not have a package MySQL-python anymore # So we install python2, the mysql libraries and fix up my_config.h manually # This is strange, but I was unable to find a different working solution. MariaDB simply does not have my_config.h else if [ `numCompare $VERNUM 9` == "<" ] ; then installPy2MysqlRedhat else - echo Not install Python2, this Linux does not have it and it should not be needed anymore + echo2 Not installing Python2, this Linux does not have it and it should not be needed anymore fi fi # open port 80 in firewall - if [ $VER + if which firewall-cmd ; then + echo2 Opening port HTTP/80 in firewall using the command firewall-cmd sudo firewall-cmd --zone=public --permanent --add-service=http sudo firewall-cmd --reload + fi } # OSX specific setup of the installation function installOsx () { # check for xcode if [ -f /usr/bin/xcode-select 2> /dev/null > /dev/null ]; then echo2 Found XCode else echo2 echo2 'This installer has to compile the UCSC tools locally on OSX.' echo2 'Please install XCode from https://developer.apple.com/xcode/downloads/' echo2 'Start XCode once and accept the Apple license.' echo2 'Then run this script again.' exit 100