课程: Learning CentOS Linux

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Configuring the network with NetworkManager

Configuring the network with NetworkManager

课程: Learning CentOS Linux

Configuring the network with NetworkManager

- [Instructor] CentOS, like Redhat, Fedora, Ubuntu, and many other distributions, comes with NetworkManager enabled and in control of network connections. If you're accustomed to configuring the network through config files, as administrators have done for a long time, using NetworkManager can be a little strange, but it's part of the distro, and so if you're learning CentOS, it's a good idea to know how to use it. Whether you keep it enabled is up to you. Let's take a quick look at using NetworkManager to configure this server's network connection, first, to use DHCP, and then to use static address. NetworkManager has a few user interfaces. There are GUI clients for various desktop environments and what's called the Text UI, or TUI, that simulates a graphical interface at the command line. But for whatever reason, that's still incomplete, so we'll use the command line or CLI version here. The command for that is nmcli. Clever, right? nmcli has a lot of options and features, and we…

内容