🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## make install ``` mkdir build cd build ../configure --prefix=/one/apps/app01 make -j$(nproc) make install make clean ``` ## yum 查询nmap命令的提供源 ``` nmap bash: nmap: command not found... yum provides nmap ``` 查询nmap信息 ``` yum info nmap ``` 安装nmap ``` yum install nmap ``` 或者(-y参数,如果系统询问,回答为yes) ``` yum install nmap -y ``` 查询已经安装的软件 ``` yum list installed yum list installed | grep nmap ``` 安装epel-release (Extra Packages for Enterprise Linux repository configuration) ``` yum install epel-release ``` yum搜索 ``` yum search keyword ``` 修改yum源为国内 ``` cd /etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo_bk wget -c http://mirrors.163.com/.help/CentOS6-Base-163.repo -O CentOS-Base.repo ``` ## rpm 查询安装的软件包 ``` rpm -qa rpm -qa | grep nmap ``` 安装软件包 ``` rpm -ivh package.rpm ```