Install curl command on Ubuntu Snappy Core

Paul

I'm trying to set up a cron job to point Duckdns to my Nextcloud server. The server is a raspberry pi 3 running Ubuntu Snappy Core. I'm following the steps at http://www.duckdns.org/install.jsp . I've been looking around the internet, and I can't find any way to install curl as a snap. Does anyone know of an alternative to the curl command that I can use? Or, could someone walk me through building a snap for the curl command?

kyrofa

Ubuntu Core doesn't have cron, so even if you get a snap for curl you won't be able to automate this. When approaching this type of issue, creating a snap for the product you need is the perfect step. Basically, create a snap that includes curl, but also includes a service that runs every five minutes to update the DNS records.

This one is particularly easy, so I threw one together for you to learn with. The README outlines how to use it, but I'll reproduce it here. Install it with:

$ sudo snap install duckdns-kyrofa

Configure it by providing your token:

$ snap set duckdns-kyrofa token=<secret>

And configure your domain name list (comma-separated, no spaces):

$ snap set duckdns-kyrofa domains=domain1.com,domain2.com

That's it. The daemon runs every five minutes. Check the journal for output, including any problems:

$ journalctl -u snap.duckdns-kyrofa.duckdns.service

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Install Ubuntu Snappy Core on a computer

From Dev

How to install a desktop on Ubuntu Snappy Core 15.04?

From Dev

How to install apache on a Raspberry Pi 2 Ubuntu Snappy Core?

From Dev

What is Snappy Ubuntu Core?

From Dev

Snappy ubuntu core on BeagleBone Black?

From Dev

Where are the Ubuntu Core Snappy images?

From Dev

Cannot install Docker on Ubuntu Snappy on Raspberry Pi

From Dev

Change password at Linux Snappy Ubuntu Core

From Dev

Unable to connect to Snappy Ubuntu Core via ssh

From Dev

Is there a way to add repo to Snappy ubuntu core?

From Dev

ubuntu 16.04 snappy core and opening pdf files

From Dev

How do you compare Ubuntu Server to Snappy Ubuntu Core?

From Dev

Connection refused from Ubuntu VM to Snappy Ubuntu Core VM

From Dev

Are ubuntu Snappy and "Traditional Ubuntu Core" now just one?

From Dev

How can I install Ubuntu with APT (not Snappy) on the Raspberry Pi 2?

From Dev

How can I run a Snappy / ubuntu-core image with LXD

From Dev

How can I run a Snappy / ubuntu-core image with LXD

From Dev

How to set a permanent IP address on "Snappy" Ubuntu Core

From Dev

Can I run Snappy Ubuntu Core as a guest inside Docker?

From Dev

Ubuntu-Core Snappy ssl-certificate error

From Dev

Does Ubuntu Snappy Core work with Raspberry Pi 1?

From Dev

Ubuntu core snappy for rpi2 - source code

From Dev

Snappy Ubuntu Core: snap installation doesn't copy files

From Dev

Updating ubuntu-core snappy without internet connection

From Dev

Ubuntu Snappy Core RPi3 model 3 boot failure

From Dev

Cant install curl in Ubuntu 16.04

From Dev

Cant install curl in Ubuntu 16.04

From Dev

Curl command to install docker-machine and/or docker-compose does not work in Ubuntu Xenial

From Dev

How to log into Snappy Core?

Related Related

  1. 1

    Install Ubuntu Snappy Core on a computer

  2. 2

    How to install a desktop on Ubuntu Snappy Core 15.04?

  3. 3

    How to install apache on a Raspberry Pi 2 Ubuntu Snappy Core?

  4. 4

    What is Snappy Ubuntu Core?

  5. 5

    Snappy ubuntu core on BeagleBone Black?

  6. 6

    Where are the Ubuntu Core Snappy images?

  7. 7

    Cannot install Docker on Ubuntu Snappy on Raspberry Pi

  8. 8

    Change password at Linux Snappy Ubuntu Core

  9. 9

    Unable to connect to Snappy Ubuntu Core via ssh

  10. 10

    Is there a way to add repo to Snappy ubuntu core?

  11. 11

    ubuntu 16.04 snappy core and opening pdf files

  12. 12

    How do you compare Ubuntu Server to Snappy Ubuntu Core?

  13. 13

    Connection refused from Ubuntu VM to Snappy Ubuntu Core VM

  14. 14

    Are ubuntu Snappy and "Traditional Ubuntu Core" now just one?

  15. 15

    How can I install Ubuntu with APT (not Snappy) on the Raspberry Pi 2?

  16. 16

    How can I run a Snappy / ubuntu-core image with LXD

  17. 17

    How can I run a Snappy / ubuntu-core image with LXD

  18. 18

    How to set a permanent IP address on "Snappy" Ubuntu Core

  19. 19

    Can I run Snappy Ubuntu Core as a guest inside Docker?

  20. 20

    Ubuntu-Core Snappy ssl-certificate error

  21. 21

    Does Ubuntu Snappy Core work with Raspberry Pi 1?

  22. 22

    Ubuntu core snappy for rpi2 - source code

  23. 23

    Snappy Ubuntu Core: snap installation doesn't copy files

  24. 24

    Updating ubuntu-core snappy without internet connection

  25. 25

    Ubuntu Snappy Core RPi3 model 3 boot failure

  26. 26

    Cant install curl in Ubuntu 16.04

  27. 27

    Cant install curl in Ubuntu 16.04

  28. 28

    Curl command to install docker-machine and/or docker-compose does not work in Ubuntu Xenial

  29. 29

    How to log into Snappy Core?

HotTag

Archive