Changes

From Amahi Wiki
Jump to: navigation, search
</ol>
* [http://wiki.amahi.org/index.php/Open_Terminal_as_root Open a terminal as root] user and generate <strong>index.html</strong> (allow repo packages to be viewed via web browser):
{{Code| cd /var/hda/web-apps/repo/html vi index.html}}
and add the following:
{{Text|Text= <pre><html>
<nowiki><UL></nowiki>
<nowiki><LI></nowiki><A HREF="f12">f12</A>
<nowiki></UL></nowiki>
</html>}}</pre>
* Make directory to hold all repo files, then create symbolic link to the directory:
{{Code|<pre>mkdir -p /var/hda/files/yum/f12
cd /var/hda/web-apps/repo/html
ln -s /var/hda/files/yum/f12}}</pre>
* If you locate the files in a different tree, you will need the appropriate permissions. This is especially important if you build the tree by extracting from a .iso file using Nautilus. Change to a point in the tree and use:
{{Code| <nowiki>find . -type d | xargs chmod 755</nowiki>}}
* Disable current Fedora/RPMFusion Update repos for your HDA, then invoke local repo (Skip last 2 lines if RPMFusion repos <strong>NOT</strong> installed):
{{Code|<pre>sed -i 's/enabled<nowiki>=</nowiki>1/enabled<nowiki>=</nowiki>0/g' /etc/yum.repos.d/fedora-updates.repo
sed -i 's/enabled<nowiki>=</nowiki>1/enabled<nowiki>=</nowiki>0/g' /etc/yum.repos.d/rpmfusion-free-updates.repo
sed -i 's/enabled<nowiki>=</nowiki>1/enabled<nowiki>=</nowiki>0/g' /etc/yum.repos.d/rpmfusion-nonfree-updates.repo}}</pre>
=== Fedora Base OS Repo Configuration (Optional) ===
12,424

edits