CentOS 下 安装 nginx 执行配置命令 ./configure --prefix=/opt/nginx --sbin-path=/usr/bin/nginx 时提示以下错误: checking for OS Linux 2.6.32-431.el6.x86_64 x86_64checking for C compiler ... not found 解决: 执行以下命令: yum -y install gcc gcc-c++ autoconf automake make 总结:安装ng…
CentOS yum安装mcrypt 本篇排错的前提是只想用yum安装,不想使用源码包编译安装. php依赖一下包: #yum install libmcrypt libmcrypt-devel mcrypt mhash Setting up Install Process No package php-mcrypt available. Error: Nothing to do 我们会看到centos yum从仓库中根本找不到这几个包.但我不想使用源码编译就想使用yum安装,怎么办?…
下载模块 upstream_check_module 查看yum安装nginx版本信息 # nginx -V nginx version: nginx/1.17.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin…