[user1@qmmms ~]$ yum provides passwd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
passwd-0.79-6.el7.x86_64 : An utility for setting or changing passwords using PAM
Repo : base
passwd-0.79-6.el7.x86_64 : An utility for setting or changing passwords using PAM
Repo : @anaconda
[user1@qmmms ~]$ yum grouplist | head
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
Available Environment Groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
Cinnamon Desktop
MATE Desktop
Basic Web Server
安装软件与开启服务的一般流程
安装:yum install 软件
开启服务:systemctl start 软件
开机启动:systemctl enable 软件
设置防火墙:firewall-cmd --permanent --add-service="服务"
测试
实例:开启WWW网站服务器
首先查询相关软件是否安装,然后安装它们
[root@qmmms ~]# rpm -q httpd php mariadb-server php-mysql
package httpd is not installed
package php is not installed
package mariadb-server is not installed
package php-mysql is not installed
[root@qmmms ~]# yum install httpd php mariadb-server php-mysql