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 Apache Jenkins or build the Traffic Portal RPM from source (./pkg -v traffic_portal_build).
- 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
- update /etc/traffic_portal/conf/config.js (if upgrade, reconcile config.js with config.js.rpmnew and then delete config.js.rpmnew)
- update /opt/traffic_portal/public/traffic_portal_properties.json (if upgrade, reconcile traffic_portal_properties.json with traffic_portal_properties.json.rpmnew and then delete traffic_portal_properties.json.rpmnew)
- [OPTIONAL] update /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