Installation and Configuration of Apache Traffic Server under Ubuntu

Installation and Configuration of Apache Traffic Server under Ubuntu

 

 

Global data networking has become part of everyday life: internet users request billions of documents and terabytes of data, on a daily basis, to and from all parts of the world. Information is free, abundant, and accessible. Unfortunately, global data networking can also be a nightmare for IT professionals as they struggle with overloaded servers and congested networks. It can be challenging to consistently and reliably accommodate society’s growing data demands.

 

Traffic Server is a high-performance web proxy cache that improves network efficiency and performance by caching frequently-accessed information at the edge of the network. This brings content physically closer to end users, while enabling faster delivery and reduced bandwidth use. Traffic Server is designed to improve content delivery for enterprises, Internet service providers (ISPs), backbone providers, and large intranets by maximizing existing and available bandwidth.

 

Apache Traffic Server Installation:

Download Apache Traffic Server 3.0.0 – here

first, install the dependencies using following command:

sudo apt-get install g++ libssl-dev tcl-dev libexpat1-dev libpcre3-dev libcap-dev libcap2

Compile and install traffic server:

Open the terminal and type following commands:

 

tar xf trafficserver-3.0.0.tar.bz2

cd trafficserver-3.0.0

./configure           

make

This will build with a destination prefix of /usr/local. You can finish the installation with

sudo make install

After successful installation, open ld.so.conf (sudo vi /etc/ld.so.conf) and add following line ..

include /usr/local/libexec/trafficserver

And, run the following command: sudo ldconfig

 

Start/Stop Traffic Server:

To start Traffic Server manually, issue the folowing 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.

sudo trafficserver start/stop

All the configuration parameter related to cache are located in records.config file after making any configuration changes do run command traffic_line -x to apply the configuration changes.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s