MPTCP(四):mptcpd编译及安装
mptcpd编译及安装
简介
-
mptcpd可以在应用层执行mptcp多路径管理的相关操作 -
可以在普通的TCP连接基础上应用MPTCP协议,我描述得不准确,请参考下面得链接自行理解
https://mptcp-apps.github.io/mptcp-doc/mptcp-linux.html#enabling-multipath-tcp
-
github地址 -
github release页面
源码下载
解压
tar -xvf mptcpd-0.12.tar.gz
在树莓派中编译及安装
- 安装依赖
sudo apt-get -y install autoconf automake libtool autoconf-archive libell-dev pkg-config
- 进入解压目录,执行
./bootstrap
# ./bootstrap
- 执行
./configure
# ./configure
make install编译并安装
# make install
- 安装成功后即可找到可执行程序
mptcpize
# which mptcpize
/usr/local/bin/mptcpize
在ubuntu20.04中编译及安装
ubuntu中编译和安装的方法和树莓派略有不同,因为在ubuntu无法直接通过apt安装libell-dev- 安装依赖
sudo apt-get -y install autoconf automake libtool autoconf-archive pkg-config
-
源码编译
ell(Embedded Linux Library)-
官网链接如下:
-
下载
ell(Embedded Linux Library)源码,并检出tag 0.56git clone git://git.kernel.org/pub/scm/libs/ell/ell.git git checkout 0.56 -
进入源码目录,依次执行
./bootstrap和./configureroot# ./bootstrap root# ./configure -
make install编译并安装root# make install
-
-
编译
mptcpd-
进入
mptcpd解压目录, 依次执行./bootstrap和./configureroot# ./bootstrap root# ./configure -
make install编译并安装root# make install -
查看
mptcpd是否安装成功root@ecs-92da:/tmp/mptcpd-0.12# which mptcpize /usr/local/bin/mptcpize
-

浙公网安备 33010602011771号