Linux third-party software repositories

Source: Internet
Author: User

################## #第三方软件仓库的搭建
Put all RPM packages in a directory where only the RPM files exist
Createrepo-v/rpm Storage Directory
Vim/etc/yum.repos.d/xxx.repo
[Software]
Name=software
BASEURL=FILE:///RPM Storage Directory
Gpgcheck=0

# # # #client指向端 # #
Vim/etc/yum.repos.d/xxxx.repo # #仓库指向文件位置
[XXXX] # #自定义软件仓库名称
NAME=XXXX # #自定义软件仓库描述
baseurl=ftp://|http://|file://# #仓库位置
Gpgcheck=0 # #不检测gpgkey
# #gpgkey表示软件的出品logo

Example:
Vim/etc/yum.repos.d/yum.repo
[Server]
name=rhel7.1
baseurl=ftp://172.25.0.254/pub/rhel7.1
Gpgcheck=0
: Wq

Yum Clean All # #清空yum缓存识别新配置

# # # #yum命令 # #
Yum Install Softwarename # #安装
Repolist # #列出设定yum源信息
Remove Softwarename # #卸载
List Softwarename # #查看软件源中是否有次软件
List all # #列出所有软件名称
List Installd # #列出已经安装的软件名称
List Available # #列出可以用yum安装的软件名称
Clean All # #清空yum缓存
Search Softwareinfo # #根据软件信息搜索软件名字
Whatprovides FileName # #在yum源中查找包含filename文件的软件包
Update # #更新软件
History # #查看系统软件改变历史
Reinstall Softwarename # #重新安装
Info Softwarename # #查看软件信息
Groups List # #查看软件组信息
Groups Info Softwaregroup # #查看软件组内包含的软件
Groups install Softwaregroup # #安装组件
Groups Remove Softwaregroup # #卸载组件

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/8E/82/wKioL1jCkDfB2sOhAAZFvDLEMfE449.png-wh_500x0-wm_ 3-wmp_4-s_138534521.png "style=" Float:none; "title=" screenshot from 2017-02-18 10-42-04.png "alt=" Wkiol1jckdfb2sohaazfvdlemfe449.png-wh_50 "/>

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8E/83/wKiom1jCkEmi0zIdAAZhX1HSa5w889.png-wh_500x0-wm_ 3-wmp_4-s_3177199993.png "style=" Float:none; "title=" screenshot from 2017-02-18 11-23-13.png "alt=" Wkiom1jckemi0zidaazhx1hsa5w889.png-wh_50 "/>

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/8E/82/wKioL1jCkFuCULbPAAW9Qu4Ty7Y713.png-wh_500x0-wm_ 3-wmp_4-s_667701313.png "style=" Float:none; "title=" screenshot from 2017-02-18 11-23-24.png "alt=" Wkiol1jckfuculbpaaw9qu4ty7y713.png-wh_50 "/>


This article is from the "12444971" blog, please be sure to keep this source http://12454971.blog.51cto.com/12444971/1905288

Linux third-party software repositories

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.