更新 readme.md
This commit is contained in:
parent
4845cbda51
commit
0cad719ac4
@ -2,10 +2,15 @@
|
||||
在RHEL Linux中自动安装PHP
|
||||
|
||||
本脚本会自动检测RHEL系统和是否位于中国,安装对应的Remi源(中国的RHEL9服务器将安装中国特色源)
|
||||
|
||||
并检查系统空闲内存,对于内存<2G,且空余硬盘空间>5G的系统,将自动装载4G的swap以防止yum被杀
|
||||
|
||||
安装过程中仅需输入一次安装版本,如84即意味着安装php8.4
|
||||
|
||||
安装完成后还将自动安装composer,并为中国大陆服务器配置特色阿里云镜像源
|
||||
|
||||
|
||||
|
||||
wget https://git.laysense.com/laysense/rhelphp/raw/branch/main/rhelphp.bash
|
||||
|
||||
bash ./rhelphp.bash
|
Loading…
Reference in New Issue
Block a user