Tag Archives: rename

Home »  Tag: rename

In relation to rename a server which was acting as a Satellite server. Howto change the Hostname of a RHN Satellite server (Spacewalk Server) 1) you need to change the server to the new IP adress / hostname. I advise to do this in single user mode from the currently running state. Note: Don’t use UPPERCASE in the hostname. Satellite doesn’t like that !!! telinit 1 hostname NEW_HOSTNAME vi /etc/sysconfig/network #change to the new hostname If you need to change the IP Adress then do so here now. vi /etc/sysconfig/network-scripts/ifcfg.[interface] restart networking service network restart  2) DO NOT REBOOT continue here …. spacewalk-hostname-rename CURRENT(NEW_OR_OLD)_IPADRESS Follow the instruction on the screen to reset the hostname. It will do the rest for you Related posts: RedHat 6.x/CentOS 6.x: Rename or change the hostname temporarily or permanently RedHat / RHN Satellite: usefull commands Centos 6.x: How to install Spacewalk Linux: Howto show the Servers IP address at the login console CentOS / […]

Fairly easy task I want to rename my RedHat host. Temporarily change the hostname: hostname NEW-HOSTNAME If you like to change it permanently: vi /etc/sysconfig/network And change the host details in there. Then restart the network service network restart Related posts: RedHat 6.x/CentOS 6.x: Rename RHN Satellite (Spacewalk) Server Linux / VMware: Howto Increase a / (Root) LVM partition on a single vmdk without adding another partition Linux: Howto show the Servers IP address at the login console RedHat / Ubuntu / Solaris / Linux: Slow SSH logins (5 second delay) RedHat 6.x / Centos 6.x: How to install in WordPress in less than 10 minutes Centos / Debian / LVM: Add a new disk as a LVM volume

%d bloggers like this: