installation

Fedora

Verified on Fedora 27.


Build

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 45.45.0.1/16 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 https://github.com/nextepc/nextepc
cd nextepc
autoreconf -iv
./configure --prefix=`pwd`/install
make -j `nproc`
make install
  • Run

    nextepc-epcd is the daemon lauching all necessary daemons automatically:
nextepc-epcd
  • 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