From the course: Learning CentOS Linux
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Setting the hostname
- [Instructor] During the installation process, I didn't change the system's hostname, or the name that this computer has internally. Out of the box, the system is called localhost, which isn't terribly useful when you have more than one system you're connecting to. If you have three terminal windows up and they all say localhost, how do you know, at a glance, which one you're using? If you set up a service like mail, that uses the hostname, how easily do you tell where a message came from? A hostname should be useful and memorable. It needs to be 64 characters or less and can only contain alphanumeric characters and dashes. There's a wide range of opinions out there on what constitutes a good name. Some people like to name systems after famous scientists, or chemical elements, or fantasy references and sometimes administrators in organizations will use some kind of notation that describes a lot of information about the server and even its location, encoded in a way that makes sense…
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
-
Configuring the network for a CentOS server2m 51s
-
Configuring the network manually6m 45s
-
Configuring the network with NetworkManager4m 45s
-
Setting the hostname2m 32s
-
Connecting to the system remotely with Secure Shell (SSH)4m 6s
-
Adding an administrative user with SSH access3m 41s
-
Adding a key to a user for SSH access4m 24s
-
Transferring files to and from the server5m 1s
-
File permissions2m 12s
-
Working with users and groups3m 52s
-
Installing and updating software8m 5s
-
Installing packages by group1m 34s
-
Installing packages from other sources4m
-
-
-
-
-
-