chg: [doc] Removed CentOS ref

pull/8056/head
Steve Clement 2021-12-25 11:05:15 +09:00
parent 9cff98016d
commit 090dd70ff9
No known key found for this signature in database
GPG Key ID: 69A20F509BE4AEE9
1 changed files with 0 additions and 42 deletions

View File

@ -185,48 +185,6 @@ yumInstallCoreDeps8 () {
sudo systemctl enable --now php-fpm.service
}
# <snippet-end 0_yumInstallCoreDeps8.sh>
# <snippet-begin 0_yumInstallCoreDeps9.sh>
yumInstallCoreDeps9 () {
# Install the dependencies:
PHP_BASE="/etc/"
PHP_INI="/etc/php.ini"
sudo dnf install httpd -y
sudo dnf install gcc git zip unzip \
httpd \
mod_ssl \
redis \
mariadb \
mariadb-server \
python3-devel python3-pip \
python3-policycoreutils \
policycoreutils-python-utils \
langpacks-en glibc-all-langpacks \
libxslt-devel zlib-devel ssdeep-devel -y
readlink -f /usr/bin/python | grep python3 || sudo alternatives --set python /usr/bin/python3
# Enable and start redis
sudo systemctl enable --now redis.service
# Install PHP 7.4 from Remi's repo, see https://rpms.remirepo.net/enterprise/8/php74/x86_64/repoview/
sudo dnf --enablerepo=remi install php php-fpm php-devel \
php-mysqlnd \
php-mbstring \
php-xml \
php-bcmath \
php-opcache \
php-zip \
php-pear \
php-brotli \
php-intl \
php-gd -y
# cake has php baked in, thus we link to it if necessary.
[[ ! -e "/usr/bin/php" ]] && sudo ln -s /usr/bin/php74 /usr/bin/php
sudo systemctl enable --now php-fpm.service
}
# <snippet-end 0_yumInstallCoreDeps8.sh>
```
```bash