This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:oel7_local_dvd_repo [2021/05/19 12:41] admin |
linux:oel7_local_dvd_repo [2021/05/19 13:39] (current) admin |
||
---|---|---|---|
Line 13: | Line 13: | ||
* Include the read-only mount option (ro) to avoid changing the contents of the ISO by mistake. | * Include the read-only mount option (ro) to avoid changing the contents of the ISO by mistake. | ||
* Edit file /etc/fstab and add this row below,so that the system always mounts the DVD image after a reboot. | * Edit file /etc/fstab and add this row below,so that the system always mounts the DVD image after a reboot. | ||
- | * Save and close file /etc/fstab | ||
<code bash> | <code bash> | ||
Line 19: | Line 18: | ||
</code> | </code> | ||
- | * Create the following entries in a new repository file (/etc/yum.repos.d/OL74.repo). | + | * Save and close file /etc/fstab |
+ | * Create a new repository file containing these rows below (/etc/yum.repos.d/OL74.repo). | ||
<code bash> | <code bash> |