1,760
edits
Changes
→Task 1
==Investigation 3: Scripts for remote administrations==
=== Task 1 ===
Based on [[OPS535-lab-nfs|Lab 2 - NFS lab]], write a bash script named "lab2-nfs-setup.bash" to perform the following tasks on VM3 (co-rns)* more move 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 named '/nfs-pub' 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
* update firewalld's internal zone to allow nfs3 server service
* update firewalld's internal zone to allow rpc-bind service
* save the script to ~student/lab2/scripts/lab2-nfs-setup.bash
=== Task 2 ===