Last active
February 6, 2019 03:41
-
-
Save daxxog/4597895 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#curl -L https://gist.github.com/raw/4597895/noip-install.sh | sh | |
#get gcc toolchain | |
sudo apt-get update | |
sudo apt-get install make gcc -y | |
#make a dev directory and switch to it | |
cd ~ | |
mkdir dev | |
cd dev | |
#grab and install the systemd service config | |
wget https://gist.githubusercontent.com/daxxog/36d1dc988e5923cdaabd03b47aaa3656/raw/noip2.service | |
sudo cp ./noip2.service /etc/systemd/system/noip2.service | |
#get no-ip and build it | |
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz | |
tar xf noip-duc-linux.tar.gz | |
cd $(ls | grep noip-2) | |
make | |
echo -------------------- | |
echo !!! please run !!! | |
echo -------------------- | |
echo cd $(pwd) | |
echo sudo make install | |
echo sudo systemctl enable noip2.service | |
echo sudo systemctl enable --now noip2.service | |
echo sudo systemctl status noip2.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment