Skip to content

CentOS 7 Up #378

Description

@gregouzdev

1 - exec > >(tee -i /var/log/ispconfig_setup.log)

# sh install.sh
Checking internet connection... [DONE]
install.sh: line 68: syntax error near unexpected token `>'
install.sh: line 68: `exec > >(tee -i /var/log/ispconfig_setup.log)'

CentOs syntax error for '>()', use mkfifo

mkfifo /tmp/ispconfig_setup.fifo
tee -i /var/log/ispconfig_setup.log < /tmp/ispconfig_setup.fifo &
exec > /tmp/ispconfig_setup.fifo 2>&1

2 create in /distros/centos7/

# sh install.sh
Checking internet connection... [DONE]
Checking your system, please wait... [DONE]

install.sh: line 145: /tmp/ispconfig/servisys-ispconfig_setup-a0b4211/distros/centos7/install_hhvm.sh: No such file or directory
install.sh: line 156: /tmp/ispconfig/servisys-ispconfig_setup-a0b4211/distros/centos7/install_basephp.sh: No such file or directory

-> install_hhvm.sh

InstallHHVM() {
  if [ $CFG_SETUP_WEB = "yes" ]; then
    echo -n "Installing HHVM (Hip Hop Virtual Machine)... "
    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
    hide_output yum -y update
    yum -y install hhvm
    echo -e "[${green}DONE${NC}]\n"
  fi
}

-> install_basephp.sh

InstallBasePhp(){
  echo -n "Installing basic PHP modules... "
  yum -y install php-cli php-mysql php-mcrypt php-mbstring
  echo -e "[${green}DONE${NC}]\n"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions