宝塔安装欧拉openeular时报错:cat: etc redhat-release: No such file or directorycat etc o
宝塔安装欧拉openeular时报错:cat: /etc/redhat-release: No such file or directory cat /etc/openEuler-release vi /etc/redhat-release 当前主机名hostname为空无法安装宝塔面板: hostnamectl set-hostname cernet 或 vi /etc/hostname
cp /etc/yum.repos.d/openEuler.repo /etc/yum.repos.d/openEuler.repo.bak
vi /etc/yum.repos.d/openEuler.repo
[OS] name=OS baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/OS/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/OS/x86_64/RPM-GPG-KEY-openEuler [everything] name=everything baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/everything/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/everything/x86_64/RPM-GPG-KEY-openEuler [EPOL] name=EPOL baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/EPOL/main/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/OS/x86_64/RPM-GPG-KEY-openEuler [debuginfo] name=debuginfo baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/debuginfo/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/debuginfo/x86_64/RPM-GPG-KEY-openEuler [source] name=source baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/source/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/source/RPM-GPG-KEY-openEuler [openEuler-update] name=openEuler-update baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/update/x86_64/ enabled=1 gpgcheck=0 [update-source] name=update-source baseurl=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/update/source/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS-SP1/source/RPM-GPG-KEY-openEuler