美文网首页
解决Debian下宝塔面板无法安装Nginx

解决Debian下宝塔面板无法安装Nginx

作者: 824bb1c71eb9 | 来源:发表于2018-10-26 20:14 被阅读108次

    伏笔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

    相关文章

      网友评论

          本文标题:解决Debian下宝塔面板无法安装Nginx

          本文链接:https://www.haomeiwen.com/subject/wtwltqtx.html