Original link: https://www.ioiox.com/archives/161.html
The ARM server of Oracle Cloud Oracle Cloud will report an error when installing the environment of
军哥LNMP.org . The main problems are
mariadb . After the reply from the official forum, it has been solved, and it is perfectly installed on the
√> This article is an original article by Stille . It has been practiced, tested, and published. If you need to reprint, please contact the author for authorization, and indicate the reprint address.
Oracle Linux 7.9 ARM aarch64 架构
LNMP 1.9 / PHP 7.4.30 / MariaDB 10.6.8
- The version of cmake is too low, you need to install cmake with yum first, and then upgrade cmake, you can use the soft link.
- Upgrade to gcc 8, pay attention to setting the current version, it will be restored after exiting the terminal, or it can be set permanently.
- Install oniguruma-devel.
# 安装cmake yum -y install epel-release yum -y update yum -y install cmake # 升级cmake cd /usr/local/ wget https://github.com/Kitware/CMake/releases/download/v3.24.0-rc3/cmake-3.24.0-rc3-linux-aarch64.tar.gz tar zxf cmake-3.24.0-rc3-linux-aarch64.tar.gz mv cmake-3.24.0-rc3-linux-aarch64 cmake mv /usr/bin/cmake /usr/bin/cmake.backup ln -sf /usr/local/cmake/bin/cmake /usr/bin/cmake # 查看版本cmake --version
yum -y install centos-release-scl yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-binutils scl enable devtoolset-8 bash # 以上命令仅当前终端使用8 版本,以下命令永久使用. echo "source /opt/rh/devtoolset-8/enable" >>/etc/profile
yum --enablerepo=*EPEL* install -y oniguruma-devel
After the above installation is completed, you can start to install
lnmp 1.8/1.9 environment. So far, it has been running stably for more than half a month for reference.
This article is reprinted from: https://www.ioiox.com/archives/161.html
This site is for inclusion only, and the copyright belongs to the original author.