Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Cobbler Add custom YUM source     - How to defragment the hard disk in Linux (Linux)

- Linux file permissions chmod chown (Linux)

- Android Service service applications and the phone SMS Listener Listener (Programming)

- Detailed steps - GAMIT solver (Linux)

- OS X CAOpenGLLayer how to enable OpenGL 3.2 core profile (Programming)

- History and Statistics tuptime use tools to view Linux server system boot time (Server)

- Linux command line ten magic usage (Linux)

- Install Java JDK 8 in CentOS 7 / 6.5 / 6.4 (Linux)

- Git build a team development environment operating drills (Linux)

- Nginx server security configuration (Server)

- CentOS ClamAV antivirus package updates (Linux)

- Java interface and inheritance (Programming)

- To install Internet security firewall Raiders (Linux)

- Oracle metadata Reconstruction experiments (Database)

- Installation and configuration under Linux SVN server - Backup - Recovery - Scheduled Tasks (Server)

- Linux server Php injection prevention (Linux)

- Linux System Getting Started Learning: The Linux log (Linux)

- Ubuntu and Derivative Edition users install LMMS 0.4.15 (Linux)

- Ubuntu 14.04 compile, install, configure, the latest development version GoldenDict (Linux)

- React Getting Started Tutorial (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 user login ban (Linux)
- Linux beginners to develop the seven habits (Linux)
- How to use Java to read OpenOffice document (Programming)
- Django1.8 return json json string and the string contents of the received post (Programming)
- Use Ansible to bulk manage remote servers (Server)
- What factors affect the performance of Java calls (Programming)
- High-performance JavaScript loaded and executed (Programming)
- Ubuntu 14.04 forget solution root password (Linux)
- Haproxy multi-domain certificate HTTPS (Server)
- Linux module mechanism of (Programming)
- Oracle procedure or function Empty Table (Database)
- Linux Oracle environment variable is invalid Problem Solving (Database)
- Linux Quick Install MongoDB (Database)
- Linux Log (Linux)
- Based on Python: OpenCV simple image manipulation (Programming)
- Prevent security threats caused Rootkit (Linux)
- Definition Format Oracle basis of various statements (Database)
- Use virt-manager to create and manage virtual machines (Linux)
- Nagios (centreon) monitoring Linux Log (Server)
- Ubuntu deployed under regular tasks with crontab (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.