Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ DVD production using CentOS installation source within the company Yum     - Fast Learning Clojure (Programming)

- CentOS 7 install Hadoop-cdh-2.5 on Mesos (Server)

- Eclipse 3.7.2 can not start solving under Ubuntu 14.04 (Linux)

- RHEL7.0 environment Linux kernel upgrade (Linux)

- Ubuntu install perfectly handsome terminal Guake 0.8.1 (Linux)

- Each catalog Detailed Linux (Linux)

- DataGuard Standby backup error RMAN-06820 ORA-17629 to solve (Database)

- C language to view various types of data size (Programming)

- PHP 5.3 New Features Detail (Linux)

- namespace mechanism Linux kernel analysis (Linux)

- Scala REPL Shell call (Programming)

- Build ASP.NET 5 development environment in Ubuntu (Server)

- Linux detection command (vmstat) (Linux)

- Linux alpine use the command line to access Gmail (Linux)

- top command causes the system load increases (Linux)

- Oracle database NUMBER (x, y) data types (Database)

- Analysis of Java keyword final (Programming)

- VirtualBox snapshots (Linux)

- Linux ln command - create a file / directory link (Linux)

- Using PPA to install the lightweight theme software HotShots 2.1.0 under Ubuntu (Linux)

 
         
  DVD production using CentOS installation source within the company Yum
     
  Add Date : 2017-08-31      
         
         
         
  Linux systems: CentOS

This assumes use of two machines to simulate a machine to do YUM installation sources, another machine as a test machine.

1. First, we use as a source of http YUM installation source, so we need to make sure that the machine has been installed apache, if not installed, then you can use "sudo yum install httpd" to install. After installation you can use the "sudo service httpd start" to start the service.

2. Create a YUM installation source

sudo mount -t auto -o loop CentOS-6.6-x86_64-bin-DVD1.iso / mnt
sudo mkdir -p /var/www/html/yum_repos/CentOS6.6
sudo ln -s / mnt Packages

3. Visit the following address in your browser, you can see the list of files, then YUM server must have already set up good.
http: // < yum_host > /yum_repos/CentOS6.6/Packages

4. In order to ensure that YUM source to create their own, we first test "/etc/yum.repos.d/*.repo" machine back up

sudo mkdir -p /etc/yum.repos.d/bak
sudo mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/bak/

Then create your own repo file, such as "my.repo", document reads as follows:

[My-repo]
name = my-repo
baseurl = http: // /yum_repos/CentOS6.6/Packages
enabled = 1
gpgcheck = 0
priority = 1

Where point we've built YUM source machine name or IP.

5. Test
Running on a test machine "sudo yum list" you can see our building RPM package list YUM source, but we can also use "sudo yum install < PACKAGE >" to install the packages.
     
         
         
         
  More:      
 
- Ten correct use Redis skills (Database)
- How do I cancel (almost) any operations in Git, (Linux)
- Linux server is how to do after the invasion (Linux)
- Performance Optimization: Using Ramlog transfer log files to memory (Linux)
- Python format string (Programming)
- The ORA-01113 error is handled with BBED without archiving (Database)
- Ubuntu install Avast antivirus software (Programming)
- MySQL in order by inaccurate results in problems and solutions (Database)
- How to use scientific data Docker quickly configure the development environment (Server)
- Hanoi problem Java Solution (Programming)
- Linux system with a firewall to prevent the DOS attack (Linux)
- Sorting algorithm of dichotomy (binary) insertion sort algorithm (Programming)
- Embedded Linux Optimization (Programming)
- Android Activity launchMode (Programming)
- Usage sed some of the parameters (Linux)
- Android screen rotation processing and ProgressDialog the best AsyncTask (Programming)
- When should I use Angular 2 (Programming)
- Linux Getting Started Tutorial: / var / spool / clientmqueue fill the root directory (Linux)
- Win8 mount disk partitions under Ubuntu (Linux)
- Arrow keys, backspace key garbled in Python-2.7.5 Interactive Mode under CentOS 5.8 (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.