How to install the noip2 on Ubuntu and run via systemd

NOIP allows you to run a server from your home or office with dynamic IP address.

Step 1:

Set your home / office router to forward port 80 and 443 to your local server iP address. This must be done from your router control panel.

Step 2:

sudo su

apt install make gcc -y

Step 3:

cd /usr/local/src/

Step 4:

wget http://www.noip.com/client/linux/noip-duc-linux.tar.gz

Step 5:

tar xf noip-duc-linux.tar.gz

Step 6:

cd noip-2.1.9-1/

Step 7:

make install

Step 8:

If the Step 7 did not move the config file, move it manually;
mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf

Step 9:

cd /etc/systemd/system/

Step 10:

wget https://gist.githubusercontent.com/NathanGiesbrecht/da6560f21e55178bcea7fdd9ca2e39b5/raw/b5594a39e908548f4319294553497d2db3053e0a/noip2.service

Step 11:

sudo systemctl daemon-reload

Step 12:

sudo systemctl enable noip2

Step 13:

sudo systemctl start noip2