伏笔VPS一向用CentOS比较随手,今日尝试在Debian部署宝塔,再部署Nginx,发现部署Nginx失利。
查看部署日记/tmp/panelExec.log 后发现,存在如下错误,导致部署script没法持续
./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.
粗心就是http(nignx)需要GD库,恰好GD库没有部署。
好吧,直接apt-get吧(CentOS与Debian的库称号不一样,找了半晌……)
apt-get install libgd2-xpm libgd2-xpm-dev
再次部署Nginx,顺手通过
参考文献: https://host.fubi.hk/foreshadowinghost/zhishiku/20181026/8421.html
网友评论