Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 7 Up #378

Open
gregouzdev opened this issue Mar 13, 2023 · 0 comments
Open

CentOS 7 Up #378

gregouzdev opened this issue Mar 13, 2023 · 0 comments

Comments

@gregouzdev
Copy link

gregouzdev commented Mar 13, 2023

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant