系统版本号为CentOs7.5.1804。安装Nigix,MySQL后,提示安装成功,但是在软件列表上无法看到这些软件,点击创建网站,显示您需要先安装服务器。与之对应的,系统的硬盘也并没有增加,也就是说所有安装只是表面上执行成功,但尚未暗转完成。
经查,是CentOS系统缺少依赖(一般境外服务器容易出这个问题,是安装宝塔时候的错误,境外服务器需要用宝塔官网提供的境外wget接口进行安装)。文章源自原紫番博客-https://www.yuanzifan.com/54002.html
执行以下命令行安装依赖,即可文章源自原紫番博客-https://www.yuanzifan.com/54002.html
yum install make cmake gcc gcc-c++ gcc-g77 flex bison file libtool libtool-libs autoconf kernel-devel patch wget libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel tar bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel libcurl libcurl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel vim-minimal gettext gettext-devel ncurses-devel gmp-devel pspell-devel libcap diffutils ca-certificates net-tools libc-client-devel psmisc libXpm-devel git-core c-ares-devel libicu-devel libxslt libxslt-devel zip unzip glibc.i686 libstdc++.so.6 cairo-devel bison-devel ncurses-devel libaio-devel perl perl-devel perl-Data-Dumper lsof pcre pcre-devel vixie-cron crontabs expat-devel readline-devel -y
执行完成后,可以正常安装软件。文章源自原紫番博客-https://www.yuanzifan.com/54002.html 文章源自原紫番博客-https://www.yuanzifan.com/54002.html
站长微信
扫码添加(注明来意)
Yuanzifan99
原梓番博客公众号
博客内容精选
原梓番博客
评论