Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Cobbler Add custom YUM source     - Use Mop monitor stock prices at the Linux command line (Linux)

- Forgot Linux root password (Linux)

- Linux operating system security management skills notes (Linux)

- Redhat 7 can only be read after installation Samba service catalog approach could not be written (Server)

- C ++ precision performance test function (Programming)

- Keepalived + HAProxy high availability load balancing (Server)

- Python uses multi-process pool (Programming)

- Linux prohibit non-WHEEL user su command Detail (Linux)

- shell script: MySQL monitoring service is normal (Database)

- Installation and management of Linux applications (Linux)

- Iptables on the request URL for IP access control (Linux)

- Lenovo Ultrabooks Ubuntu system can not open the wireless hardware switch solutions (Linux)

- MySQL restart process can not be taken lightly (Database)

- Linux operating system boot process analysis (Linux)

- Use MD5 transform algorithm to prevent exhaustive decipher passwords (Linux)

- Python pickle module for simple use notes (Programming)

- Linux five security TIPS (Linux)

- Production environment Linux bonding method standby mode slave card switch (Server)

- Docker: installation under Ubuntu (Server)

- Linux System Getting Started Tutorial: How to update outdated version of Ubuntu (Linux)

 
         
  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:      
 
- Linux mount command Detailed (Linux)
- Oracle table of nested loop connection (Database)
- Python 3.5 will support Async / Await Asynchronous Programming (Programming)
- HTML5 postMessage cross-domain data exchange (Programming)
- mysql_config_editor encryption and decryption of the new features of MySQL realization (Database)
- Use OpenSSL to generate a certificate detailed process (Linux)
- Java reflection Introduction (Programming)
- MySQL 5.6.12 binary log path switching binlog (Database)
- PostgreSQL 9.3.5 database installation under Ubuntu Server 14.04 (Database)
- Android Studio Installation and Configuration Guide tutorial (Linux)
- How to install GIMP 2.8.16 in Ubuntu 16.04,15.10,14.04 (Linux)
- Linux user status query, and to unlock locked user (Linux)
- Iptables small summary (Linux)
- Ubuntu Linux to create and increase the Swap partition tutorial (Linux)
- OpenStack image production in the CentOS 6.2 (Linux)
- Java programmers talk about those advanced knowledge and direction (Programming)
- OpenCV 3.0 + Python 2.7 installation and testing under Ubuntu 14.04 (Linux)
- How to upgrade to Ubuntu 14.04 Linux Kernel 4.4.1 LTS (Linux)
- CentOS7 virtual machine settings, and bridging problems (Linux)
- Linux network cut package is not fully defragment (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.