Open main menu

CDOT Wiki β

Changes

OPS535-vl-lab-nfs

804 bytes added, 22:22, 30 May 2021
Investigation 3: Scripts for remote administrations
==Investigation 3: Scripts for remote administrations==
=== Task 1 ===
Using Based on [[OPS535-lab-nfs|Lab 2 - NFS lab]], write a bash scriptsscript to perform the following tasks on VM3 (co-rns)* more the network interface ens224 from firewalld's public zone to internal zone* install the nfs-utils rpm package if it has not already been installed* create an nfs share directory with mode '1777'* update the /etc/exports as required in [[OPS535-lab-nfs|Lab 2 - NFS lab]]* enable nfs-server service if has not already been enabled* start nfs-server service if has not already been started* update firewalld's internal zone to allow nfs service* update firewalld's internal zone to allow nfs3 server service* update firewalld's internal zone to allow rpc-bind service 
=== Task 2 ===
Using Ansible PlaybooksCreate an ansible playbook to perform the same tasks as mentioned in task 1.* Run the playbook and capture the output to a file named lab2_inv3_task2.txt
==Completing the Lab==
1,760
edits