Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
vi /etc/yum.repos.d/appstream.repo

# paste in
[ol8_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=https://yum.oracle.com/repo/OracleLinux/OL8/appstream/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

#run dnf update
dnf update


Install/Enable Firewalld

Code Block
dnf install firewalld
systemctl enable firewalld
systemctl start firewalld


Install PHP

Code Block
dnf module reset php
dnf module enable php:7.4
dnf -y install php
dnf -y install php-process php-xml php-pecl-apcu php-gd php-intl php-mbstring php-pdo php-soap php-pecl-zip php-mysqlnd

...