Note that only CentOS6 and later is supported on current releases, and for ATS v7.0.0 and forward, you will need e.g. devtoolset-3 on CentOS6.
The following packages must be installed:
On CentOS6, you also need
It's also recommended that the following packages are installed, but they are not required (and they come pre-installed on many systems):
If the unwind library is available, install this to get support for the crash log feature:
For building out of source, you also need:
ATS v9.0.0 drops CentOS 6 support because of minimum openssl version (v1.0.2). If you want, you can build OpenSSL (v1.0.2 or later) from source and use it for ATS 9.
For ATS v8.0.0 and later, a compiler with support for C++17 is required. You can install this using devtoolset-7 on both CentOS 6 and 7:
This installs a sufficiently modern compiler but it is not available by default. You will need to run the
enable script that is part of the devtoolset. This will be
This needs to run in your shell, not in a subshell, which means running the command
either by hand or in your
.bash-rc. You can tell if this has been done correctly by running the command
Valid output should look like
If the path returned in not in the devtoolset directory structure you are not using the correct compiler.
Or, if you rather use LLVM 5.x, you can install that from EPEL with the following:
To use Git, you must install the appropriate packages:
For more details how to use Git with our source, please see our GitHub page.
The first time you build trafficserver, you must run autoreconf to create the ./configure script:
configure and build
For more details, see the Building page.