nginx安装出现:cp: `conf/koi-win' and `/application/nginx-1.6.3/conf/koi-win' are the same file(示
【nginx安装出现:cp: `conf/koi-win'
and `/application/nginx-1.6.3/conf/koi-win'
are the same file(示】古人已用三冬足,年少今开万卷余。这篇文章主要讲述nginx安装出现:cp: `conf/koi-win'
and `/application/nginx-1.6.3/conf/koi-win'
are the same file(示相关的知识,希望能为你提供帮助。
nginx编译安装时make出现如下错误
make[1]: Leaving directory `/application/nginx-1.6.3‘ make -f objs/Makefile install make[1]: Entering directory `/application/nginx-1.6.3‘ test -d ‘/application/nginx-1.6.3‘ || mkdir -p ‘/application/nginx-1.6.3‘ test -d ‘/application/nginx-1.6.3/sbin‘|| mkdir -p ‘/application/nginx-1.6.3/sbin‘ test ! -f ‘/application/nginx-1.6.3/sbin/nginx‘|| mv ‘/application/nginx-1.6.3/sbin/nginx‘‘/application/nginx-1.6.3/sbin/nginx.old‘ cp objs/nginx ‘/application/nginx-1.6.3/sbin/nginx‘ test -d ‘/application/nginx-1.6.3/conf‘|| mkdir -p ‘/application/nginx-1.6.3/conf‘ cp conf/koi-win ‘/application/nginx-1.6.3/conf‘ cp: `conf/koi-win‘ and `/application/nginx-1.6.3/conf/koi-win‘ are the same file make[1]: *** [install] Error 1 make[1]: Leaving directory `/application/nginx-1.6.3‘ make: *** [install] Error 2
cp objs/nginx ‘/application/nginx-1.6.3/sbin/nginx‘
cp conf/koi-win ‘/application/nginx-1.6.3/conf‘
cp: `conf/koi-win‘ and `/application/nginx-1.6.3/conf/koi-win‘ are the same file
这两行告诉你是个已经存在的目录(文件夹),因此无法复制 objs/nginx 文件过去。
多半是环境问题,若是测试机器,不妨移走 /usr/local/nginx 试一下。或用干净的系统再试。
推荐阅读
- Android常见的加密算法
- appium甯镐娇鐢ㄧ殑鍛戒护
- 动态扩容Linux根目录 (解决/dev/mapper/centos-root 占用了过高问题)
- java.lang.IllegalStateException: Failed to load property source from location 'classpath:/applic
- java.lang.NoSuchMethodException: tk.mybatis.mapper.provider.base.BaseSelectProvider
- MyBatis mapper.xml中SQL处理小于号与大于号
- 基于i.MX8开发板进行安卓Android9.0编译和开发
- Android Studio 之 GridView
- MyBatis mappers元素标签及其属性配置