[root@zabbix-server web]# yum install -y httpd php php-fpm mysql mysql-server php-mysql
File "/usr/bin/yum", line 30
except KeyboardInterrupt, e:
^
SyntaxError: invalid syntax
由于python冲突修改为#!/usr/bin/python2
[root@zabbix-server web]# vim /usr/libexec/urlgrabber-ext-down
#!/usr/bin/python2
[root@zabbix-server web]# vim /usr/bin/yum
#!/usr/bin/python2
测试OK