Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


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

   # set DNS
   nmcli>set ipv4.dns
   nmcli>set ipv4.dns-search
   # set autoconnect
   nmcli>set connection.autoconnect yes
   # save and 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: 2021/10/09 15:14 by