User Tools

Site Tools


linux:oel7_local_dvd_repo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:oel7_local_dvd_repo [2021/05/19 12:16]
admin
linux:oel7_local_dvd_repo [2021/05/19 13:39] (current)
admin
Line 12: Line 12:
   * **__Note__**   * **__Note__**
   * 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.
-  ​Create an entry in /etc/fstab so that the system always mounts the DVD image after a reboot.+
  
 <code bash> <code bash>
-/mnt/V33411-01.iso /​mnt/​OSimage/​OL7.4_x86_64 iso9660 loop,ro 0 0+/media/V921569-01.iso /​mnt/​OSimage/​OL7.4_x86_64 iso9660 loop,ro 0 0
 </​code>​ </​code>​
  
-In the /etc/yum.repos.d directory, edit the existing repository files, such as public-yum-ol7.repo or ULN-base.repo,​ and disable all entries by setting enabled=0. +  * Save and close file /etc/fstab 
- +  * Create a new repository file containing these rows below (/​etc/​yum.repos.d/​OL74.repo).
-  * Create ​the following entries in a new repository file (for example, ​/​etc/​yum.repos.d/​OL74.repo).+
  
 <code bash> <code bash>
linux/oel7_local_dvd_repo.1621419372.txt.gz · Last modified: 2021/05/19 12:16 by admin