Linux-./configure: error: the HTTP rewrite module requires the PCRE library.

这个问题是要解决:

yum -y install pcre-devel

然后在yum的时候发现出错。问题是我的linux不能上网。

这个问题搞得烦死了。和主机能ping.但是就是不能上网:

ping www.baidu.com之后就报:

unknow host......

解决办法:

之前的博客写过怎么解决,就是:

然后虚拟机重启,必须要重启,不然没用。然后就能上网了。

能上网之后 yum的问题就解决了。

原文地址:https://www.cnblogs.com/shenxiaoquan/p/6259500.html