Cobbler Centos 7 Installation Cobbler

Source: Internet
Author: User
Tags time zones install django

The earliest use of centos5 installed cobbler, very useful, now CentOS has reached 7, with the Times, try to install a cobbler in this centos7, installed in their own notebook virtual machine, easy to work in the back of the time may need to use the machine.

Environment Introduction:

Native operating system: WIN10 64-bit

Virtual machine Software: VirtualBox5.0.20 (note that the old version 4.3.26 can not use bridged mode network, this problem took me one hours, after upgrading to 5 version is OK)

Cobbler Virtual Machine Operating system: CENTOS7 single core, memory 2G, HDD 30G

Installation Preparation:

1. For reference installation steps, refer to the online information: http://os.51cto.com/art/201509/492398.htm, "How to install cobbler under Centos 7.1".

2, prepare CENTOS7 installation image, to find the image on the internet to download;

3, the installation of CENTOS7 virtual machine, single core, memory 2G, hard disk 30G, the installation of the choice of Web server, the corresponding package is hooked on, including the Python environment, Java environment, and so on, specifically do not remember, anyway, as far as possible to think that can be used on the hook, save behind a separate installation. Of course, there are other time zones, network configuration, partitions, and so on, time zone selection Shanghai, other self-love how to configure the configuration. Network configuration can be configured later, you can also install the time configuration, you need to configure the network segment of the physical network, convenient back cobbler through the LAN installed. The IP address I configured here is 192.168.1.201, and be careful not to conflict with existing network addresses.

4, the virtual machine network is set to bridge mode, inside the virtual machine ping www.baidu.com to confirm access to the external network.



(i) Configure the Yum repository, firewall, install dependency pack :

1. Download the Yum source installation package:

wgehttps://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm

RPM-IVH epel-release-7-6.noarch.rpm

2. Configure the Firewall

#systemctl Stop Firewalld #chkconfig firewalld off

3. Configure SELinux

Sed-i ' s/selinux=enforcing/selinux=disabled/g '/etc/selinux/config

Setenforce 0

If you do not turn off SELinux, you can

#getsebool-a|grep Cobbler

#setsebool-P Cobbler_can_network_connect 1

3. Install dependent packages

Yum-y Install Createrepo httpd mkisofs python-netaddr python-urlgrabber rsyncsyslinux tftp-server yum-utils mod_ssl mod_w SGI git make python-develpython-setuptools fence-agents pykickstart DHCP rpm-build edpatch perl-compress-zlib Perl-libwww-perl Perl-digest-sha


(ii) Installation of Cobbler

1. Installing Pyyaml

: http://pyyaml.org/download/pyyaml/PyYAML-3.11.tar.gz

#tar-zxvf pyyaml-3.11.tar.gz-c/usr/src/#cd/usr/src/pyyaml-3.11/#python setup.py Install

2. Install Django

: https://pypi.python.org/packages/source/D/Django/Django-1.8.4.tar.gz

#tar-zxvf django-1.8.4.tar.gz-c/usr/src/#cd/usr/src/django-1.8.4 #python setup.py Install

3. Installing Markdown

: https://pypi.python.org/packages/source/M/Markdown/Markdown-2.6.2.tar.gz

# TAR–ZXVF markdown-2.6.2.tar.gz-c/usr/src/#cd/usr/src/markdown-2.6.2 #python setup.py Install

4. Installing Cheetah

: https://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz

#tar-zxvf cheetah-2.4.4.tar.gz-c/usr/src #cd/usr/src/cheetah-2.4.4 #python setup.py Install

5. Installing Simplejson

: https://pypi.python.org/packages/source/s/simplejson/simplejson-3.8.0.tar.gz

# TAR–ZXVF simplejson-3.8.0.tar.gz #cd/usr/src/simplejson-3.8.0/#python setup.py Install

6. Installing Cobbler

: https://github.com/cobbler/cobbler/releases/tag/v2.6.9

#tar-zxvf cobbler-2.6.9.tar.gz-c/usr/src #cd/usr/src/cobbler-2.6.9 # make && make install #mkdir/ Var/www/cobbler/web #mkdir-P/srv/www/cobbler/svc #make webtest (iii) configuration cobbler

This article is from the "Yuweibing Technology blog" blog, make sure to keep this source http://yuweibing.blog.51cto.com/3879355/1782977

Cobbler Centos 7 Installation Cobbler

Related Article

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.