BC Linux是个啥?
BC Linux(Big Cloud Linux)是中移动基于OpenEuler做的操作系统,我司运行在鲲鹏ARM服务器上的BC Linux是基于OpenEuler 20.12。
在编译opengauss的时候,脚本要读取 /etc/openEuler-release 而 BC Linux没有这个文件。
所以创建文件并写入内容:
echo "openEuler release 20.12" > /etc/openEuler-release
在 BC Linux 上编译opengauss,按照 openeuler 来编译即可。
yum源的问题,能连到外网,但是/etc/yum.repo.d/目录下啥也没有,依赖包安装不了,试了一下openEuler-20.03-LTS的源,可以用:
这个源的一个好处是,go语言是1.13版本的,可以用于编译etcd
[root@eulerbianyiji02 ~]# cat /etc/yum.repos.d/openEuler_aarch64.repo
[base]
name=openEuler20.03LTS
baseurl=https://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/
enabled=1
gpgcheck=0
我的操作系统版本:
[root@eulerbianyiji02 ~]# cat /etc/os-release
NAME="BigCloud Enterprise Linux"
VERSION="20.12"
ID="bclinux"
VERSION_ID="20.12"
PRETTY_NAME="BigCloud Enterprise Linux For Euler 20.12"
ANSI_COLOR="0;31"