Enterprise Linux 7 (Redhat, Centos) : Network Configuration
Enterprise Linux 7 (Redhat, Centos) : Network Configuration
md
1 contributor
145 lines (110 sloc) 9.649 kB Raw Blame History
Command cheat sheet for EL7. For every action, I try to give the 'canonical' command, as recommended by RedHat.
That means using systemd , NetworkManager, journald , etc.
Network configuration
Action Command
(*) This example is actually a workaround for a bug that causes NetworkManager 0.9.9 to manage virtual network
interfaces.
NetworkManager
Action Command
Host name
1 of 4 03/06/15 16:22
cheat-sheets/EL7.md at master · bertvv/cheat-sheets · GitHub https://github.com/bertvv/cheat-sheets/blob/master/src/EL7.md
Action Command
hostnamectl0setMhostname0MMtransient0HOSTNAME
hostnamectl0setMhostname0MMpretty0HOSTNAME
Resources
RedHat Enterprise Linux 7 Networking Guide
Fedora Wiki: Networking/CLI
RHEL 7: How to get started with Systemd, at certdepot.net
Action Command
Runlevels
Run with root privileges ( sudo )
Action Command
2 of 4 03/06/15 16:22
cheat-sheets/EL7.md at master · bertvv/cheat-sheets · GitHub https://github.com/bertvv/cheat-sheets/blob/master/src/EL7.md
Action Command
Shutdown systemctl0poweroff
Resources
RedhHat 7 System Administrator's Guide
Systemd for Administrators, Part IV: Killing Services
Action Command
Resources
Systemd for Administrators, Part XVII: Using the journal
Action Command
3 of 4 03/06/15 16:22
cheat-sheets/EL7.md at master · bertvv/cheat-sheets · GitHub https://github.com/bertvv/cheat-sheets/blob/master/src/EL7.md
Action Command
Resources
Using Firewalls, in RHEL 7 Security Guide
FirewallD, in Fedora Project Wiki
© 2015 GitHub, Inc. Terms Privacy Security Contact Status API Training Shop Blog About
4 of 4 03/06/15 16:22