Oracle Cloud ARM64 Ubuntu 24.04 Redroid 安装
概述 在 Oracle Cloud 中可以轻松创建 ARM64 服务器。 本文介绍如何创建 Ubuntu 24.04 ARM64 服务器并安装 redroid。 (<https://github.com/remote android/redroid doc ) 安装 Docker 确认 80 端口的外部访问 查看 OS
GGAMI
概述 在 Oracle Cloud 中可以轻松创建 ARM64 服务器。 本文介绍如何创建 Ubuntu 24.04 ARM64 服务器并安装 redroid。 (<https://github.com/remote android/redroid doc ) 安装 Docker 确认 80 端口的外部访问 查看 OS
目录
在 Oracle Cloud 中可以轻松创建 ARM64 服务器。
本文介绍如何创建 Ubuntu 24.04 ARM64 服务器并安装 redroid。 (https://github.com/remote-android/redroid-doc)
apt update
apt-get install -y apt-transport-https ca-certificates
docker run -d --restart unless-stopped -p 80:80 traefik/whoamicat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logoapt install adbmkdir -p /dev/binderfs
mount -t binder binder /dev/binderfs
ls -l /dev/binderfsapt install linux-modules-extra-`uname -r`
modprobe binder_linux devices="binder,hwbinder,vndbinder"
modprobe ashmem_linux
(error => modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/6.8.0-1012-oracle)
https://github.com/remote-android/redroid-doc/issues/647modprobe ashmem_linux 无法启用。 据说它从内核 5.18 起就被移除了。此外,ashmem_linux 模块据说是可选的。
docker run -itd --rm --privileged \
--pull always \
-v ~/redroid/data-v15:/data \
-p 5555:5555 \
redroid/redroid:15.0.0-latestadb devices
List of devices attached
emulator-5554 device
localhost:5555 deviceadb connect localhost:5555
adb -s localhost:5555 shell getprop ro.product.cpu.abi
arm64-v8aadb connect 10.10.10.10:5555
scrcpy -s 10.10.10.10:5555这样一来,安装就完成了,可以看到以 Docker 镜像形式运行的 redroid 模拟器。

之后也许我会把所有与 adb 相关的命令都写出来。
dmesg | grep binder如果想……检查 binder_linux 和 Android 是否正常连接,可以用这条命令查看日志。