teddysun / lcmp

Install LCMP (Linux + Caddy + MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu
https://teddysun.com/700.html
GNU General Public License v3.0
207 stars 174 forks source link

Would like to add Armbian support #6

Open shirakun opened 10 months ago

shirakun commented 10 months ago

Hi When I try to run lcmp.sh in armbian it says :Not supported OS, please change OS to Enterprise Linux 7+ or Debian 10+ or Ubuntu 20.04+ and try again.

https://github.com/ophub/amlogic-s9xxx-openwrt

I am using this project compiled by armbian In addition the project has ubuntu server also has the same problem I think the problem is the absence of the debian/ubuntu keyword in /proc/version.


root@armbian:~/lcmp# cat /proc/version
Linux version 6.1.69-ophub (root@fv-az700-154) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 13.2.1 20231009, GNU ld (Arm GNU Toolchain 13.2.rel1 (Build arm-13.7)) 2.41.0.20231009) #1 SMP Thu Dec 21 01:55:19 EST 2023

root@armbian:~/lcmp# cat /etc/os-release
PRETTY_NAME="Armbian-unofficial 24.2.0-trunk bullseye"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
ARMBIAN_PRETTY_NAME="Armbian-unofficial 24.2.0-trunk bullseye"

I would appreciate it if you could add their support!