- 創(chuàng)建磁盤鏡像
cd /mnt/data
dd if=/dev/zero of=entware.img bs=1M count=1024
mkfs.ext4 entware.img
mkdir /opt
mount entware.img /opt
- 安裝entware
cd /opt
wget http://bin.entware.net/aarch64-k3.10/installer/generic.sh
chmod +x generic.sh
./generic.sh
opkg update
- 修改環(huán)境變量
vim /etc/profile
export PATH="/opt/sbin:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin"
source /etc/profile
opkg update
opkg install coreutils
- 添加開(kāi)機(jī)啟動(dòng)
/opt/etc/init.d/rc.unslung start