惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

博客园 - 茶猫的学习笔记

WSL2 中使用 Arch Linux Beyond Compare 4 便携版 添加右键菜单 [Ubuntu 20.04] 修复‘systemd-shutdown[1]: waiting for process: crond’需等待1分半钟的问题 解决Ubuntu 20.04升级后gnome-control-center设置程序无法打开问题 Canon LBP2900安装Linux驱动的方法 CentOS8 安装 simple-scan 的方法 CentOS8 缺少 libglade2 安装包的回避方法 CentOS8 使用 aliyun 阿里云 镜像站点的方法 CentOS7或CentOS8 开机自动启用网卡的设置方法 CentOS7或CentOS8 安装VirtualBox Guest Addon缺少kernel-headers的解决办法 KDE-解决.docx .xlsx .pptx文档默认由Ark打开的问题 树莓派-Ubuntu Mate开启ssh服务 树莓派-Ubuntu Mate开启远程桌面xrdp服务 树莓派-为Ubuntu Mate更换国内源 [转] CentOS 5.x 键盘布局改为日语 Debian/Ubuntu安装WPS (转) Vmware中Linux或macOS客户端如何回收硬盘空间 OS X 10.11:在exFAT分区的外置硬盘上使用Time Machine。 OS X 10.11:如何完全停用Time Machine。
树莓派-CentOS-Minimal arm版的设置
茶猫的学习笔记 · 2019-08-14 · via 博客园 - 茶猫的学习笔记

将镜像用 balenaEtcher 写入到树莓派SD卡并启动后,需要对其进行一些设置才能正常使用。

1. 用户名 root 密码 centos

2. 扩展 rootfs 到最大可用空间:cat README 查看如何扩展,按提示运行 /bin/rootfs-expand

3. 创建新用户 useradd pi 然后设置密码 passwd pi 

    如有需要,切换到 root,运行 vi /etc/sudoers 将其加入sudoers列表。

4. 网络默认使用DHCP,如需分配静态IP,需要进行如下配置。

    运行 ip addr 查看网卡名称和MAC地址,如eth0,运行 vi /etc/sysconfig/network-scripts/ifcfg-eth0 编辑或新建配置文件,内容改成当前网络的设置。

DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.0.1.255
HWADDR=b8:27:eb:ca:63:6c
IPADDR=10.0.1.133
IPV6INIT=no
IPV6_AUTOCONF=no
NETMASK=255.255.255.0
GATEWAY=10.0.1.1
DNS1=10.0.1.1
ONBOOT=yes

    完成设置后,运行 service network restart 重新启动网络。

5. 安装并配置 ssh:

    运行 yum list installed | grep openssh-server 查看服务是否被安装,如未安装,运行 yum install openssh-server 安装。

    运行 service sshd restart 重启ssh服务,并运行 service sshd status 查看服务运行状态。

    运行 systemctl enable sshd.service 将ssh服务加入开机启动项,并运行 systemctl list-unit-files | grep sshd 验证。

6. 运行 yum update 更新软件包:

    如遇到 Found 10 pre-existing rpmdb problem(s), 'yum check' output follows...的重复软件包的错误提示,需要安装 yum-utils 清理。

    运行 yum install yum-utils 后执行 package-cleanup --dupes 查看重复软件包,运行 package-cleanup --cleandupes 进行清理。

    最后运行 package-cleanup --problem 查看是否有其他问题。