Configure DHCP (Dynamic Host Configuration Protocol) Server in RHEL/Centos 7

### Install DHCP Server [root@testos ~]# yum -y install dhcp ### Configure DHCP Server [root@testos ~]# vi /etc/dhcp/dhcpd.conf # create new # specify domain name option domain-name “unixtest.com”; # specify name server’s hostname or IP address option domain-name-servers testos.unixtest.com; # default lease time default-lease-time 600; # max lease time max-lease-time 7200; # this DHCP server … Read more

Package Management in RHEL/CentOS 7,8 Linux

RPM is a command-line utility for managing packages on Unix/Linux systems. It allows you to install, query, update, verify and remove RPM packages.It is the default package manager for Red Hat based systems and only works with the .rpm format. You can install such packages using the rpm or the yum command.The package management tool … Read more

Working with Services in RHEL/Centos 7

### It’s possible to check all services like follow: # the list of all services [root@testos]# systemctl list-unit-files -t service UNIT FILE STATE abrt-ccpp.service enabled abrt-oops.service enabled abrt-pstoreoops.service disabled abrt-vmcore.service enabled abrt-xorg.service enabled abrtd.service enabled arp-ethers.service disabled atd.service enabled auditd.service disabled auth-rpcgss-module.service static autofs.service disabled autovt@.service enabled blk-availability.service disabled brandbot.service static certmonger.service enabled chrony-dnssrv@.service static … Read more