Cole Smith
January 22, 2022
This document will walk you through installing Arch Linux ARM on the DevTerm A06. At the time of writing, only Armbian is supported on the DevTerm.
Cole Smith
January 22, 2022
This document will walk you through installing Arch Linux ARM on the DevTerm A06. At the time of writing, only Armbian is supported on the DevTerm.
yay -S qemu-user-static
).
pcre-static
and update PGP keys (follow the tips in the comments here).systemd-binfmt
, the revamped version of binfmt-support
tools
systemd-binfmt
unit (systemctl status systemd-binfmt
) and (re)start if needed (sudo systemctl restart systemd-binfmt
)
sudo mount /dev/sdb2 arm_mountpoint
)/usr/bin/qemu-arm-static
on my distro) to the mounted root directory's usr/bin
NOTICE: This will take up about 3 GB of space on your device, before syncing any repos or projects.
Install Termux from the Play Store and launch it
Once it finishes unpacking:
pkg update
pkg upgrade -y
S3_ENABLED=true | |
S3_BUCKET=media.yourdomain.com ← 自分の作ったバケット名(mediaなどをつけてエイリアスを使う場合はOptionalも設定する) | |
AWS_ACCESS_KEY_ID=ABCDEFGHIJKLMNOPQRST ← 設定されたアクセスキー | |
AWS_SECRET_ACCESS_KEY=ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890abcd ← 設定されたシークレットキー | |
S3_REGION=ap-northeast-1 ← 東京リージョンならこれ | |
S3_PROTOCOL=https | |
S3_ENDPOINT=https://s3-ap-northeast-1.amazonaws.com ← 東京リージョンならこれ | |
# Optional alias for S3 (e.g. to serve files on a custom domain, possibly using Cloudfront or Cloudflare) | |
S3_CLOUDFRONT_HOST=media.yourdomain.com ←ここに自分の設定した S3Bucket と Cloudflare で合わせた CNAME 入れる |
Create file /etc/systemd/system/[email protected]
. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin
, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
Most embedded devices use a read-only root filesystem. This can make them more resilient to unexpected shutdowns that could otherwise cause data corruption. Depending on your application, you might consider your Pi to be an embedded system. This can also help with some issues that can come from SD card unreliability.
Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.
Login with default username and password: (ArchLinux Arm: alarm, alarm, Raspbian: pi, raspberry)
nano /etc/ssh/sshd_config
#!/system/bin/sh | |
# Run "chmod 755 /system/bin/playlpm; chown 0:2000 /system/bin/playlpm || chmod 0:2000 /system/bin/lpm; chown 0:2000 /system/bin/lpm" with root access after creating this file | |
/system/bin/reboot |
SWIFT_ENABLED=true | |
SWIFT_USERNAME=gncuなんとか | |
SWIFT_TENANT=gnctなんとか | |
SWIFT_PASSWORD=[APIパスワード] | |
SWIFT_AUTH_URL=https://identity.tyo1.conoha.io/v2.0/tokens | |
SWIFT_CONTAINER=mayodon | |
SWIFT_OBJECT_URL=https://media.s-tomo.jp/mayodon |
이 문서가 여기저기 알려짐에 따라, 이곳에 여러가지 댓글이 달리고 있습니다. 개인적으로는 댓글창을 없애버리고 싶지만 그럴 수 없는 터라, 댓글을 달기 전에 한번씩만 더 생각해주셨으면 합니다.
위 사항들을 포함해 제 마음에 안 드는 댓글들은 임의로 삭제하고 있습니다. 양해 부탁드립니다.
\x1b[48;5;216m \x1b[48;5;223m\x1b[38;5;216m▄▄ \x1b[48;5;216m\x1b[38;5;223m▄ \x1b[48;5;222m\x1b[38;5;216m▄\x1b[48;5;228m\x1b[38;5;222m▄ \x1b[48;5;229m\x1b[38;5;228m▄\x1b[38;5;186m▄▄▄\x1b[48;5;186m\x1b[38;5;144m▄\x1b[48;5;101m\x1b[38;5;242m▄\x1b[48;5;110m\x1b[38;5;153m▄\x1b[48;5;153m \x1b[38;5;110m▄ \x1b[38;5;110m▄\x1b[48;5;195m\x1b[38;5;153m▄\x1b[48;5;110m\x1b[38;5;153m▄\x1b[48;5;241m\x1b[38;5;243m▄\x1b[48;5;102m \x1b[48;5;244m\x1b[38;5;243m▄\x1b[48;5;242m\x1b[38;5;241m▄\x1b[48;5;240m\x1b[38;5;241m▄\x1b[48;5;241m\x1b[38;5;102m▄\x1b[48;5;246m\x1b[38;5;242m▄\x1b[48;5;153m\x1b[38;5;110m▄\x1b[48;5;244m\x1b[38;5;110m▄\x1b[48;5;101m\x1b[38;5;241m▄\x1b[48;5;185m\x1b[38;5;144m▄\x1b[48;5;228m \x1b[38;5;222m▄\x1b[48;5;222m\x1b[38;5;223m▄▄\x1b[48;5;223m \x1b[38;5;216m▄\x1b[48;5;216m \x1b[0m | |
\x1b[48;5;216m \x1b[48;5;223m\x1b[38;5;216m▄▄ \x1b[48;5;216m\x1b[38;5;223m▄▄ \x1b[48;5;222m\x1b[38;5;216m▄\x1b[48;5;228m\x1b[38;5;222m▄▄ \x1b[48;5;186m\x1b[38;5;144m▄ |