The Cobbler Web Management module and the command-line module can work separately, without dependencies.
1 Function of WebUI
- To view all objects and configuration files
- Add or remove System,distro, profile
- Perform "Cobbler Sync"
- Edit Kickstart File
Current WebUI features not yet implemented
- Automatically import media
- Perform "Cobbler Validateks"
2 Installing Cobbler-web
(1) The following modules are required to install WebUI
- Django
- Cobbler-web
(2) Editing files/etc/cobbler/modules.conf
[Authentication]module = Authn_configfile[authorization]module = Authz_allowall
(3) Modify the ' Cobbler ' user password
Htdigest/etc/cobbler/users.digest "Cobbler" cobbler
(4) If it is not a new installation, the Apache configuration file may not exist
Cp/etc/httpd/conf.d/cobbler.conf.rpmnew/etc/httpd/conf.d/cobbler.conf
(5) Restart Service
/sbin/service cobblerd restart/sbin/service httpd restart
(6) If you enable SELinux, you need to do the following:
Setsebool-p Httpd_can_network_connect True
(7) Visit WebUI
Https://hostname/cobbler_web
(8) Viewing log information
/var/log/httpd/error_log /var/log/cobbler/cobbler.log
(9) Add a new administrative user, the following example
(10) Re-establish SSL login rules
You can modify the Apache ssl.conf file in the following format/etc/httpd/conf.d/ssl.conf
# # Force SSL-only on the webui<virtualhost *:80> <locationmatch "^/cobbler/web/*" > rewriteengine On rewriterule ^ (. *) Https://%{server_name}/%{request_uri} [r,l] </locationmatch></virtualhost >
3 Web Usage
(1) Login WebUI
(2) Import DVD
You need to attach the ISO file to the background first, then perform the following import operation.
In the prefix entry to fill in the name of the import CD, only do not conflict with the previous name, here can be filled.
Select the type of disc in the arch entry, i386, x86_64, ai64, and so on.
Choose the type of system in the breed item, one of CentOS, Debian, Ubuntu.
In the path entry, fill in the location where the CD or ISO image package is mounted, and the paths must be filled in correctly.
After these finishes point to run, you will see the following interface:
(3) View the status of the import
The import succeeds when state becomes complete.
Click on the log to see the results shown below.
(4) View Distro,profile tags
(5) New virtual machine, boot from PXE can be installed directly
Reference files:
Http://www.cobblerd.org/manuals/2.4.0/6_-_Web_Interface.html
Cobbler Web Management and maintenance