Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


rhel_7_beta

This is an old revision of the document!


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.1402403246.txt.gz · Last modified: 2014/06/10 12:27 by admin