树莓派笔记 安装PiKISS
简介
PiKISS (Pi Keeping It Simple, Stupid!)是针对Raspberry Pi板(主要是Raspberry PI OS Desktop,TwisterOS和Debian的衍生产品,都是32位版本)的脚本(Bash),它有一个菜单,可以让你尽可能简单地自动安装一些应用程序或配置文件。
项目地址
https://github.com/jmcerrejon/PiKISS
镜像站
https://hub.fastgit.org/jmcerrejon/PiKISS
安装方式
只要输入这条命令,就可以安装了。
$ curl -sSL https://git.io/JfAPE | bash
如果出现如下错误:
pi@raspberrypi:~ $ curl -sSL https://git.io/JfAPE | bash
curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接
pi@raspberrypi:~ $
那么只要修改/etc/hosts
pi@raspberrypi:~ $ sudo nano /etc/hosts
添加如下内容
199.232.68.133 raw.githubusercontent.com
国内下载github的东西会比较慢,可以在/etc/hosts中加入如下内容
# GitHub Start
52.74.223.119 github.com
13.250.177.223 gist.github.com
192.30.255.116 api.github.com
185.199.108.153 assets-cdn.github.com
199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 gist.githubusercontent.com
199.232.68.133 cloud.githubusercontent.com
199.232.68.133 camo.githubusercontent.com
199.232.68.133 avatars0.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars3.githubusercontent.com
199.232.68.133 avatars4.githubusercontent.com
199.232.68.133 avatars5.githubusercontent.com
199.232.68.133 avatars6.githubusercontent.com
199.232.68.133 avatars7.githubusercontent.com
199.232.68.133 avatars8.githubusercontent.com
# GitHub End
github.com的IP是我这边查询的
这个IP地址可以通过下列这种网站查询
https://site.ip138.com/
https://www.ipaddress.com/
输入我们的的域名,例如
github.com
请求完毕后,把结果按照响应时间排序,找到响应最快的IP。查询到的结果可以ping一下看看。
启动方式
1.在目录的系统工具中可以看到PiKISS ,单击打开
2.输入以下命令
pi@raspberrypi:~ $ cd /home/pi/piKiss/
pi@raspberrypi:~ $ ./piKiss.sh
界面
附录
我本地使用的是树莓派4B,2020-05-27-raspios-buster-full-armhf