1、安装依赖
apt-get install -y build-essential cmake gcc linux-headers-`uname -r` git libpcre2-dev libssl-dev liblua5.1-0-dev
2、拉取版本
git clone https://github.com/accel-ppp/accel-ppp.git /opt/accel-ppp-code
3、创建编译文件夹
mkdir /opt/accel-ppp-code/build
cd /opt/accel-ppp-code/build/
4、建立编译选项
For building code need we can set next params:
- -DBUILD_IPOE_DRIVER=TRUE include IPoE module.This module need if you want use accel-ppp as shared interface.
- -DBUILD_VLAN_MON_DRIVER=TRUE include vlan monitoring module. If you want create vlan automatically on analyse IP headers with regular expression set on accel-ppp config file. (Available for IPoE and PPPoE)
- -DKDIR=/usr/src/linux-headers-
uname -rsets path to Linux kernel source code. Need only for build IPOE, VLAN-MON. - -DCMAKE_INSTALL_

最低0.47元/天 解锁文章
1069

被折叠的 条评论
为什么被折叠?



