10.2.2.149
-bash: unzip: 未找到命令
首先查看下自己系统:
$ cat /proc/version
Linux version 3.10.0-957.10.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Mar 18 15:06:45 UTC 2019
当执行unzip 提示如下:
-bash: unzip: 未找到命令
yum install -y unzip zip
cd /opt/install/nginx-1.18.0
./configure --prefix=/usr/local/nginx --with-pcre