Verified on Fedora 27.


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 dnf -y install mongodb-server

mkdir -p data/db
mongod --dbpath data/db
  • Define a TUN device

    Create pgwtun:
sudo dnf -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 dnf -y install git gcc flex bison autoconf libtool \
         mongo-c-driver-devel lksctp-tools-devel libidn-devel \
         gnutls-devel libgcrypt-devel openssl-devel cyrus-sasl-devel \
         snappy-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:
sudo dnf -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