change_host_name
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| change_host_name [2023/04/03 07:05] – walkeradmin | change_host_name [2023/04/03 07:08] (current) – walkeradmin | ||
|---|---|---|---|
| Line 50: | Line 50: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| + | We also need to edit the following file: | ||
| + | / | ||
| + | \\ | ||
| + | \\ | ||
| + | Add a line at the end of the file with your <color # | ||
| + | < | ||
| + | 127.0.0.1 | ||
| + | ::1 | ||
| + | 150.10.10.1 | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | Now reboot the Alma Linux instance. | ||
| + | \\ | ||
| + | \\ | ||
| + | When you log back in, you should see your command prompt now contains your hostname: | ||
| + | [root@mailsvr /]# | ||
| + | \\ | ||
| + | \\ | ||
| + | Hostname setting is complete. | ||
| + | \\ | ||
| + | \\ | ||
change_host_name.1680505532.txt.gz · Last modified: by walkeradmin
