Jeremy 发表于 2023-8-28 09:10:03

统信1060版安装lnmp提示不支持

本帖最后由 Jeremy 于 2023-8-28 09:11 编辑

使用 统信欧拉版1060e 安装lnmp时提示如下:
"Unable to get Linux distribution name, or do NOT support the current distribution."

检查发现是 统信系统文件又改名啦!

1050e
cat /etc/issue
UnionTech OS Server 20 1050e \n \l
cat /etc/os-release
PRETTY_NAME="UnionTech OS Server 20"
NAME="UnionTech OS Server 20"
VERSION_ID="20"
VERSION="20"
ID=uos

1060e

cat /etc/issue
UOS Server 20 1060e \n \l
cat /etc/os-release
PRETTY_NAME="UOS Server 20"
NAME="UOS Server 20"
VERSION_ID="20"
VERSION="20"
ID=uos

解决方法

修改系统检查文件 “include/main.sh“


原配置
elif grep -Eqi "UnionTech OS" /etc/issue || grep -Eq "UnionTech OS" /etc/*-release; then修改

elif grep -Eqi "UnionTech OS" /etc/issue || grep -Eq "UnionTech OS" /etc/*-release || grep -Eqi "UOS Server" /etc/issue; then
重新执行继续安装



licess 发表于 2023-8-28 14:57:03

收到

突然就改名字的也是少有
页: [1]
查看完整版本: 统信1060版安装lnmp提示不支持