树莓派Raspberry Pi适用的CentOS7已更新

CentOS社区发布了适用于树莓派的CentOS 7.3 1611。与上一个版本(1511)一样,系统镜像的更新不仅包括了树莓派Raspberry Pi 2B和3B的版本(32位?),还有香蕉派Banana Pi和CubieBoard适用的版本。

下载地址:

树莓派Raspberry Pi 2B
树莓派Raspberry Pi 3B

注意:

  1. 系统为“Minimal”,即“最简系统”,应该不包含图形界面,如果需要图形界面,可自行安装(不建议);
  2. Windows系统中,镜像烧写方法与Raspbian相仿,可使用Win32DiskImager烧写;
  3. 默认登录用户名及密码为:root,centos;
  4. 系统未安装自动对时工具,有需要的话,执行下列命令:
    yum install chrony
    systemctl start chronyd
  5. 树莓派适用的版本,SELinux默认关闭,使用前请了解清楚可能面临的风险。启用方法为:
    /etc/sysconfig/selinux中的permissive改为enforcing然后再执行命令:touch /.autorelabel
  6. 系统盘扩展程序,执行命令:/usr/local/bin/rootfs-expand
  7. 启用EPEL:
    cat > /etc/yum.repos.d/epel.repo >> EOF
    [epel]
    name=Epel rebuild for armhfp
    baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
    enabled=1
    gpgcheck=0
    
    EOF
  8. 更换中科大软件源,执行下列命令:
    cp -a /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
    sed -i "s/mirror\.centos\.org\/altarch/mirrors.ustc.edu.cn\/centos-altarch/g" /etc/yum.repos.d/CentOS-Base.repo
    

    (网友加菲同学操作的参考)

参考:树莓派Raspberry Pi适用的CentOS7已发布


已发布

分类

,

来自

标签:

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注