Installation
sudo -s
- Download Dynamic Update Client (DUC) package
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
- Extract the package and install
tar xzf no-ip-duc-linux.tar.gz
cd no-ip-2.1.9
make
make install
/usr/local/bin/noip2 -C
Setup service on Centos 7.x (systemd)
- Create file /usr/lib/systemd/system/noip.service with content:
[Unit]
Description=No-IP Dynamic DNS Update Client
After=network.target
[Service]
Type=forking
User=root
ExecStart=/usr/local/bin/noip2
ExecStop=/bin/killall noip2
[Install]
WantedBy=multi-user.target
systemctl enable noip
- Start the service manually
systemctl start noip
Setup service on Centos 6.x (system V)
mv redhat.noip.sh /etc/init.d/
chmod 755 /etc/init.d/redhat.noip.sh
chkconfig --add redhat.noip.sh
service redhat.noip.sh start
Done