ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] ## 一、源码包安装方式 安装make编译环境 ~~~ yum install -y gcc gcc-c++ ~~~ 安装pre依赖 ~~~ yum install pcre* yum install pcre-devel ~~~ 可参考博客 [https://www.cnblogs.com/taiyonghai/p/6728707.html](https://www.cnblogs.com/taiyonghai/p/6728707.html) 下载安装包 ~~~ wget http://nginx.org/download/nginx-1.10.2.tar.gz wget http://www.openssl.org/source/openssl-fips-2.0.10.tar.gz wget http://zlib.net/zlib-1.2.11.tar.gz wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.40.tar.gz ~~~ 安装命令 ~~~ tar -zxvf openssl-fips-2.0.10.tar.gz cd openssl-fips-2.0.10/ ./config && make && make install tar zlib-1.2.11.tar.gz cd zlib-1.2.11/ ./configure && make && make install cd ../nginx-1.10.2 ./configure --prefix=/data/nginx/ --with-http_ssl_module make install ~~~ ## 二、yum命令安装(默认安装) ~~~ yum install nginx