2017年9月14日 星期四

BananaPi M1 安裝CentOS7

原本的BananaPi M1 團隊已經沒有更新,裡面的套件有些已經無法下載
這次將重新安裝 CentOS 為單片機製作的 OS。

下載後的檔案在 Windows 使用 7-zip解壓縮,然後用 Win32DiskImager 燒錄到SD卡上
預設登入的帳號及密碼:root / centos
登入後 root 目錄下有 README 檔案,是關於擴展 /root 分割區
== CentOS 7 userland ==
If you want to automatically resize your / partition, just type the following (as root user):
/usr/local/bin/rootfs-expand <<<< 執行這個就可以了
修改套件庫來源
備份原檔
# 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
安裝常用工具
# yum install which unzip zip bind-utils vim nano mlocate screen lftp wget git

沒有留言:

張貼留言

Aprx version 2.9.0

轉載 Kenneth Finnegan 未讀, 2016年9月15日 下午1:27:49 收件者:aprx-s...@googlegroups.com、TAPR APRS Mailing List Greetings, This is an announcement of the...