ubuntu安装ATS8.0.x

2018-12-14  本文已影响0人  狗嗨旺

ATS安装过程

wget http://www-us.apache.org/dist/trafficserver/trafficserver-8.0.0.tar.bz2

tar jxvf trafficserver-8.0.0.tar.bz2

./configure --help

apt-get update

sudo apt-get install autoconf automake libtool g++ make pkg-config libssl-dev tcl-dev libexpat1-dev libpcre3-dev libmodule-install-perl
sudo apt-get install libcap-dev libcap2 hwloc libhwloc-dev libhwloc5 libunwind8 libunwind8-dev
sudo apt-get install bison flex tcl8.6-dev zlib1g-dev
sudo apt-get install libluajit-5.1-dev libncurses5-dev libcurl4-openssl-dev


提示安装新版本gcc

参考:https://blog.csdn.net/davidhopper/article/details/79681695

慢:wget http://ftp.tsukuba.wide.ad.jp/software/gcc/releases/gcc-8.2.0/gcc-8.2.0.tar.gz
快:wget http://mirror.linux-ia64.org/gnu/gcc/releases/gcc-8.2.0/gcc-8.2.0.tar.gz

tar zxvf gcc-8.2.0.tar.gz

bash contrib/download_prerequisites

mkdir gcc-8.2.0-build

/gcc/gcc-8.2.0-build# ../gcc-8.2.0/configure --disable-multilib

make
(make很久很久以后,不到4个小时)

make install

输出信息(最后):
Libraries have been installed in:
/usr/local/lib/../lib64

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:

gcc --version
gcc (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


继续安装ATS

./configure --prefix=/opt/ts --enable-debug --enable-example-plugins --enable-experimental-plugins

make

上一篇下一篇

猜你喜欢

热点阅读