燒錄了三次的 Image 才成功,有些辛苦。
預設登入的帳號及密碼:root / bananapi
登入後 root 目錄下有 README 檔案,是關於擴展 /root 分割區及無線網路相關的設定
# cat /root/README
== CentOS 7 userland ==
If you want to automatically resize your / partition, just type the following (as root user):
touch /.rootfs-repartition
systemctl reboot
For wifi on the rpi3, just proceed with those steps :
curl –location https://github.com/RPi-Distro/firmware-nonfree/raw/54bab3d6a6d43239c71d26464e6e10e5067ffea7/brcm80211/brcm/brcmfmac43430-sdio.bin > /usr/lib/firmware/brcm/brcmfmac43430-sdio.bin
curl –location https://github.com/RPi-Distro/firmware-nonfree/raw/54bab3d6a6d43239c71d26464e6e10e5067ffea7/brcm80211/brcm/brcmfmac43430-sdio.txt > /usr/lib/firmware/brcm/brcmfmac43430-sdio.txt
systemctl reboot
[@more@]修改套件庫來源
備份原檔
# cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.$(date +%F)
修改 CentOS-Base.repo
# sed -i ‘s|^baseurl=http://mirror.centos.org/altarch|baseurl=ftp://140.111.74.109/Linux/CentOS/altarch|’ /etc/yum.repos.d/CentOS-Base.repo
清除舊有及更新
# yum clean all;yum update
更新前
# cat /etc/redhat-release
Derived from Red Hat Enterprise Linux 7.2 (Source)
更新後
# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
系統有些精簡,有些個人習慣使用的工具都沒有,底下特別補上
# yum install which unzip zip bind-utils vim nano mlocate screen lftp wget