1.加入YUM源
rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
2.更新
sudo yum update
3.安装软件
yum install qgis qgis-python qgis-grass qgis-mapserver