基于Centos8创建可以开通nextcloud服务的LAMP环境的Shell脚本

代码是基于Centos8环境系统
根据nextcloud系统要求进行定制:

在这里插入图片描述

# 升级系统
yum update -y   
# 安装下载工具
yum install wget -y
# 关闭防火墙
#systemctl stop firewalld
#systemctl disable firewalld
#安装必要的依赖
dnf install -y epel-release yum-utils unzip curl bash-completion policycoreutils-python-utils mlocate bzip2

相关文章

Centos系统之Shell编程基础知识
从Export理解Shell环境和变量生存期
linux shell数组变量、类型及规则
Centos编程Shell基本工作原理方案
Centos操作系统编程之Shell 问答录
rsync-linux备份脚本