Installing and configuring NO-IP Client on Ubuntu 6.06.
Posted November 8, 2006on:
Starting the development of my new project soon and am going to host the webserver from my house using my own broadband connection, I am also going to register a .TLD (Top level domain) likely to be a .com or .org address, still not sure as yet I also want to install an auto-update client on my Linux server.
NO-IP.COM offers free and premium Dynamic DNS services to all. I plan to register a domain name for my web server, I will not be using on of the free domain names as I want it to look professional, So there fore I will register a TLD (eg. myproject.org).
Now what we do is we login to our Ubuntu server and install the No-ip update client from the online repositorys using the following command:-
sudo aptitude install no-ip
This will then download the No-IP dynamic dns update client from the repositorys and then install it on your server. The next step is to configure the settings, this is where you will be asked for your account username/email and password as well as the check interval period and other infomation. To configure the NO-IP Update client type the following command in, This will then run a Wizard like setup:-
After you have configured it using the wizard, It should then notify you that the no-ip.conf file has been created in /etc/no-ip.conf. The next set is to add it like a system service, So that when you start your server up it will boot up automatically and run in the background. So to accomplish this we need to add the application to the rc.local file like follows:-
echo ‘/usr/bin/no-ip’ >> /etc/rc.local
Once this command has been executed, It wil add the application to the boot file and then everytime you restart your server it will run the check software automatically. If you want to check that the service has been added you can use vim to check, simply use the command below:-
Thats all folks!! Just reboot your server using shutdown -r now and all should be up and running.
For more infomation on the commands etc. for the client software you can execute the following command this will bring up a simple manual:-
If required you can remove the server by editing the rc.local config file using: vi /etc/rc.local remember to save the changes and then reboot your server. You can re-configure the No-IP software running this command at any time:- no-ip -C however a reboot may be required until the changes take affect.
Hope this helps.