centos cobbler

[root@localhost ~]#  yum install cobbler
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: mirrors.aliyun.com
 * extras: centos.excellmedia.net
 * updates: centos.hbcse.tifr.res.in
Resolving Dependencies
--> Running transaction check
---> Package cobbler.x86_64 0:2.8.5-0.1.el7 will be installed
--> Processing Dependency: mod_wsgi for package: cobbler-2.8.5-0.1.el7.x86_64
--> Processing Dependency: python-cheetah for package: cobbler-2.8.5-0.1.el7.x86_64
--> Processing Dependency: python2-pyyaml for package: cobbler-2.8.5-0.1.el7.x86_64
--> Processing Dependency: python2-simplejson for package: cobbler-2.8.5-0.1.el7.x86_64
--> Processing Dependency: tftp-server for package: cobbler-2.8.5-0.1.el7.x86_64
--> Running transaction check
---> Package mod_wsgi.x86_64 0:3.4-18.el7 will be installed
---> Package python-cheetah.x86_64 0:2.4.4-5.el7.centos will be installed
--> Processing Dependency: python-pygments for package: python-cheetah-2.4.4-5.el7.centos.x86_64
--> Processing Dependency: python-markdown for package: python-cheetah-2.4.4-5.el7.centos.x86_64
---> Package python2-pyyaml.noarch 0:3.10-0.el7 will be installed
---> Package python2-simplejson.x86_64 0:3.10.0-2.el7 will be installed
---> Package tftp-server.x86_64 0:5.2-22.el7 will be installed
--> Running transaction check
---> Package python-pygments.noarch 0:1.4-10.el7 will be installed
--> Processing Dependency: python-imaging for package: python-pygments-1.4-10.el7.noarch
---> Package python2-markdown.noarch 0:2.4.1-4.el7 will be installed
--> Running transaction check
---> Package python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                 Arch        Version                         Repository   Size
=======================================================================================
Installing:
 cobbler                 x86_64      2.8.5-0.1.el7                   epel        580 k
Installing for dependencies:
 mod_wsgi                x86_64      3.4-18.el7                      base         77 k
 python-cheetah          x86_64      2.4.4-5.el7.centos              extras      341 k
 python-pillow           x86_64      2.0.0-19.gitd1c6db8.el7         base        438 k
 python-pygments         noarch      1.4-10.el7                      base        599 k
 python2-markdown        noarch      2.4.1-4.el7                     epel        250 k
 python2-pyyaml          noarch      3.10-0.el7                      epel        3.0 k
 python2-simplejson      x86_64      3.10.0-2.el7                    epel        188 k
 tftp-server             x86_64      5.2-22.el7                      base         47 k

Transaction Summary
=======================================================================================
Install  1 Package (+8 Dependent packages)

Total download size: 2.5 M
Installed size: 11 M
Is this ok [y/d/N]: y
Downloading packages:
cobbler-2.8.5-0.1.el7.x86_64.r FAILED                                         
http://repos.del.extreme-ix.org/epel/7/x86_64/Packages/c/cobbler-2.8.5-0.1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(1/9): mod_wsgi-3.4-18.el7.x86_64.rpm                           |  77 kB  00:00:00   
(2/9): python2-markdown-2.4.1-4.el7.noarch.rpm                  | 250 kB  00:00:01   
(3/9): python2-pyyaml-3.10-0.el7.noarch.rpm                     | 3.0 kB  00:00:00   
(4/9): python-cheetah-2.4.4-5.el7.centos.x86_64.rpm             | 341 kB  00:00:02   
(5/9): tftp-server-5.2-22.el7.x86_64.rpm                        |  47 kB  00:00:00   
(6/9): python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64.rpm         | 438 kB  00:00:02   
(7/9): python2-simplejson-3.10.0-2.el7.x86_64.rpm               | 188 kB  00:00:00   
(8/9): python-pygments-1.4-10.el7.noarch.rpm                    | 599 kB  00:00:04   
(9/9): cobbler-2.8.5-0.1.el7.x86_64.rpm                         | 580 kB  00:00:10   
---------------------------------------------------------------------------------------
Total                                                     192 kB/s | 2.5 MB  00:13   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-markdown-2.4.1-4.el7.noarch                                 1/9
  Installing : python2-pyyaml-3.10-0.el7.noarch                                    2/9
  Installing : tftp-server-5.2-22.el7.x86_64                                       3/9
  Installing : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64                        4/9
  Installing : python-pygments-1.4-10.el7.noarch                                   5/9
  Installing : python-cheetah-2.4.4-5.el7.centos.x86_64                            6/9
  Installing : mod_wsgi-3.4-18.el7.x86_64                                          7/9
  Installing : python2-simplejson-3.10.0-2.el7.x86_64                              8/9
  Installing : cobbler-2.8.5-0.1.el7.x86_64                                        9/9
  Verifying  : python2-simplejson-3.10.0-2.el7.x86_64                              1/9
  Verifying  : python-cheetah-2.4.4-5.el7.centos.x86_64                            2/9
  Verifying  : python-pygments-1.4-10.el7.noarch                                   3/9
  Verifying  : mod_wsgi-3.4-18.el7.x86_64                                          4/9
  Verifying  : python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64                        5/9
  Verifying  : tftp-server-5.2-22.el7.x86_64                                       6/9
  Verifying  : python2-pyyaml-3.10-0.el7.noarch                                    7/9
  Verifying  : python2-markdown-2.4.1-4.el7.noarch                                 8/9
  Verifying  : cobbler-2.8.5-0.1.el7.x86_64                                        9/9

Installed:
  cobbler.x86_64 0:2.8.5-0.1.el7                                                     

Dependency Installed:
  mod_wsgi.x86_64 0:3.4-18.el7                                                       
  python-cheetah.x86_64 0:2.4.4-5.el7.centos                                         
  python-pillow.x86_64 0:2.0.0-19.gitd1c6db8.el7                                     
  python-pygments.noarch 0:1.4-10.el7                                                 
  python2-markdown.noarch 0:2.4.1-4.el7                                               
  python2-pyyaml.noarch 0:3.10-0.el7                                                 
  python2-simplejson.x86_64 0:3.10.0-2.el7                                           
  tftp-server.x86_64 0:5.2-22.el7                                                     

Complete!
[root@localhost ~]#  yum install cobbler-web
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: mirrors.aliyun.com
 * extras: centos.excellmedia.net
 * updates: centos.hbcse.tifr.res.in
Resolving Dependencies
--> Running transaction check
---> Package cobbler-web.noarch 0:2.8.5-0.1.el7 will be installed
--> Processing Dependency: Django > 1.6 for package: cobbler-web-2.8.5-0.1.el7.noarch
--> Processing Dependency: mod_ssl for package: cobbler-web-2.8.5-0.1.el7.noarch
--> Processing Dependency: python2-django for package: cobbler-web-2.8.5-0.1.el7.noarch
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.4.6-90.el7.centos will be installed
--> Processing Dependency: httpd = 2.4.6-90.el7.centos for package: 1:mod_ssl-2.4.6-90.el7.centos.x86_64
---> Package python2-django.noarch 0:1.11.23-1.el7 will be installed
--> Processing Dependency: python-django-bash-completion = 1.11.23-1.el7 for package: python2-django-1.11.23-1.el7.noarch
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-89.el7.centos.1 will be updated
---> Package httpd.x86_64 0:2.4.6-90.el7.centos will be an update
--> Processing Dependency: httpd-tools = 2.4.6-90.el7.centos for package: httpd-2.4.6-90.el7.centos.x86_64
---> Package python-django-bash-completion.noarch 0:1.11.23-1.el7 will be installed
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.4.6-89.el7.centos.1 will be updated
---> Package httpd-tools.x86_64 0:2.4.6-90.el7.centos will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                           Arch       Version                   Repository
                                                                                  Size
=======================================================================================
Installing:
 cobbler-web                       noarch     2.8.5-0.1.el7             epel     289 k
Installing for dependencies:
 mod_ssl                           x86_64     1:2.4.6-90.el7.centos     base     112 k
 python-django-bash-completion     noarch     1.11.23-1.el7             epel      10 k
 python2-django                    noarch     1.11.23-1.el7             epel     4.2 M
Updating for dependencies:
 httpd                             x86_64     2.4.6-90.el7.centos       base     2.7 M
 httpd-tools                       x86_64     2.4.6-90.el7.centos       base      91 k

Transaction Summary
=======================================================================================
Install  1 Package  (+3 Dependent packages)
Upgrade             ( 2 Dependent packages)

Total size: 7.4 M
Total download size: 4.6 M
Is this ok [y/d/N]: y
Downloading packages:
cobbler-web-2.8.5-0.1.el7.noar FAILED                                         
http://repos.del.extreme-ix.org/epel/7/x86_64/Packages/c/cobbler-web-2.8.5-0.1.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(1/4): mod_ssl-2.4.6-90.el7.centos.x86_64.rpm                   | 112 kB  00:00:00   
(2/4): python-django-bash-completion-1.11.23-1.el7.noarch.rpm   |  10 kB  00:00:00   
(3/4): python2-django-1.11.23-1.el7.noarch.rpm                  | 4.2 MB  00:00:01   
(4/4): cobbler-web-2.8.5-0.1.el7.noarch.rpm                     | 289 kB  00:00:02   
---------------------------------------------------------------------------------------
Total                                                     1.0 MB/s | 4.6 MB  00:04   
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python-django-bash-completion-1.11.23-1.el7.noarch                  1/8
  Installing : python2-django-1.11.23-1.el7.noarch                                 2/8
  Updating   : httpd-tools-2.4.6-90.el7.centos.x86_64                              3/8
  Updating   : httpd-2.4.6-90.el7.centos.x86_64                                    4/8
  Installing : 1:mod_ssl-2.4.6-90.el7.centos.x86_64                                5/8
  Installing : cobbler-web-2.8.5-0.1.el7.noarch                                    6/8
  Cleanup    : httpd-2.4.6-89.el7.centos.1.x86_64                                  7/8
  Cleanup    : httpd-tools-2.4.6-89.el7.centos.1.x86_64                            8/8
  Verifying  : httpd-tools-2.4.6-90.el7.centos.x86_64                              1/8
  Verifying  : httpd-2.4.6-90.el7.centos.x86_64                                    2/8
  Verifying  : python2-django-1.11.23-1.el7.noarch                                 3/8
  Verifying  : cobbler-web-2.8.5-0.1.el7.noarch                                    4/8
  Verifying  : 1:mod_ssl-2.4.6-90.el7.centos.x86_64                                5/8
  Verifying  : python-django-bash-completion-1.11.23-1.el7.noarch                  6/8
  Verifying  : httpd-2.4.6-89.el7.centos.1.x86_64                                  7/8
  Verifying  : httpd-tools-2.4.6-89.el7.centos.1.x86_64                            8/8

Installed:
  cobbler-web.noarch 0:2.8.5-0.1.el7                                                 

Dependency Installed:
  mod_ssl.x86_64 1:2.4.6-90.el7.centos                                               
  python-django-bash-completion.noarch 0:1.11.23-1.el7                               
  python2-django.noarch 0:1.11.23-1.el7                                               

Dependency Updated:
  httpd.x86_64 0:2.4.6-90.el7.centos      httpd-tools.x86_64 0:2.4.6-90.el7.centos   

Complete!
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p tcp --dport 69 -j ACCEPT
FirewallD is not running
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p udp --dport 69 -j ACCEPT
FirewallD is not running
[root@localhost ~]# service firewalld start
Redirecting to /bin/systemctl start firewalld.service
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p udp --dport 69 -j ACCEPT
success
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p tcp --dport 69 -j ACCEPT
success
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p tcp --dport 80 -j ACCEPT
success
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p tcp --dport 443 -j ACCEPT
success
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p tcp --dport 25150 -j ACCEPT
success
[root@localhost ~]# firewall-cmd --direct --permanent --add-rule ipv4 filter INPUT 0 -p tcp --dport 25151 -j ACCEPT
success
[root@localhost ~]#
[root@localhost ~]# firewall-cmd --reload

success
[root@localhost ~]# Note
bash: Note: command not found...
[root@localhost ~]# firewall-cmd --permanent --direct --get-rules ipv4 filter INPUT
0 -p udp --dport 69 -j ACCEPT
0 -p tcp --dport 69 -j ACCEPT
0 -p tcp --dport 80 -j ACCEPT
0 -p tcp --dport 443 -j ACCEPT
0 -p tcp --dport 25150 -j ACCEPT
0 -p tcp --dport 25151 -j ACCEPT
[root@localhost ~]# service cobblerd start
Redirecting to /bin/systemctl start cobblerd.service
[root@localhost ~]# chkconfig cobblerd on
Note: Forwarding request to 'systemctl enable cobblerd.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/cobblerd.service to /usr/lib/systemd/system/cobblerd.service.
[root@localhost ~]#
[root@localhost ~]# service httpd start
Redirecting to /bin/systemctl start httpd.service
[root@localhost ~]# chkconfig httpd on
Note: Forwarding request to 'systemctl enable httpd.service'.
[root@localhost ~]# cobbler get-loaders
task started: 2019-09-19_135436_get_loaders
task started (id=Download Bootloader Content, time=Thu Sep 19 13:54:36 2019)
downloading https://cobbler.github.io/loaders/README to /var/lib/cobbler/loaders/README
downloading https://cobbler.github.io/loaders/COPYING.elilo to /var/lib/cobbler/loaders/COPYING.elilo
downloading https://cobbler.github.io/loaders/COPYING.yaboot to /var/lib/cobbler/loaders/COPYING.yaboot
downloading https://cobbler.github.io/loaders/COPYING.syslinux to /var/lib/cobbler/loaders/COPYING.syslinux
downloading https://cobbler.github.io/loaders/elilo-3.8-ia64.efi to /var/lib/cobbler/loaders/elilo-ia64.efi
downloading https://cobbler.github.io/loaders/yaboot-1.3.17 to /var/lib/cobbler/loaders/yaboot
downloading https://cobbler.github.io/loaders/pxelinux.0-3.86 to /var/lib/cobbler/loaders/pxelinux.0
downloading https://cobbler.github.io/loaders/menu.c32-3.86 to /var/lib/cobbler/loaders/menu.c32
downloading https://cobbler.github.io/loaders/grub-0.97-x86.efi to /var/lib/cobbler/loaders/grub-x86.efi
downloading https://cobbler.github.io/loaders/grub-0.97-x86_64.efi to /var/lib/cobbler/loaders/grub-x86_64.efi
*** TASK COMPLETE ***
[root@localhost ~]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service
[root@localhost ~]#

https://docs.google.com/document/d/e/2PACX-1vSlOzsucHb_Tvoh7BJh6JmXujjQpt6sZ0lEMhNdscq-EKmKkK05jH0uVBnfPXiaBDpEu0v7YG8SgPzM/pub

Comments