jemalloc编译安装

1、安装 autogen autoconf

yum -y install autogen autoconf

2、下载

wget https://github.com/jemalloc/jemalloc/releases/download/5.2.1/jemalloc-5.2.1.tar.bz2

3、解压安装 

tar -xf jemalloc-5.2.1.tar.bz2 && cd jemalloc-5.2.1
./autogen.sh
make -j4
make install
echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf
ldconfig

4、相关路径

/usr/local/include/jemalloc

/usr/local/lib

你可能感兴趣的:(NGINX,linux,mysql,redis,nginx)