Verified on CentOS 7.


This section explains how to build NextEPC from the source codes.

  • Install MongoDB

    MongoDB is used for the database of NextEPC. Please refer Manual for the installation:
sudo sh -c 'cat << EOF > /etc/yum.repos.d/mongodb-org-3.4.repo
name=MongoDB Repository

sudo yum -y install mongodb-org
sudo systemctl start mongod (if '/usr/bin/mongod' is not running)
  • Define a TUN device

    Create pgwtun:
sudo yum -y install iproute
sudo ip tuntap add name pgwtun mode tun
sudo ip addr add dev pgwtun
sudo ip addr add cafe::1/64 dev pgwtun
sudo ip link set pgwtun up
  • Install dependencies

    Install the following dependencies:
sudo yum -y install git flex bison autoconf libtool \
         lksctp-tools-devel libidn-devel gnutls-devel libgcrypt-devel \
         openssl-devel cyrus-sasl-devel libyaml-devel
  • Build

    Download and compile source codes, then will be installed to `pwd`/install/:
git clone
cd nextepc
autoreconf -iv
./configure --prefix=`pwd`/install
make -j `nproc`
make install
  • Run

    nextepc-epcd is the daemon lauching all necessary daemons automatically:
  • Install Node.js

    Node.js is required to install NextEPC WebUI:
curl --silent --location | sudo bash -
sudo yum -y install nodejs
  • Install the dependencies of WebUI

    Goto the TOP/webui of NextEPC source. Install WebUI dependencies:
cd webui
npm install
npm run dev

Next step: Configuration