关键字: 树莓派, Linux, Python, Openssl
前言: 本文意在记录树莓派Linux环境中所遇问题与及其解决方法。
本文章持续随缘更新中…
PS: 个人使用环境为 树莓派4, RaspberrypiOs, Python39+
一、系统环境
1、搭建树莓派系统环境
参考教程:
无显示器首次启动树莓派并连接WIFI进行SSH(解决无显示器首次开机无法连接WIFI问题)
或
无需手动配置文件使用Raspberry Pi Imager无显示器首次启动树莓派并连接WIFI进行SSH
2、安装(更替)openssl
- 查找并删除系统自带openssl软链接
whereis openssl
openssl: /usr/bin/openssl /usr/share/man/man1/openssl.1ssl.gz
sudo rm /usr/bin/openssl
- 在https://www.openssl.org/source/ File列表中找到 openssl_1.x.x.tar.gz 文件下载并解压
wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz
tar zxvf openssl-1.1.1k.tar.gz
- 进入解压文件夹并配置编译路径
cd openssl-1.1.1k
./config --prefix=/usr/local/bin/openssl
成功提示
**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem