Cobbler 2.4 Installation and Configuration
2014-07-13 19:27
477 查看
Based on CentOS 6.5 x86_64
1.vi /etc/yum.repos.d/epel.repo
[epel]
name=epel
baseurl=http://mirrors.aliyun.com/epel/6Server/x86_64
enable=1
gpgcheck=0
2.yum -y install cobbler cobbler-web dhcp
service cobblerd start; chkconfig cobblerd on
service httpd start; chkconfig httpd on; chkconfig dhcpd on
3.cobbler check
1).vi /etc/cobbler/settings
a.default_password_crypted: 使用openssl passwd -1 yourpassword 获取加密值
b.把其中的 server 和 next_server 设为本服务器的 IP 地址
c.manage_dhcp 设为 1,以便管理 DHCP
2).cobbler get-loaders
3).change 'disable' to 'no' in /etc/xinetd.d/tftp and /etc/xinetd.d/rsync
4).yum -y install cman pykickstart
5).vi /etc/cobbler/dhcp.template, 修改dhcp网段选项,do not modify the "next-server $next_server;"
6).service cobblerd restart
cobbler check
4.注意 /var/www/cobbler 目录必须具有足够容纳 Linux 安装文件的空间
for CentOS 7:
cobbler signature update
cobbler import --name=centos7 --path=/media
cobbler import --name=centos65 --path=/media
cobbler import --name=rhel7 --path=/media
cobbler import --name=rhel65 --path=/media
5.setting up Cobbler web interface
Your /etc/cobbler/modules.conf should look something like this:
[authentication]
module = authn_configfile
[authorization]
module = authz_allowall
service cobblerd restart
service httpd restart
http://server-name/cobbler_web/ username/password: cobbler/cobbler
6.you now can change distro and profile, and add system in web gui
7.每次完成system添加后,都要cobbler sync
7. boot client via PXE
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1437641
1.vi /etc/yum.repos.d/epel.repo
[epel]
name=epel
baseurl=http://mirrors.aliyun.com/epel/6Server/x86_64
enable=1
gpgcheck=0
2.yum -y install cobbler cobbler-web dhcp
service cobblerd start; chkconfig cobblerd on
service httpd start; chkconfig httpd on; chkconfig dhcpd on
3.cobbler check
1).vi /etc/cobbler/settings
a.default_password_crypted: 使用openssl passwd -1 yourpassword 获取加密值
b.把其中的 server 和 next_server 设为本服务器的 IP 地址
c.manage_dhcp 设为 1,以便管理 DHCP
2).cobbler get-loaders
3).change 'disable' to 'no' in /etc/xinetd.d/tftp and /etc/xinetd.d/rsync
4).yum -y install cman pykickstart
5).vi /etc/cobbler/dhcp.template, 修改dhcp网段选项,do not modify the "next-server $next_server;"
6).service cobblerd restart
cobbler check
4.注意 /var/www/cobbler 目录必须具有足够容纳 Linux 安装文件的空间
for CentOS 7:
cobbler signature update
cobbler import --name=centos7 --path=/media
cobbler import --name=centos65 --path=/media
cobbler import --name=rhel7 --path=/media
cobbler import --name=rhel65 --path=/media
5.setting up Cobbler web interface
Your /etc/cobbler/modules.conf should look something like this:
[authentication]
module = authn_configfile
[authorization]
module = authz_allowall
service cobblerd restart
service httpd restart
http://server-name/cobbler_web/ username/password: cobbler/cobbler
6.you now can change distro and profile, and add system in web gui
7.每次完成system添加后,都要cobbler sync
7. boot client via PXE
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1437641
相关文章推荐
- Openstack: Single node Installation and External Network Accessing Configuration Guide
- Simple Event Correlation installation and configuration
- Oracle Unified Directory (OUD) 11g installation and Configuration memo
- CentOS SSH Installation And Configuration
- SharePoint 2013 Installation and Configuration Issues
- ANSYS Workbench Products Installation and Configuration Guide
- sql server 2008,2008 R2 and 2012 SP1 installation guide and configuration
- CentOS SSH Installation And Configuration
- HAProxy Installation and Configuration on CentOS 6.4 to Mitigate The Effects of Abusive Clients--转
- Eclipse主要插件Lomboz介绍(2)_Installation and Configuration
- P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1
- VTK Installation and Configuration with Qt in Ubuntu
- HHVM Installation and Configuration(HHVM 安装及配置)
- Grub installation and configuration
- smokeping:installation and configuration
- enabling ip forwarding - installation and configuration of Quagga - configuring OSPF
- OpenLDAP Installation and Configuration Guide
- [Installation and Configuration][Informatica 8.6.1][Windows 2003] Informatica服务器端及客户端安装配置
- minicom installation and configuration on ubuntu
- Full Qmail Installation and Configuration Guide