码迷,mamicode.com
首页 > 其他好文 > 详细

nginx安装错误:c compiler cc is not found

时间:2019-09-03 22:14:35      阅读:265      评论:0      收藏:0      [点我收藏+]

标签:安装   服务器   简单   资料   not   str   网上   获得   报错   

今天安装软件nginx的时候遇到的报错:c compiler cc is not found

查了下网上的资料,解决方案也不复杂。

先说明下环境:

  • 服务器:CentOS 7
  • nginx:2.3.1

原因是因为缺少 gcc-c++ 的包

解决办法很简单,执行:yum -y install gcc-c++

关注公众号「Python专栏」,后台回复「机器学习电子书」获得100份机器电子学习相关电子书。

nginx安装错误:c compiler cc is not found

标签:安装   服务器   简单   资料   not   str   网上   获得   报错   

原文地址:https://www.cnblogs.com/moonhmily/p/11455814.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!