Child pages
  • CentOS
Skip to end of metadata
Go to start of metadata

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:

$ sudo yum install gcc gcc-c++ pkgconfig pcre-devel tcl-devel expat-devel openssl-devel

On CentOS6, you also need

$ sudo yum install perl-ExtUtils-MakeMaker

It's also recommended that the following packages are installed, but they are not required (and they come pre-installed on many systems):

$ sudo yum install libcap libcap-devel hwloc hwloc-devel ncurses-devel libcurl-devel

If the unwind library is available, install this to get support for the crash log feature:

$ sudo yum install libunwind libunwind-devel

For building out of source, you also need:

$ sudo yum install autoconf automake libtool

ATS v8.0

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:

$ sudo yum install centos-release-scl
$ sudo yum-config-manager --enable rhel-server-rhscl-7-rpms
$ sudo yum install devtoolset-7
# Optionally, install ASAN
$ sudo yum install devtoolset-7-libasan-devel.x86_64

 

Or, if you rather use LLVM 5.x, you can install that from EPEL with the following:

$ sudo yum install llvm5.0 llvm5.0-libs

Git

To use Git, you must install the appropriate packages:

 $ sudo yum install git

For more details how to use Git with our source, please see our Git page.

autoreconf

The first time you build trafficserver, you must run autoreconf to create the ./configure script:

$ autoreconf -i

configure and build

For more details, see the Building page.

 $ ./configure && make
  • No labels