updated notes
This commit is contained in:
@@ -735,5 +735,16 @@ sudo umount /mnt/iso # Unmount the ISO image
|
|||||||
|
|
||||||
### dnf config-manager
|
### dnf config-manager
|
||||||
sudo dnf config-manager --add-repo="file:///path/to/repo/AppStream" # Add a repository
|
sudo dnf config-manager --add-repo="file:///path/to/repo/AppStream" # Add a repository
|
||||||
|
sudo dnf config-manager --add-repo="file:///path/to/repo/BaseOS" # Add a repository
|
||||||
|
|
||||||
|
sudo dnf repolist # List all repositories
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Understand and Configure Firewalls
|
||||||
|
|
||||||
|
### firewall-cmd
|
||||||
|
```bash
|
||||||
|
sudo firewall-cmd --get-active-zones # Display the active zones
|
||||||
|
sudo firewall-cmd --get-default-zone # Display the default zone
|
||||||
|
sudo firewall-cmd --get-zones # Display the zones
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user