Notice: 函数 WP_Scripts::localize 的调用方法不正确$l10n 参数必须是一个数组。若要将任意数据传递给脚本,请改用 wp_add_inline_script() 函数。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 5.7.0 版本添加的。) in /data/www/appblog/wp-includes/functions.php on line 6131

CentOS下安装Git rpm包

安装步骤

perl-Git:https://pkgs.org/download/perl-Git
git:https://pkgs.org/download/git

以 End Point x86_64 为例

# rpm -ivh perl-Git-1.8.4-1.ep.noarch.rpm --nodeps --force  //跳过依赖检查
# rpm -ivh git-1.8.4-1.ep.x86_64.rpm --nodeps --force  //跳过依赖检查

CentOS 6

CentOS Repository (perl-Git):https://centos.pkgs.org/6/centos-x86_64/perl-Git-1.7.1-9.el6_9.noarch.rpm.html
CentOS Repository (git):https://centos.pkgs.org/6/centos-x86_64/git-1.7.1-9.el6_9.x86_64.rpm.html

End Point x86_64 Repository (perl-Git):https://centos.pkgs.org/6/endpoint-x86_64/perl-Git-1.8.4-1.ep.noarch.rpm.html
End Point x86_64 Repository (git):https://centos.pkgs.org/6/endpoint-x86_64/git-1.8.4-1.ep.x86_64.rpm.html

IUS Community Packages x86_64 (perl-Git):https://centos.pkgs.org/6/ius-x86_64/git2u-perl-Git-2.16.5-1.ius.centos6.noarch.rpm.html
IUS Community Packages x86_64 (git):https://centos.pkgs.org/6/ius-x86_64/git2u-2.16.5-1.ius.centos6.x86_64.rpm.html

CentOS 7

CentOS Repository (perl-Git):https://centos.pkgs.org/7/centos-x86_64/perl-Git-1.8.3.1-13.el7.noarch.rpm.html
CentOS Repository (git):https://centos.pkgs.org/7/centos-updates-x86_64/git-1.8.3.1-14.el7_5.x86_64.rpm.html

End Point x86_64 Repository (perl-Git):https://centos.pkgs.org/7/endpoint-x86_64/perl-Git-2.8.4-1.ep7.noarch.rpm.html
End Point x86_64 Repository (git):https://centos.pkgs.org/7/endpoint-x86_64/git-2.8.4-1.ep7.x86_64.rpm.html

IUS Community Packages x86_64 (perl-Git):https://centos.pkgs.org/7/ius-x86_64/git2u-perl-Git-2.16.5-1.ius.centos7.noarch.rpm.html
IUS Community Packages x86_64 (git):https://centos.pkgs.org/7/ius-x86_64/git2u-2.16.5-1.ius.centos7.x86_64.rpm.html

上一篇 Gitlab HTTP 413 curl 22 Request Entity Too Large
下一篇 修改PHP和Nginx文件上传大小限制