LCMP 一键安装脚本
LCMP 一键安装脚本是一个用 Bash Shell 编写的,安装 LCMP (Linux + Caddy + MariaDB + PHP) 生产环境的 Shell 脚本。
本脚本全部采用 rpm 或 deb 包(二进制)安装的方式来安装 LCMP 环境。
Caddy 由 Teddysun Repository 提供。
MariaDB 由 MariaDB Repository 提供。
PHP 的 rpm 由 Remi Repository 提供,deb 由 deb.sury.org 提供。
你可以在执行完本脚本后继续使用 dnf 或 apt-get 命令直接安装各种插件。
支持的 PHP 插件:php-pecl-mongodb2,php-pecl-grpc,php-pecl-zip,php-pecl-yac,php-pecl-protobuf,php-pecl-yaml 等。更多详情见此处。
系统需求
硬盘空间: 5 GiB
内存空间: 512 MiB
连接互联网
使用 root 用户
支持软件列表
Caddy 2
MariaDB 10.11, 11.4, 11.8
PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5
支持系统架构
x86_64 (amd64)
aarch64 (arm64)
适用系统
Enterprise Linux 8 / 9 / 10 (CentOS Stream, RHEL, Rocky Linux, AlmaLinux, Oracle Linux)
Debian 11 / 12 / 13
Ubuntu 20.04 / 22.04 / 24.04
如何安装
在 Enterprise Linux 8 / 9 / 10 系统
dnf -y install wget git
git clone https://github.com/teddysun/lcmp.git
cd lcmp
chmod 755 *.sh
./lcmp.sh
在 Debian 11 ~ 13 / Ubuntu 20.04 ~ 24.04 系统
apt-get -y install wget git
git clone https://github.com/teddysun/lcmp.git
cd lcmp
chmod 755 *.sh
./lcmp.sh
更多用法,请参考链接:
https://github.com/teddysun/lcmp


评论已关闭