Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Cobbler Add custom YUM source     - CentOS boot image to achieve semi-automatic installation (Linux)

- tespeed - test speed of Python tools (Linux)

- Java Concurrency - processes and threads (Programming)

- Linux vi command list (Linux)

- Oracle 11g DataGuard service to start automatically (Database)

- How to use GRUB2 files directly from the hard disk to run ISO (Linux)

- 24 Docker recommendations (Linux)

- Parameters of the extra port MySQL 5.6 (Database)

- Docker data container protection the pros and cons (Server)

- Android Sets the system screen brightness (Programming)

- Kubernetes (k8s) environment to build combat (Server)

- Acquaintance C ++: the most simple C ++ program (Programming)

- Briefly explain the invasion of the four-level denial of service attack DoS Linux server (Linux)

- Normal start Lazarus 1.0.8 under Ubuntu (Linux)

- Ubuntu: HDF5 error: HDF5 header version does not match with the HDF5 library (Linux)

- GAMIT10.5 install and update failed Solution (Linux)

- PXE install CentOS 6.4 (Linux)

- Linux Shell debugging (Programming)

- Ubuntu 14.10 installation GNOME 3.14 (Linux)

- Spark SQL job of a lifetime (Server)

 
         
  Cobbler Add custom YUM source
     
  Add Date : 2018-11-21      
         
       
         
  First, refer to my article on the front of several Cobbler Cobbler to create environment for remote installation, and then based on my previous articles RPM packages and YUM installation source to create good on YUM repository.

Cobbler is located on the host running the following command to add a Cobbler's repo

sudo cobbler repo add --name = my_repo --arch = x86_64 --breed = yum --mirror = http: //192.168.31.102/yum_repos/my/Packages/

repo association created in the previous step to the specified profile, if there are multiple warehouses, then you can specify multiple

sudo cobbler profile edit --name = CentOS-6.6-x86_64 --repos = "my_repo"

And then synchronize warehouse.

sudo cobbler reposync

This step is important to note, here is my YUM source to create their own use, if you want to specify the source of CentOS, then this step will be very slow and requires a lot of physical disks, because this step will be a lot of synchronized rpm package.

The final step is to test the use Cobbler to install a physical machine, then view /etc/yum.repos.d/cobbler-config.repo file on this newly installed machines, such as within something like the following

[Core-0]
name = core-0
baseurl = http: //192.168.31.102/cobbler/ks_mirror/CentOS-6.6-x86_64
enabled = 1
gpgcheck = 0
priority = 1

[My_repo]
name = my_repo
baseurl = http: //192.168.31.102/cobbler/repo_mirror/my_repo
enabled = 1
priority = 99
gpgcheck = 0

At this point you can install our own warehouses in a package using 'yum install helloworld'.
     
         
       
         
  More:      
 
- mysqldump MySQL command-line tool (Database)
- User rights management system under Linux (Linux)
- Java Prototype Pattern (Programming)
- Linux file permissions and access modes (Linux)
- Ubuntu 14.04 / 13.10 users how to install Ubuntu Touch core applications (Linux)
- Linux Basic Course: Install the software from source code (Linux)
- How to manage start-up applications in Ubuntu (Linux)
- Linux uses the SMTP proxy to send mail (Linux)
- MySQL InnoDB table --BTree basic data structures (Database)
- Iptables on the request URL for IP access control (Linux)
- Linux more efficient than select a model epoll (Linux)
- Oracle TAF Analysis (Database)
- Experience PHP 7.0 on CentOS 7.x / Fedora 21 (Server)
- Spring loaded container finishes executing a method (Programming)
- MySQL 5.6 Open full query log (Database)
- MyCAT read and write separation of MySQL (Database)
- Ubuntu system safe and caution sudo su command (Linux)
- Linux, rename the file or folder (mv command and rename command) (Linux)
- Use chattr and lsattr command to manage linux files and directory attributes (Linux)
- Python 3.5 await / async (Programming)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.