在此感谢赵班长与张耀~~
环境
环境 |
LINUX |
系统 |
CentOS release 6.8 (Final) |
内核版本 |
2.6.32-642.el6.x86_64 |
epel源 |
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo rpm -ivh http://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm |
selinux |
Disabled |
ip tables |
Firewall is not running. |
需要的软件 |
httpd dhcp tftp cobbler cobbler-web pykickstart |
主机ip |
172.16.1.77 |
1、下载需要的软件
[root@cobbler scripts]# yum install -y httpd dhcp tftp cobbler cobbler-web pykickstart[root@cobbler scripts]# rpm -qa httpd dhcp tftp cobbler cobbler-web pykickstartcobbler-2.6.11-1.el6.x86_64pykickstart-1.74.20-1.el6.noarchhttpd-2.2.15-54.el6.centos.x86_64cobbler-web-2.6.11-1.el6.noarchtftp-0.49-8.el6.x86_64dhcp-4.1.1-51.P1.el6.centos.x86_64
如果cobbler没有下载下载,换一个epel源再去下载
rpm -ivh http://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm
2、开启httpd cobbler
[root@cobbler scripts]# service httpd startStarting httpd: [root@cobbler scripts]# service cobblerd startStarting cobbler daemon: [ OK ][root@cobbler scripts]#
3、检查cobbler配置存在的问题,逐一解决
[root@cobbler scripts]# cobbler checkThe following are potential configuration items that you may want to fix:1 : The 'serve