Centos7 安装scribe日志收集系统

2017-10-23  本文已影响0人  戮墨

1.安装依赖库

yum install -y gcc-c++ libevent libevent-devel automake autoconf m4 bison zlib zlib-devel bzip2 bzip2-devel flex pkgconfig python python-devel ruby ruby-devel mono-devel libxml2 libxml2-devel ant openssl-devel

2.安装boost

wget https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz

tar zxvf boost_1_65_1.tar.gz

cd boost_1_65_1

./bootstrap.sh

./bjam -s HAVE_ICU=1 --prefix=/usr/local/boost --includedir=/usr/local/boost/include --libdir=/usr/local/boost/lib

/bjam install --prefix=/usr/local/boost

export BOOST_ROOT=/usr/local/boost

export LD_LIBRARY_PATH=/usr/local/boost/lib:/usr/local/lib/:/usr/lib/

上一篇下一篇

猜你喜欢

热点阅读