解决LLsMP一键包"-bash: unzip: command not found"问题

不仅仅是在LLsMP一键包应用过程中,或者在其他的环境中我们如果需要用到压缩和解压ZIP压缩包会用到zip/unzip命令,但是如果没有安装组件的时候会提示"-bash: unzip: command not found"的错误。说明我们的系统中没有安装ZIP/UNZIP扩展,我们只需要安装就可以。

安装ZIP/UNZIP扩展

apt-get install -y zip unzip # DEBIAN系统

yum -y install zip unzip #CENTOS系统

我们选择对应的系统环境脚本输入SSH中回车执行就可以。

投上你的一票

原创文章,转载请注明出处:https://www.itbulu.com/zip-unzip.html

上一篇 2014年10月30日 20:43
下一篇 2014年12月9日 19:49