Changes

From Amahi Wiki
Jump to: navigation, search
m
==== Create the "yum" Repository Files ====
* Start a terminal sessions and switch to the root user.* Go to the /etc yum configuration directory.<blockquote>{{Code|cd /etc/yum.repos.d}}</blockquote>* Using a text editor create the "f18-base-local.repo" file and insert the following text, and then save the file.<blockquote>{{Text|Text=[f18-base-local]name=Fedora 18 local base repositorybaseurl=file:///opt/fedora/f18/i386/basegpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-18-primaryenabled=1}}</blockquote>* Using a text editor create the "f18-updates-local.repo" file and insert the following text, and then save the file.<blockquote>{{Text|Text=[f18-updates-local]name=Fedora 18 local updates repositorybaseurl=file:///opt/fedora/f18/i386/updatesgpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-18-primaryenabled=1}}</blockquote>* Disable all of the existing default repositories by editing each ".repo" file and setting "enabled=0" (from 1).
==== Test the Repositories ====