[root@aa Nginx]# wget http://Nginx.org/download/Nginx-1.7.4.tar.gz
以下基础操作,参见以下地址,
make install 那一步的时候,我出异常了,显示
- cp:`conf/koi-win’and`/usr/local/Nginx/conf/koi-win’arethesamefile
cp: `conf/koi-win' and `/usr/local/Nginx/conf/koi-win' are the same file
以上为代码片断
解决办法
将这一步改一下
- ./configure–prefix=/usr/local/Nginx
./configure --prefix=/usr/local/Nginx
TO
./configure --prefix=/usr/local/Nginx --conf-path=/usr/local/Nginx/Nginx.conf