Traffic Portal Administration
Traffic Portal is only supported on CentOS Linux distributions version 7.x and 8.x. It runs on NodeJS and requires version 12 or higher.
Installing Traffic Portal
Download the Traffic Portal RPM from Apache Jenkins or build the Traffic Portal RPM from source using the instructions in Building Traffic Control.
Copy the Traffic Portal RPM to your server
Install NodeJS. This can be done by building it from source, installing with yum(8) if it happens to be in your available repositories (at version 12+), or using the NodeSource setup script.
curl --silent --location https://rpm.nodesource.com/setup_12.x | sudo bash -
Install the Traffic Portal RPM with yum(8) or rpm(8) e.g. by running
yum install path/to/traffic_portal.rpm
as the root user or with sudo(8).
Configuring Traffic Portal
update
/etc/traffic_portal/conf/config.js
(if Traffic Portal is being upgraded, reconcileconfig.js
withconfig.js.rpmnew
and then deleteconfig.js.rpmnew
)update
/opt/traffic_portal/public/traffic_portal_properties.json
(if Traffic Portal is being upgraded, reconciletraffic_portal_properties.json
withtraffic_portal_properties.json.rpmnew
and then deletetraffic_portal_properties.json.rpmnew
)Optional: update
/opt/traffic_portal/public/resources/assets/css/custom.css
to customize Traffic Portal styling.
Configuring OAuth Through Traffic Portal
Starting Traffic Portal
The Traffic Portal RPM comes with a systemd(1) unit file, so under normal circumstances Traffic Portal may be started with systemctl(1).
systemctl start traffic_portal
Stopping Traffic Portal
The Traffic Portal RPM comes with a systemd(1) unit file, so under normal circumstances Traffic Portal may be stopped with systemctl(1).
systemctl stop traffic_portal