当前位置:网站首页 / Linux / 正文

在centos下安装n2n服务器

时间:2018年05月22日 | 作者 : liuhui | 分类 : Linux | 浏览: 8912次 | 评论 0

阿里云限量代金券 | 此广告位出租25元/月

本教程中使用的系统为CentOS 7 64 bit

更新一下系统,安装一些必要组件

yum update

yum upgrade

yum install subversion gcc-c++ openssl-devel

yum install git

git clone https://github.com/meyerd/n2n.git

cd n2n/n2n_v2

在执行命令make编译n2n时出现这这些提示

QQ图片20180522152818.png

解决办法

1、wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz

2、tar zxvf ncurses-5.6.tar.gz

3、cd ncurses-5.6

3、 ./configure -prefix=/usr/local -with-shared-without-debug

4、make

5、make install


cmake ./

QQ图片20180522152951.png

yum install cmake -y

cmake ./

sudo make install

启动n2n服务器

supernode -l 12345

这个12345就是客户端要配置的端口

更多详细用法:https://www.diannaobos.com/post/444.html

推荐您阅读更多有关于“”的文章

猜你喜欢

网站分类
关注电脑博士
友情链接

分享:

支付宝

微信