linux:centos:centos8:update-repositories
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:centos:centos8:update-repositories [2024/09/23 10:35] – [3. Create AppStream Repository] odefta | linux:centos:centos8:update-repositories [2024/09/23 10:47] (current) – [4. Create BaseOS Repository] odefta | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| name=CentOS Stream $releasever - AppStream | name=CentOS Stream $releasever - AppStream | ||
| baseurl=http:// | baseurl=http:// | ||
| - | gpgcheck=1 | + | gpgcheck=0 |
| enabled=1 | enabled=1 | ||
| gpgkey=file:/// | gpgkey=file:/// | ||
| Line 35: | Line 35: | ||
| Create a file for BaseOS: | Create a file for BaseOS: | ||
| - | <code bash> sudo vi / | + | <code bash> |
| + | sudo vi / | ||
| + | </ | ||
| Add the following content: | Add the following content: | ||
| - | < | + | < |
| + | [baseos] | ||
| + | name=CentOS Stream $releasever - BaseOS | ||
| + | baseurl=http:// | ||
| + | gpgcheck=0 | ||
| + | enabled=1 | ||
| + | gpgkey=file:/// | ||
| + | </ | ||
| ===== 5. Clean and Regenerate Cache ===== | ===== 5. Clean and Regenerate Cache ===== | ||
| Clean the yum cache and regenerate it: | Clean the yum cache and regenerate it: | ||
| - | <code bash> sudo dnf clean all sudo dnf makecache </ | + | <code bash> |
| + | sudo dnf clean all | ||
| + | sudo dnf makecache | ||
| + | </ | ||
| ===== 6. Update System ===== | ===== 6. Update System ===== | ||
linux/centos/centos8/update-repositories.1727087759.txt.gz · Last modified: 2024/09/23 10:35 by odefta
