installation

Mac OS X

Verified on macOS High Sierra 10.13.3.


Build

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

  • Install Homebrew

    The following package installation requires Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Install MongoDB

    MongoDB is used for the database of NextEPC. Please refer Manual for the installation:
brew install mongodb

mkdir -p data/db
mongod --dbpath data/db
  • Set loopback interfaces up

sudo ifconfig lo0 alias 127.0.0.2 netmask 255.255.255.255
sudo ifconfig lo0 alias 127.0.0.3 netmask 255.255.255.255
sudo ifconfig lo0 alias 127.0.0.4 netmask 255.255.255.255
sudo ifconfig lo0 alias 127.0.0.5 netmask 255.255.255.255
sudo sysctl -w net.inet.ip.forwarding=1
  • Install dependencies

    Install the following dependencies:
brew install autoconf automake libtool gnu-sed mongo-c-driver \
         libusrsctp gnutls libgcrypt libidn libyaml pkg-config
  • 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:
brew install node
  • 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