树莓派Buster

编辑 /etc/apt/sources.list.d/raspi.list 文件(需要使用 sudo)。以下是 Buster 的参考配置内容:

deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ buster main ui
#deb-src http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ buster main ui

编辑 /etc/apt/sources.list 文件(需要使用 sudo)。删除原文件所有内容,用以下内容取代(以 Buster 示例):

deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
#deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi

# 编辑 /etc/apt/sources.list 文件,删除原文件所有内容,用以下内容取代:
deb http://mirrors.bfsu.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi
deb-src http://mirrors.bfsu.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi

# 编辑 /etc/apt/sources.list.d/raspi.list 文件,删除原文件所有内容,用以下内容取代:
deb http://mirrors.bfsu.edu.cn/raspberrypi/ buster main ui

apt-transport-https

apt install lighttpd
apt-get install php-cgi
lighttpd-enable-mod fastcgi fastcgi-php
service lighttpd force-reload
apt install php-mysql
service lighttpd force-reload
apt install mysql-server

mysql -u root -p
Create DATABASE wordpress;
CREATE USER 'wp'@'127.0.0.1' IDENTIFIED BY '123456';
GRANT ALL PRIVILEGES ON wordpress.* TO wp@'localhost' IDENTIFIED BY '123456' WITH GRANT OPTION;
flush privileges; 

adsb:

apt-get install build-essential debhelper librtlsdr-dev pkg-config dh-systemd libncurses5-dev libbladerf-dev
apt-get install git libncurses5

apt-get install lighttpd

service lighttpd force-reload

deb缺少包apt-get install librtlsdr0

root@jqadsb:~# ls /etc/openvpn/client/
ca.crt  jqadsb.conf  jqadsb.crt  jqadsb.key  jqadsb.ovpn  ta.key

systemctl start openvpn-client@jqadsb.service
systemctl status openvpn-client@jqadsb.service
systemctl enable openvpn-client@jqadsb.service
 

树莓派校准时间

apt-get install ntpdate # 安装服务程序

tzselect # 选择要匹配的时区

ntpdate cn.pool.ntp.org # 更新时间,如果不还用,换成ip

date # 检验时间是否正确
ntp服务器地址:http://www.ntp.org.cn/pool

3.5寸屏幕
  1. git clone https://github.com/waveshare/LCD-show.git
  2. cd LCD-show/
  3. sudo ./LCD35-show

安装完触摸驱动后,可以通过运行以下命令修改屏幕旋转方向。

  1. cd LCD-show/
  2. #X可选0、90、180和270。分别表示LCD旋转0度、90度、180度和270度。
  3. sudo ./LCD35-show X

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值