If your distribution does not come with a prepackaged Traffic Server, please refer to our wiki for build instructions
After you have installed Traffic Server on your system, you can do any of the following:
Start Traffic Server
To start Traffic Server manually, issue the trafficserver command, passing
in the attribute start. This command starts all the processes that work together
to process Traffic Server requests as well as manage, control, and monitor
the health of the Traffic Server system.
To run the trafficserver start command, e.g.:
./trafficserver start
Start Traffic Line
Traffic Line provides a quick way of viewing Traffic Server statistics and configuring the Traffic Server system via command-line interface. To execute individual commands or script multiple commands, refer to Traffic Line Commands.
Traffic Line commands take the following form:
./traffic_line -command argument
For a list of traffic_line commands, enter:
./traffic_line -h
Start Traffic Shell
Traffic Shell is a command-line tool that enables you to monitor and configure
Traffic Server; it can be used instead of Traffic Line. Traffic Server provides
documentation for Traffic Shell in the form of manual (man) pages.
./start_traffic_shell
The man page describes how to use Traffic Shell, how to obtain a list of available
commands, and how to obtain documentation about each command.
man traffic_shell
Stop Traffic Server
To stop Traffic Server, always use the trafficserver command, passing in
the attribute stop. This command stops all the Traffic Server processes (traffic_manager,
traffic_server, and traffic_cop). Do not manually stop processes, as this
can lead to unpredictable results.
./trafficserver stop

