Changes

From Amahi Wiki
Jump to: navigation, search
* Open a terminal window and become <strong>root</strong> user:
  {{Code|su -}}
* If you want the URL <strong><nowiki>http://repo</nowiki></strong> available immediately, restart hdactl:
  {{Code|service hdactl restart}}
* Generate <strong>index.html</strong> (OPTIONAL) to 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= <html>
<nowiki><UL></nowiki>
<nowiki><LI></nowiki><A HREF="f12">f12</A>
<nowiki></UL></nowiki>
</html>}}
* Make directory to hold all repo files, then create symbolic link to the directory:
  {{Code|mkdir -p /var/hda/files/yum/f12 cd /var/hda/web-apps/repo/html ln -s /var/hda/files/yum/f12}}
* 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:
12,424

edits