BeagleBone shortcut is BBB.
passwd
(click Yes if needed to perform upgrade). First upgrade can take ~30mins.
sudo apt-get update && sudo apt-get dist-upgrade
reboot
Edit /boot/uEnv.txt
and uncomment following lines
disable_uboot_overlay_video=1
disable_uboot_overlay_audio=1
disable_uboot_overlay_wireless=1
(if you need some you can just avoid disabling it).
sudo systemctl disable bonescript-autorun nginx wpa_supplicant bonescript.socket cloud9.socket cryptsetup.target
reboot
sudo apt-get install libopenjp2-7-dev libatlas-base-dev python3-venv
Now there are 2 ways to install BoneIO app.
Follow on screen instruction.
bash -c "$(wget -qLO - https://github.com/boneIO-eu/app_black/raw/main/install_script.sh)"
Preffered way.
Let’s assume installing as default debian user in home directory and Python 3.7 as base.
mkdir ~/boneio
python3 -m venv ~/boneio/venv
source ~/boneio/venv/bin/activate
pip3 install --upgrade boneio
cp ~/venv/lib/python3.7/site-packages/boneio/example_config/*.yaml ~/boneio/
Now edit ~/boneio/config.yaml
source ~/boneio/venv/bin/activate
boneio run -c ~/boneio/config.yaml -dd
Create file `~/boneio/boneio.service
[Unit]
Description=boneIO
After=multi-user.target
[Service]
Type=simple
ExecStart=/home/debian/boneio/venv/bin/boneio run -c /home/debian/boneio/config.yaml
[Install]
WantedBy=multi-user.target
Copy file to systemd and enable it.
sudo cp ~/boneio/boneio.service /lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now boneio