linux安装nginx个过程

需要安装nginx,

yum -y install nginx  #安装nginx

发现没有名叫nginx的软件

yum list|grep nginx    #查询包含"nginx"的软件包

[root@ip-172-31-8-236 local]# yum list|grep nginx
pcp-pmda-nginx.x86_64                      3.10.6-2.el7                @base

yum -y install pcp-pmda-nginx.x86_64   #安装该安装包


安装后我却不知道软件安装的目录

#查看安装包的目录

[root@ip-172-31-8-236 local]# rpm -ql pcp-pmda-nginx.x86_64
/var/lib/pcp/pmdas/nginx
/var/lib/pcp/pmdas/nginx/Install
/var/lib/pcp/pmdas/nginx/Remove
/var/lib/pcp/pmdas/nginx/nginx.conf
/var/lib/pcp/pmdas/nginx/pmdanginx.pl











你可能感兴趣的:(工作笔记)