我的环境
Model : Raspberry Pi 3 Model B Rev 1.2
Linux raspberrypi 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux
noip安装
下载
https://www.noip.com/download?page=linux
wget https://dmej8g5cpdyqd.cloudfront.net/downloads/noip-duc_3.0.0-beta.6.tar.gz
解压
tar xf noip-duc_3.0.0-beta.6.tar.gz
cd noip-duc_3.0.0-beta.6
安装rust环境
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
或者
curl https://sh.rustup.rs -sSf | sh
选择 1
环境变量
source "$HOME/.cargo/env"
cargo换源
vi ~/.cargo/config
[source.crates-io]
replace-with = 'tuna'
[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
生成
cargo build --release
sudo cp target/release/noip-duc /usr/local/bin
noip运行示例
noip-duc -g myhostname.ddns.net -u username -p password
卸载rust
rustup self uninstall
文章讲述了如何在RaspberryPi3ModelBRev1.2上安装noip动态域名更新客户端(DUC),包括下载软件包,安装rust环境,配置cargo源,编译并移动二进制文件到usr/local/bin,以及提供了运行示例和卸载rust的步骤。
2907

被折叠的 条评论
为什么被折叠?



