安卓手机安装Release v0.118.1 · termux/termux-app · GitHub 注意别0.119版本。打开运行以下命令从aliyun安装rocky linux 9.5版本(建议先pkg install openssh从电脑ssh到8022端口):
pkg install proot-distro
proot-distro list
cat << EOF > $HOME/…/…/files/usr/etc/proot-distro/rocky9.sh
此处参照了termux 安装 rockylinux_手机安装rocky linux-CSDN博客
DISTRO_NAME=“Rocky Linux”
DISTRO_COMMENT=“Latest Release.”
TARBALL_MIRROR_URL=“rockylinux安装包下载_开源镜像站-阿里云”
TARBALL_URL[‘aarch64’]=“${TARBALL_MIRROR_URL}/9.5/images/aarch64/Rocky-9-Container-Base-9.5-20241118.0.aarch64.tar.xz”
TARBALL_SHA256[‘aarch64’]=“b6efce3a1231bcd5b883a2af480f3e96490e3cb4e7b75f0a497236852fe2c429”
TARBALL_URL[‘x86_64’]=“${TARBALL_MIRROR_URL}/9.4/images/x86_64/Rocky-9-Container-Base-9.4-20240523.0.x86_64.tar.xz”
TARBALL_SHA256[‘x86_64’]=“c629dd41510cbe273a73b76c7d4e4a549d2c2192fce59dc89d5549b95edfd6ca”
EOF
proot-distro list
proot-distro install rocky9
然后进入rocky linux
proot-distro login rocky9
参照Download EMQX Open Source 安装并运行arm版本emqx(非x86):
wget https://www.emqx.com/en/downloads/broker/5.8.4/emqx-5.8.4-el9-arm64.tar.gz
mkdir -p emqx && tar -zxvf emqx-5.8.4-el9-arm64.tar.gz -C emqx
./emqx/bin/emqx start
看到以下出错信息
erl_child_setup closed
Crash dump is being written to: erl_crash.dump…done
ERROR: call_hocon_failed: -s emqx_conf_schema -c /home/tmp/emqx/etc/emqx.conf multi_get node.data_dir node.name node.cookie node.db_backend cluster.proto_dist node.dist_net_ticktime
求救!