CentOS7安装Nginx、PHP、MySQL运行环境 所属分类:Linux | 发布于 2024-01-05 安装运行环境 yum -y install gcc-c++ pcre-devel zlib-devel openssl openssl-devel curl-develCopy 1、安装Nginx nginx安装包:nginx-1.24.0.tar.gz 执行安装命令 tar zxvf nginx-1.24.0.tar.gz cd nginx-1.24.0 ./configure --prefix=/sangfor/server/nginx --with-http_ssl_module --with-http_realip_module --with-http_stub_status_module make && make installCopy 编译结果 nginx path prefix: "/sangfor/server/nginx" nginx binary file: "/sangfor/server/nginx/sbin/nginx" nginx modules path: "/sangfor/server/nginx/modules" nginx configuration prefix: "/sangfor/server/nginx/conf" nginx configuration file: "/sangfor/server/nginx/conf/nginx.conf" nginx pid file: "/sangfor/server/nginx/logs/nginx.pid" nginx error log file: "/sangfor/server/nginx/logs/error.log" nginx http access log file: "/sangfor/server/nginx/logs/access.log" nginx http client request body temporary files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files: "uwsgi_temp" nginx http scgi temporary files: "scgi_temp"Copy 2、安装PHP 3、安装MySQL 本文链接: https://wenge365.com/a/Y0lvRnJKcjNFbVNLQVZLMjBFNDU4QT09.html 版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!