Thứ Tư, 26 tháng 12, 2012

Cài đặt DUC (No-IP) cho Ubuntu


How to install No-IP Linux Dynamic Update Client (DUC) on your Ubuntu 12.04 LTS.

Installing the Linux Dynamic Update Client (DUC) on Ubuntu is a very simple task.  The DUC package is already included in the source tree for most distributions of Ubuntu Linux; however, newer Ubuntu versions might need to use wget to install the DUC. You can try apt-get if this does not work please install the DUC with the steps listed under "How to install No-IP Linux Dynamic Update Client (DUC) on your Ubuntu 12.04 LTS."

From a command prompt you just need to enter this command:
  • sudo apt-get install noip2
Earlier distributions may need to replace the "noip2" with just "no-ip"

After entering the command, you will be prompted for the root/admin password for that machine.  If all goes well the package will be downloaded and installed on your computer.  On most systems you will then be prompted for your No-IP.com account information.  If so:
  1. Enter your username or email address
  2. Enter your password
  3. Leave 30 as the default for update interval
  4. Enter in a host name that exists in your account (do not leave this blank)
  5. Enter your network device name (example: eth0)

Thats it, the software will then configure itself and will launch at the next restart of the computer.  Below is a Youtube video created by one of our users that demonstrates the installation and setup.

http://youtu.be/dj5IwcJGyyE


How to install No-IP Linux Dynamic Update Client (DUC) on your Ubuntu 12.04 LTS.

You will be able to install No-IP.com’s DUC in just a few minutes with terminal. Once you have opened up your terminal window you will need to login as the “root” user. You can become the root user from the command line by entering "sudo -s" followed by the root password on your machine.
  1. cd /usr/local/src/
  2. wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
  3. tar xf noip-duc-linux.tar.gz
  4. cd noip-2.1.9-1/
  5. make install
You will then be prompted to login with your No-IP.com account username and password.

If you get "make not found" or "missing gcc" then you do not have the gcc compiler tools on your machine. You will need to install these in order to proceed.

To Configure the Client:

As root again (or with sudo) issue the below command:
  • /usr/local/bin/noip2 -C (dash capital C, this will create the default config file)
You will then be prompted for your username and password for No-IP, as well as which host names you with to update. Be careful, one of the questions is "Do you wish to update all hosts". If answered incorrectly this could effect host names in your account that are pointing at other locations.

Now the client is installed and configured, you just need to launch it. Simply issue this final command to launch the client in the background:
  • /usr/local/bin/noip2
Read the README file in the no-ip-2.1.9 folder for instructions on how to make the client run at startup. This varies depending on what Linux distribution you are running.

NOTE:  When installing via apt-get you may not always get the most recent version of the Linux DUC.  Our website will have the most recent version and it can take a few weeks after we release a new version for it to show up on apt-get.
Thank You

Source: http://support.no-ip.com/customer/portal/articles/363247-installing-the-linux-dynamic-update-client-on-ubuntu

0 nhận xét:

Đăng nhận xét