How To Start a Blog - Henryisgreat/TechJournalSystemAdmin GitHub Wiki

Hypothetically, you have a blog server with absolutely no configuration whatsoever, first begin by opening said server and ensuring that it is on the correct network [SYSB-Henry]

On the server that you intend to create for your blog, first go to /etc/sysconfig/network-scripts/ifcfg-ens192

Edit / add the following lines:

BOOTPROTO=none ONBOOT=yes IPADDR=10.0.5.3 PREFIX=24 GATEWAY=10.0.5.2 DNS1=10.0.5.5 DOMAIN=Henry.local

Dont forget to restart the network with systemctl restart network

Add a PTR record for the blog server on AD

Then run the following: sudo yum install dhcp

move to /vim/etc/dhcp/dhcpd.conf and add the following:

subnet 10.0.5.0 netmask 255.255.255.0 {
	option routers 10.0.5.2;
	option subnet-mask 255.255.255.0;
	option domain-name “yourname.local”;
	option domain-name-servers 10.0.5.5;
	range 10.0.5.100 10.0.5.150;
}

start dhcp services from root:

systemctl start dhcpd

enable services to start at boot

systemctl enable dhcpd

Configure the firewall to allow incoming DHCP requests

firewall-cmd --list-all
firewall-cmd --add-service=dhcp --permanent
firewall-cmd --reload

Finally on a workstation:

ipconfig /release && ipconfig /renew