You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ml...@apache.org on 2013/06/25 02:21:56 UTC
svn commit: r1496304 -
/trafficserver/site/trunk/content/docs/trunk/admin/getting-started/index.en.mdtext
Author: mlibbey
Date: Tue Jun 25 00:21:56 2013
New Revision: 1496304
URL: http://svn.apache.org/r1496304
Log:
remove erroneous 'text' delimiter markdown. Extra spaces in blockquote format
Modified:
trafficserver/site/trunk/content/docs/trunk/admin/getting-started/index.en.mdtext
Modified: trafficserver/site/trunk/content/docs/trunk/admin/getting-started/index.en.mdtext
URL: http://svn.apache.org/viewvc/trafficserver/site/trunk/content/docs/trunk/admin/getting-started/index.en.mdtext?rev=1496304&r1=1496303&r2=1496304&view=diff
==============================================================================
--- trafficserver/site/trunk/content/docs/trunk/admin/getting-started/index.en.mdtext (original)
+++ trafficserver/site/trunk/content/docs/trunk/admin/getting-started/index.en.mdtext Tue Jun 25 00:21:56 2013
@@ -72,57 +72,48 @@ if you're building from a git clone, you
We will show-case a build from git:
- :::text
- git clone https://git-wip-us.apache.org/repos/asf/trafficserver.git
+ git clone https://git-wip-us.apache.org/repos/asf/trafficserver.git
Next, we `cd trafficserver` and run:
- :::text
- autoreconf -if
+ autoreconf -if
This will generate a `configure` file from `configure.ac`, so now we can run that:
- :::text
- ./configure --prefix=/opt/ats
+ ./configure --prefix=/opt/ats
Note well, that by default Traffic Server uses the user `nobody`, as well as user's
primary group as Traffic Server user. If you want to change that, you can override it here:
- :::text
- ./configure --prefix=/opt/ats --with-user=tserver
+ ./configure --prefix=/opt/ats --with-user=tserver
If dependencies are not in standard paths (`/usr/local` or `/usr`), you need to pass options
to `configure` to account for that:
- :::text
- ./configure --prefix=/opt/ats --with-user=tserver --with-lua=/opt/csw
+ ./configure --prefix=/opt/ats --with-user=tserver --with-lua=/opt/csw
Most `configure` path-options accept a format of `"INCLUDE_PATH:LIBRARY_PATH"`:
- :::text
- ./configure --prefix=/opt/ats --with-user=tserver --with-lua=/opt/csw \
+ ./configure --prefix=/opt/ats --with-user=tserver --with-lua=/opt/csw \
--with-pcre=/opt/csw/include:/opt/csw/lib/amd64
We can run `make` to build the project. We highly recommend to run `make check`
to verify the build's general sanity:
- :::text
- make
- make check
+ make
+ make check
We can finally run `make install` to install (you may have to switch to root to do this):
- :::text
- sudo make install
+ sudo make install
We also recommend to run a regression test. Please note that this will only work
successfully with the default `layout`:
- :::text
- cd /opt/ats
- sudo bin/traffic_server -R 1
+ cd /opt/ats
+ sudo bin/traffic_server -R 1
After you have installed Traffic Server on your system, you can do any of the
@@ -138,7 +129,7 @@ the health of the Traffic Server system.
To run the `trafficserver start` command, e.g.:
- bin/trafficserver start
+ bin/trafficserver start
At this point your server is up and running in the default configuration of a
[reverse proxy](../reverse-proxy-http-redirects).
@@ -151,11 +142,11 @@ individual commands or script multiple c
Traffic Line commands take the following form:
- bin/traffic_line -command argument
+ bin/traffic_line -command argument
For a list of `traffic_line` commands, enter:
- bin/traffic_line -h
+ bin/traffic_line -h
Please note that `traffic_line`, while a fine tool for an administrator, is
a poor choice for automation, especially that of monitoring. See our chapter on