合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
## 1、安装依赖 ``` apt install libpcre3 libpcre3-dev openssl zlib1g zlib1g-dev autoconf gcc g++ libssl-dev ``` ``` sudo apt-get install git ant gcc g++ libffi-dev libkrb5-dev libmysqlclient-dev libsasl2-dev libsasl2-modules-gssapi-mit libsqlite3-dev libssl-dev libxml2-dev libxslt-dev make maven libldap2-dev python-dev python-setuptools libgmp3-dev ``` ## 2、编译 ``` ./configure --prefix=/home/im_user/im_server/im_webserver/nginx --conf-path=/home/im_user/im_server/im_webserver/nginx/nginx.conf --error-log-path=/home/im_user/im_server/im_webserver/nginx/logs/nginx/error.log --http-log-path=/home/im_user/im_server/im_webserver/nginx/logs/access.log --pid-path=/home/im_user/im_server/im_webserver/nginx/nginx.pid --user=root --group=root --with-http_v2_module --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-http_v2_module --with-threads --with-stream --with-stream_ssl_module --with-pcre ``` ``` export CFLAGS="-Wno-error" ``` ``` sudo make -j4 && sudo make install ```