Skip to content

Instantly share code, notes, and snippets.

@Ruzzz
Last active May 20, 2017 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ruzzz/8f970f25b22e3530eb5f055b5d344bf3 to your computer and use it in GitHub Desktop.
Save Ruzzz/8f970f25b22e3530eb5f055b5d344bf3 to your computer and use it in GitHub Desktop.
# If needed install: JSON::Any, Data::Validate::IP, IO::Socket::SSL
sudo apt-get install libjson-any-perl libdata-validate-ip-perl libio-socket-ssl-perl
cd ~
wget https://raw.githubusercontent.com/wimpunk/ddclient/master/ddclient
sudo cp ddclient /usr/sbin/ddclient
sudo chmod +x /usr/sbin/ddclient
sudo mkdir /var/cache/ddclient
sudo mkdir /etc/ddclient
sudo nano /etc/ddclient/ddclient.conf
# Write config
# Autorun
wget https://raw.githubusercontent.com/wimpunk/ddclient/master/sample-etc_rc.d_init.d_ddclient.ubuntu
sudo cp sample-etc_rc.d_init.d_ddclient.ubuntu /etc/init.d/ddclient
sudo chmod +x /etc/init.d/ddclient
sudo update-rc.d ddclient defaults
sudo service ddclient start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment