Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:repos [2016/03/18 22:22] billdozor created |
linux_wiki:repos [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 64: | Line 64: | ||
rpm -Uvh http:// | rpm -Uvh http:// | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Software Collections ====== | ||
+ | |||
+ | Software Collections is a project to package newer versions of software that will not conflict with system packages. | ||
+ | |||
+ | Official Site: https:// | ||
+ | |||
+ | ===== Software Collections: | ||
+ | |||
+ | To add the software collections repo (available via " | ||
+ | * CentOS 6/7<code bash>yum install centos-release-scl</ | ||
+ | |||
+ | ===== Software Collections: | ||
+ | |||
+ | * Browse the software collections library: https:// | ||
+ | * Each collection will have instructions for how to install. | ||
+ | |||
+ | Example: Python 3.3 | ||
+ | * Install< | ||
+ | * System version< | ||
+ | Python 2.7.5</ | ||
+ | * SCL Version< | ||
+ | [root@server1 ~]# python --version | ||
+ | Python 3.3.2</ | ||
---- | ---- | ||
Line 76: | Line 102: | ||
If you are supporting Oracle Linux, the official repos are here: [[http:// | If you are supporting Oracle Linux, the official repos are here: [[http:// | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Custom Repo ====== | ||
+ | |||
+ | You can create a custom repository to serve up your own RPMs or a mirrored copy of a repo. | ||
+ | |||
+ | ===== Custom Repo: Server ===== | ||
+ | |||
+ | - Install Apache Web Server and Create Repo packages< | ||
+ | - Start and enable the web server | ||
+ | - EL 6<code bash> | ||
+ | chkconfig httpd on</ | ||
+ | - EL 7<code bash> | ||
+ | systemctl enable httpd</ | ||
+ | - Create the directory structure< | ||
+ | - Copy your RPMs to the directory< | ||
+ | - Create the repo data< | ||
+ | - For future package updates/ | ||
+ | |||
+ | ===== Custom Repo: Clients ===== | ||
+ | |||
+ | On clients that will use the repo: | ||
+ | - Create a repo file< | ||
+ | |||
+ | [mycustomrepo] | ||
+ | name=My Custom Repo | ||
+ | baseurl=http:// | ||
+ | gpgcheck=0 | ||
+ | enabled=1</ | ||
+ | - Cleanup yum<code bash>yum clean all</ | ||
+ | - List repos< | ||
+ | - Install a package from the repo to test< | ||
---- | ---- | ||