安装批量装机工具cobbler过程

首先想到的自然是yum install cobbler,结果找不到这个包,又懒得去官网下源码安装,于是乎想到增加第三方yum源,之后继续yum install cobbler,搞定。

然后启动cobblerd,service cobblerd start,成功。

启动httpd服务,突然发现启动不了了,之前还可以正常启动的,错误如下:

Invalid command 'WSGIScriptAliasMatch', perhaps misspelled or defined by a module not included in the server configuration

应该是安装cobbler时自动修改了httpd的配置文件,百度之,找到此文http://blog.51bbo.com/archives/tag/wsgiscriptaliasmatch,于是乎vi /etc/httpd/conf.d/wsgi.conf ,把LoadModule wsgi_module modules/mod_wsgi.so这行之前的注释去掉,重新启动httpd成功。

原文地址:https://www.cnblogs.com/argb/p/3440779.html