ACCEL-PPP基础--编译安装

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 -r sets path to Linux kernel source code. Need only for build IPOE, VLAN-MON.
  • -DCMAKE_INSTALL_
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值