This repository has been archived by the owner on Feb 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
INSTALL
75 lines (52 loc) · 2.32 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
APACHE TRAFFIC SERVER UNIX QUICKSTART
-------------------------------------
For complete installation documentation, see the on-line documentation at
http://trafficserver.apache.org/docs
BUILD AND INSTALLATION
----------------------
Configure & Build from source:
$ autoreconf -i # generate the configure script and Makefile.in files
On Linux, OSX and FreeBSD:
$ ./configure [--prefix=PREFIX]
$ make
On OpenSolaris:
$ ./configure [--prefix=PREFIX]
$ gmake
To install:
$ sudo make install
* Replace PREFIX with the filesystem path under which Traffic Server
should be installed. Default PREFIX is "/usr/local" (without the
quotes).
* If you want to build using different layout see the config.layout
file for possible alternatives. You can create your own layout
and enable it with ./configure --enable-layout=ID, where ID is
the layout name you have created.
* The easiest way to find all of the configuration flags
for Traffic Server is to run ./configure --help.
To build the examples in example directory use
$ make examples
To installl the examples inside current layout libexecdir use the
$ sudo make install-examples
By default the build will use the highest level of compiler
optimization. To alter this, specify your own optimizer flags at
configuration time:
$ ./configure CXXFLAGS=-Os CFLAGS=-Os
INITIAL CONFIGURATION
Next set the cluster interface in 'records.config'. The network
interface name will vary depending on the host operating system.
For example:
Linux: CONFIG proxy.config.cluster.ethernet_interface STRING eth0
OS X: CONFIG proxy.config.cluster.ethernet_interface STRING en0
FreeBSD: CONFIG proxy.config.cluster.ethernet_interface STRING em0
OpenSolaris: CONFIG proxy.config.cluster.ethernet_interface STRING e1000g0
To start the Traffic Server process stack (TC, TM, TS):
$ sudo PREFIX/bin/trafficserver start
INSTALLATION HELP
The Apache Traffic Server group cannot field user's installation
questions. There are many valuable forums to help you get started.
Please refer your questions to the appropriate forum, such as the
Users Mailing List at
http://cwiki.apache.org/confluence/display/TS/Traffic+Server
Thanks for using the Apache Traffic Server, version 3.
The Apache Software Foundation
http://www.apache.org/