# Raspberry Pi

# 安装raspbian os

# 初始化os操作

# 打开vnc、ssh

在raspberry pi configuration中的interfaces下,将VNC、SSH改为Enable即可。

# 配置apt源

参考其他文章

# 设置root和pi账户密码

# 设置root密码
sudo passwd root

# 设置root账户ssh登录

编辑/etc/ssh/sshd_config文件,找到PermitRootLogin一行;

如果之前执行过“sudo passwd --unlock root”的话,这里可能会显示“without-passwd”什么的,把这行修改为“PermitRootLogin yes”,保存退出然后重启系统,root账号应该可以直接登录了。

# 安装必备软件

  1. 安装vim

# 设置开启屏幕自动开启

修改/boot目录下config.txt的hdmi_force_hotplug配置(HDMI热插拔),将其改为hdmi_force_hotplug=1

# 设置系统语言

# 安装Java(Java8)

安装Java8 (opens new window)

修改于: 8/11/2022, 3:17:56 PM