读好书,交益友
发布时间:2022-09-01 15:05:00
准备在rust中使用curl库cargo add curl编译的时候Compiling openssl-sys v0.9.75error: failed to run custom build command for `openssl-sys v0.9.75`Caused by: process didn't exit successfully: `/learning/rustproject/curlupload/target/debug/build/openssl-sys-88f374ddceb301fe/build-script-main.........【阅读全文】
发布时间:2022-08-29 10:13:45
1 查看工具链rustup showDefault host: x86_64-unknown-linux-gnurustup home: /home/hongrui/.rustupinstalled targets for active toolchain--------------------------------------armv7-unknown-linux-musleabihfx86_64-unknown-linux-gnux86_64-unknown-linux-muslactive toolchain------------.........【阅读全文】
发布时间:2022-08-18 18:42:38
安装第三方包 sudo apt-get install libnl-route-3-devsudo apt-get install libnl-genl-3-devsudo apt-get install libnl-3-dev下载源码http://w1.fi/releases/wpa_supplicant-2.10.tar.gz解压缩cp defconfig .configvim .config//去掉 “#CONFIG_EAPOL_TEST=y” 前的注释//去掉 "#CONFIG_LIBNL32=y" .........【阅读全文】
发布时间:2022-07-31 15:50:40
现在系统中至少有好几个版本的openssl,因此nginx静态链接openssl是必须要做的事情。1编译openssl运行config make build_generated libcrypto.a在/root/openssl-1.1.1p/.openssl/lib生成 libcrypto.a libssl.a2 编译nginx./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx.........【阅读全文】
发布时间:2022-07-30 20:08:50
For disable logging permanantly (embedded system with low disk space) remove loggind deamons, edit /etc/defaults or remove init scripts from the rc (runlevel-configuration) directories.In the rsyslog configuation file /etc/rsyslog.conf, replace the “/var/log/messages” by the new directory name.&.........【阅读全文】