linux mint安装
How to install no-ip.com update client noip2 on Linux Mint 17?
如何在Linux Mint 17上安装no-ip .com更新客户端noip2?
First, install the noip2 client:
首先,安装noip2客户端 :
sudo su -
cd /usr/local/src
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
tar xzf noip-duc-linux.tar.gz
cd no-ip-2.1.9-1
make
make install
Then, generate the configuration file
然后,生成配置文件
noip2 -C
Last, make noip2 daemon run at reboot
最后,让noip2守护程序在重新启动时运行
crontab -e
Add this line to crontab:
将此行添加到crontab中:
@reboot /usr/local/bin/noip2
I’ve followed the instructions right up to ‘make install’ but then get the error:
我已经按照说明进行了“ make install”安装,但随后收到错误消息:
gcc -Wall -g -Dlinux -DPREFIX=”/usr/local” noip2.c -o noip2
noip2.c:136:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
gcc -Wall -g -Dlinux -DPREFIX =” / usr / local” noip2.c -o noip2
noip2.c:136:19:致命错误:stdio.h:没有此类文件或目录
#include <stdio.h>
^
compilation terminated.
make: *** [noip2] Error 1
编译终止。
make:*** [noip2]错误1
I’m new to Linux running Linux Mint 17.1 Rebecca.
If you have a solution I’d appreciate the help.
我是运行Linux Mint 17.1 Rebecca的Linux的新手。
如果您有解决方案,请提供帮助。
Thanks.
谢谢。
You system may not have some packages, you may try to install them by
您的系统可能没有某些软件包,您可以尝试通过以下方式安装它们
sudoapt-get install libc-dev g++ build-essential
翻译自: https://www.systutorials.com/how-to-install-no-ip-update-client-on-linux-mint/
linux mint安装