Posts

Showing posts from September, 2021

DHCP SERVER CONFIGURATION RHEL 7

 DHCP (Dynamic Host Configuration Protocol) is a network protocol used to dynamically assign IP addresses for computers attached to the network. => Default Port : 67 (UDP) => Configuration File :  /etc/dhcp/dhcpd.conf => Install dhcp Service on the server #yum install dhcp* => Copy the example file data to the dhcpd.conf file #cp /usr/share/doc/dhcp-4.2.5/dhcpd.conf.example /etc/dhcp/dhcpd.conf => Now  Edit configuration file : #vi /etc/dhcp/dhcpd.conf => Comment all the line except the following  authoritative; => edit the following details : #A slightly different .................................., below this line content subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.100 192.168.0.200; (Range of the IP Address for Client Machine) option routers 192.168.0.1; (Router IP address) option broadcast-address 192.168.0.255; ( place your broadcast address here) default-lease-time 600; max-lease-time 7200; } Save and Exit => Go to Client ...

NFS SERVER CONFIGURATION

=> NFS Network File Sharing (NFS) is a protocol that allows you to share directories and files with other Linux clients over a network. Shared directories are typically created on a file server, running the NFS server component. Users add files to them, which are then shared with other users who have access to the folder. => Package = nfs-utils   => Default Port = 2049   => Configuration file : /etc/exports    => Steps for Configuration:   :- Install NFS Package   :- #yum intsall nfs-utils*   :- #systemctl restart nfs.service => Add NFS Service to firewall : :- #firewall-cmd --zone=public --permanent --add-service=nfs => Add mountd service to firewall : : - #firewall-cmd --permanent --add-service=mountd => Add rpc service to firewall : :- #firewall-cmd --permanent --add-service=rpc-bind => Make a directory to share  :- #mkdir /nfsserver => Change the permission of the Directory :- #chmod 770 /...