linux - 致命: destination path '/var/cpanel/easy/apache/custom_opt_mods/Cpanel already exists and is not an empty directory

标签 linux git apache cpanel mod-pagespeed

我正在尝试安装https://github.com/pagespeed/cpanel

当我:

git clone https://github.com/pagespeed/cpanel.git /var/cpanel/easy/apache/custom_opt_mods/Cpanel/

我收到以下错误:

fatal: destination path '/var/cpanel/easy/apache/custom_opt_mods/Cpanel already exists and is not an empty directory

您知道如何解决此问题并安装模组吗?任何帮助请逐步解释,因为我是一个试图学习的新手:

提前致谢

最佳答案

答案在这里... $> cp -r Cpanel/*/var/cpanel/easy/apache/custom_opt_mods/Cpanel/中有一个拼写错误,应该是 $> cp -r cpanel/*/var/cpanel/easy/apache/custom_opt_mods/Cpanel/ https://github.com/pagespeed/cpanel/issues/13

关于linux - 致命: destination path '/var/cpanel/easy/apache/custom_opt_mods/Cpanel already exists and is not an empty directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22838567/

相关文章:

linux - 无法在linux中编译SDL

linux - 如何在 Linux 上使用 bash 增加文本文件中的浮点值?

git - git describe --match在TeamCity上不起作用

c - 将 execvp 与程序的输入文件结合使用并将输出重定向到新文件

linux - 检查和修改期望脚本中变量的格式

gitk 和钩子(Hook)脚本

git - 如何处理 Jenkins 上提升的冲突分支

java - 使用SCP协议(protocol)传输文件

php - 文件获取内容(): SSL operation failed with code 1 (certificate verify failed)

mysql - phpMyAdmin 安装程序无法识别自己的密码