centos安装nginx报错问题解决
2017-12-25 12:55
465 查看
[plain] view plain copy print?[root@aa nginx]# wget http://nginx.org/download/nginx-1.7.4.tar.gz
以下基础操作,参见以下地址,
传送门
make install 那一步的时候,我出异常了,显示
[plain] view plain copy print?cp: `conf/koi-win’ and `/usr/local/nginx/conf/koi-win’ are the same file
以上为代码片断
解决办法
将这一步改一下
[plain] view plain copy print?./configure –prefix=/usr/local/nginx
TO
[plain] view plain copy print?./configure –prefix=/usr/local/nginx –conf-path=/usr/local/nginx/nginx.conf
[root@aa nginx]# wget http://nginx.org/download/nginx-1.7.4.tar.gz
以下基础操作,参见以下地址,
传送门
make install 那一步的时候,我出异常了,显示
[plain] view plain copy print?cp: `conf/koi-win’ and `/usr/local/nginx/conf/koi-win’ are the same file
cp: `conf/koi-win' and `/usr/local/nginx/conf/koi-win' are the same file
以上为代码片断
解决办法
将这一步改一下
[plain] view plain copy print?./configure –prefix=/usr/local/nginx
./configure --prefix=/usr/local/nginx
TO
[plain] view plain copy print?./configure –prefix=/usr/local/nginx –conf-path=/usr/local/nginx/nginx.conf
./configure --prefix=/usr/local/nginx --conf-path=/usr/local/nginx/nginx.conf
相关文章推荐
- centos源码安装Nginx问题解决
- 【LVS实践】centos6.5下nginx安装过程及问题解决
- 解决问题:centos虚拟机安装好nginx,本机无法访问
- CentOS 5.5通过yum安装 Memcached的步骤、问题、及解决办法
- 解决安装CentOS 5.7中文版报错问题
- 在 centos 5.2 系统安装 Oracle 10g 笔记和相关问题解决
- Linux第一天接触, 安装CentOS后解决中文字体的问题
- CentOS-5.2上使用源码安装SystemTap-1.1遇到的问题(SEC_ERROR_PKCS11_GENERAL_ERROR)及解决办法
- CentOs下安装Php的过程记录以及发现的问题和解决办法
- 如何解决虚拟机安装centos无法全屏显示问题!
- centos6.2 静默安装oracle 11g 建库及相关问题解决
- 在Win下搭建CentOS 6网络安装源时/repodata目录下文件名后缀丢失问题及解决方法
- U盘安装Centos后拔除U盘无法启动问题解决方法
- CentOS编译安装perl、python及问题解决
- VirtualBox安装CentOS5.5解决安装增强功能全屏问题
- CentOs5.4安装黑屏、花屏问题及其解决
- CentOS 5.5通过yum安装 Memcached的步骤、问题、及解决办法
- centos安装java的问题解决
- 搭建CentOS 6网络安装源时/repodata目录下文件名后缀丢失问题及解决方法
- 解决安装CentOS 5.7中文版报错问题