Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


rhel_7_beta

~~TOC~~

RHEL 7 beta

Configure network with nmcli

Change hostname

hostnamectl # show current hostname
hostnamectl set-hostname <enter fqdn>

Edit eth0 device

   nmcli c edit <uuid>
 
   # set ipv4 address and gateway
   nmcli>set ipv4.addresses 1.2.3.4/24 2.3.4.5

   # set DNS
   nmcli>set ipv4.dns 4.5.6.7 5.6.7.8
   nmcli>set ipv4.dns-search yourdomain.com
  
   # set autoconnect
   nmcli>set connection.autoconnect yes
   
   # save and activate
   nmcli>save
   nmcli>activate

Install ntpd

  • Mount iso (via vm) mount /dev/cdrom /mnt
  • Install NTPd
cd /mnt/Packages
yum localinstall ntp-4.2.6p5-14.el7.x86_64.rpm ntpdate-4.2.6p5-14.el7.x86_64.rpm autogen-libopts-5.18-1.el7.x86_64.rpm
vi /etc/ntp.conf #edit server list

systemctl enable ntpd.service
systemctl start ntpd.service
rhel_7_beta.txt · Last modified: 2014/06/11 00:46 by admin