Traffic Portal Administration

The following are requirements to ensure an accurate set up:

  • CentOS 6.7 or 7
  • Node.js 6.0.x or above

Installing Traffic Portal

  • Download the Traffic Portal RPM from the traffic control downloads page or build from source.
  • Copy the Traffic Portal RPM to your server
  • curl –silent –location https://rpm.nodesource.com/setup_6.x | sudo bash -
  • sudo yum install -y nodejs
  • sudo yum install -y <traffic_portal rpm>

Configuring Traffic Portal

  • cd /etc/traffic_portal/conf
  • sudo cp config-template.js config.js
  • sudo vi config.js (read the inline comments)
  • [OPTIONAL] sudo vi /opt/traffic_portal/public/traffic_portal_properties.json (to customize traffic portal content)
  • [OPTIONAL] sudo vi /opt/traffic_portal/public/resources/assets/css/custom.css (to customize traffic portal skin)

Starting Traffic Portal

  • sudo service traffic_portal start

Stopping Traffic Portal

  • sudo service traffic_portal stop