Zoyinc
  • Home
  • Contact
  • Categories
    • CD Archiving
    • GIMP
    • Linux
    • MythTV
    • Open Media Vault
    • Technology
    • VMware
    • WordPress
    • YouTube
  • About


Renaming a Fedora host

By

Tony

,

February 10, 2013

This article explains, to the best of my knowledge, what to do when renaming a Fedora server. My notes relate most recently to Fedora 14 and 16.

Basically open up and edit the following files:

  • /etc/sysconfig/network
  • /etc/hosts
  • /etc/samba/samba.conf
  • /etc/sysconfig/network-scripts/ifcfg-Auto_eth*

It should be that all you change are any references to the name of the host. If you are actually cloning a machine then clearly you might need to change other things like static IPs but this article is focused on changing the name.

The first file, “network” is the most important one. In fact with Fedora 16 I would suggest only editing “network”, rebooting and then looking at the hosts file.

The “samba.conf” file may need no work depending on how you have set it up.

I don’t often have to edit the ifcfg-Auto file so quite likely it won’t exist for you and you needn’t worry.

 

Related

Rename a CentOS 7 host
Installing Tiger VNC on Fedora 16
Fedora, Linux, IR Remotes, LiRC and MythTV
Editing menu shortcuts in Gnome 3 on Fedora 16
Recent

  • Station Trains

    Station Trains

  • AlmaLinux GUI – no taskbar or application shortcuts

    AlmaLinux GUI – no taskbar or application shortcuts

  • AlmaLinux 9.5 base VM

    AlmaLinux 9.5 base VM

  • Reset Kodi thumbnails

    Reset Kodi thumbnails

  • Set default settings values in Kodi skins

    Set default settings values in Kodi skins

  • Add/Remove/Reset music/video libraries in Kodi

    Add/Remove/Reset music/video libraries in Kodi

  • Zoyinc Kodi skin on Sony TV

    Zoyinc Kodi skin on Sony TV

  • [L] – WordPress UAM Locked Post

    [L] – WordPress UAM Locked Post

  • Import Pictures and Videos – images not previewed

    Import Pictures and Videos – images not previewed

  • Find My Train

    Find My Train

About Zoyinc

  • Contact Us
  • Zoyinc Disclaimer
  • Google Search Console
  • Privacy Policy
  • Site Statistics
  • Login

Apache Auckland Backup CD CentOS Centos7 Children Configuration Debian Error ESX ESXi Fedora Firewall Install Josh Kids Kodi Linux MariaDB MySQL MythTV New Zealand OKD OMV Open Media Vault OpenShift PHP Player Python RAID RedHat Red Hat Rip School Setup SMB SonicWALL Spark tags Train Trains VLAN VM VMware Weaver Windows WordPress YouTube

Powered by

This site is licensed under a Creative Commons Attribution 4.0 International License.