如何解决在ubuntu安装wdcp v3错误:lanmp.sh: 45: lib/common.conf: function: not found

1在ubuntu安装wdcp v3执行sh lanmp.sh的时候错误

lanmp.sh: 45: lib/common.conf: function: not found

lanmp.sh: 67: lib/common.conf: Syntax error: “}” unexpected

2.ubuntu的dash兼容性不好导致,而编译常用的是bash。所以大家可以直接将ubuntu的编辑器(shell)操作进行更改。命令如下:sudo dpkg-reconfigure dash

运行后 选择no

sudo sh lanmp.sh即可安装