我有一个Raspberry Pi 3运行在16上的and服务器,我使用动态DNS来寻址我的IP。我使用无IP作为一个免费的动态DNS,它需要每30天更新一次,否则它将过期。他们为自己的动态DNS更新客户端提供软件包,但据我所知,我无法用Snappy安装这些程序。我的路由器不支持这个,所以我不能这样设置它。
有没有办法用Snappy 16安装这些计划好的更新?对于这些系统,还是有点新的,所以更倾向于更简单的解决方案。
发布于 2016-12-06 16:32:16
首先,您仍然可以在Ubuntu上使用他们的动态更新客户端,只需下载他们的球并使用预构建的二进制文件。
如果这对你来说还不够好的话,那就很容易从它中恢复过来了。创建一个snapcraft.yaml文件,如下所示:
name: dynamic-update-client
version: 2.1.9snap1
summary: No-IP dynamic DNS update client
grade: stable
confinement: strict
description: |
Dynamic DNS Update Client continually checks for IP address changes in the
background and automatically updates the DNS at No-IP whenever it changes.
apps:
noip2:
command: noip2
plugs: [network, network-bind]
parts:
dynamic-update-client:
plugin: make
source: https://www.noip.com/client/linux/noip-duc-linux.tar.gz
source-subdir: noip-2.1.9-1
artifacts: [noip2] # Otherwise it tries to configure while building
build-packages: [gcc, libc6-dev]
organize:
noip2: bin/然后在上面运行snapcraft。
https://askubuntu.com/questions/857606
复制相似问题