ubuntu安装nginx服务器出错解决
2011-05-31 13:50
399 查看
错误信息:
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
如上错误显示需要pcre库,在ubuntu中,你需要安装libpcre3 和 libpcre3-dev,命令如下:
sudo apt-get install libpcre3 libpcre3-dev
安装完成后,
./configure
make
make install
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
如上错误显示需要pcre库,在ubuntu中,你需要安装libpcre3 和 libpcre3-dev,命令如下:
sudo apt-get install libpcre3 libpcre3-dev
安装完成后,
./configure
make
make install
相关文章推荐
- Ubuntu系统下的Nginx服务器软件安装时的常见错误解决
- 在 Ubuntu 16.04 为 Nginx 服务器安装 LEMP 环境(MariaDB,PHP 7 并支持 HTTP 2.0)
- linux/ubuntu下安装nginx时./configure后出现几种错误的解决方法
- 解决Ubuntu 13.10安装Nvidia驱动出错问题
- ubuntu在服务器安装时 黑屏 无信号的原因和解决办法
- 在ubuntu下rails通过passenger安装nginx出错的原因
- ubuntu 安装nginx,php,mysql。常见错误解决
- 在Ubuntu系统上安装Nginx服务器的简单方法
- Ubuntu 7.04 安装运行 VirtualBox 出错的解决办法
- ubuntu16.04 安装 Nginx 服务器
- ubuntu安装android studio时出错unable to run mksdcard sdk tool的解决方法
- 一步步搭建Ubuntu环境——dpkg 被中断,您必须手工运行 sudo dpkg --configure -a 解决此问题——安装Flashplayer出错
- 如何删除在Ubuntu安装中设置的http代理 (解决apt-get update 出错问题)
- ubuntu安装时包依赖出错解决
- Ubuntu系统安装nginx服务器
- SQL安装时出错,提示:安装程序配置服务器失败 参考服务器错误日志。针对其中一种情况的解决方法!
- sql server 2008安装过程中服务器配置出错解决办法
- [ubuntu]相关库安装出错--解决方法
- Ubuntu 使用apt-get安装nginx服务器
- ubuntu14.04安装与配置nginx服务器