From the course: Learning CentOS Linux
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configuring the network manually
- [Instructor] If we're configuring the network on CentOS manually, we'll find the network configurations in the etc/sysconfig/network-scripts folder. In here, we'll find the configuration file for each network interface on the system and other files that take certain actions with the network interfaces based on various conditions. We won't dig into those here, but if you start adding network interfaces or want to tie specific activities to changes in the network conditions, you might need to edit them. For now, we'll focus on this first file here, for my system's primary network interface. The name may be different on your system. The name of the interface comes from the Predictable Network Interface Device Naming Scheme, and in my case, I see en01, the first onboard ethernet adaptor. To edit the interface configuration file, I'll type vi ifcfg-en01. Inside the file, I see some particular settings for the network device, including the device name, the hardware or Mac address for this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
The Linux file system and the Filesystem Hierarchy Standard4m 13s
-
(Locked)
Configuring the network for a CentOS server2m 51s
-
(Locked)
Configuring the network manually6m 45s
-
(Locked)
Configuring the network with NetworkManager4m 45s
-
(Locked)
Setting the hostname2m 32s
-
(Locked)
Connecting to the system remotely with Secure Shell (SSH)4m 6s
-
(Locked)
Adding an administrative user with SSH access3m 41s
-
(Locked)
Adding a key to a user for SSH access4m 24s
-
(Locked)
Transferring files to and from the server5m 1s
-
(Locked)
File permissions2m 12s
-
(Locked)
Working with users and groups3m 52s
-
(Locked)
Installing and updating software8m 5s
-
(Locked)
Installing packages by group1m 34s
-
(Locked)
Installing packages from other sources4m
-
-
-
-
-
-