Red Hat
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Change IP Settings
You need to update the following configuration
- Network interface(s)
- EG for
eth0
update/etc/sysconfig/network-scripts/ifcfg-eth0
- EG for
- Default gateway and hostname
/etc/sysconfig/network
- DNS servers
/etc/resolv.conf
- Restart server networking to apply
/etc/init.d/network restart
Example ifcfg-ethx
file...
DEVICE=eth0 NM_CONTROLLED="yes ONBOOT=yes BOOTPROTO=static PEERDNS=no IPADDR=10.3.0.144 NETMASK=255.255.255.0
See No NIC if you've changed the NIC (eg due to a VMware clone)
Updates
- Update server
yum update
- Get installed package version
- EG
rpm -q openssl
- EG
Subscriptions
subscription-manager list