Test 2 Flashcards
DHCP, DNS, Web Server
How would you giver this user root privileges?
username: test2
usermod -aG wheel test2
How do you ?
sudo yum -y install realmd
then download additional packets
How do you discover and join a domain on linux?
sudo realm discover ‘domain.name’
sudo realm join ‘domain.name’
What command do you use to install dhcp on linux?
sudo yum install dhcpd
What comman is used to configure the dhcp file for designated ip’s on linux?
sudo vi /etc/dhcp/dhcp.conf
When configuring services to be permitted on the firewall what command is used?
sudo -firewall-cmd –add-service=’service’ –permanent
services include:
- dhcp
- dns
How can you start, stop, check status, and restart services on linux?
ex: dhcp
sudo systemctl start dhcp
sudo systemctl stop dhcp
sudo systemctl restart dhcp
sudo systemctl status dhchp
What command is used to download dns?
sudo yum install bind-utils unbound
What is used to identify dns when start, stop, check status, and restart services on linux?
unbound
ex: sudo systemctl start unbound
What file is modified when configuring dns?
sudo vi /etc/unbound/unbound.conf
how can you check the status of the unbound files for dns?
unbound checkconf
What DNS records will you make on the ADDC controller to access sites made on your linux machiene?
make a forward/host record in DNS that’s pointing to the IP address of the linux machine we’re working on, along with the name of the lnx url for our website