Cobbler Web Management and maintenance

Source: Internet
Author: User

The Cobbler Web Management module and the command-line module can work separately, without dependencies.

1 Function of WebUI
    1. To view all objects and configuration files
    2. Add or remove System,distro, profile
    3. Perform "Cobbler Sync"
    4. Edit Kickstart File

Current WebUI features not yet implemented

    1. Automatically import media
    2. Perform "Cobbler Validateks"
2 Installing Cobbler-web

(1) The following modules are required to install WebUI

    1. Django
    2. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.