Commit 593f74e4 authored by Yann Garcia's avatar Yann Garcia
Browse files

Enhance the procedure to install NFS server on the host for MEC 016

parent a9ecea73
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -370,28 +370,28 @@ This level of understanding will provide a solid foundation for working on the d
### Deploying NFS on host

1. Install the NFS server
```bash
```sh
$ sudo apt install nfs-kernel-server nfs-common portmap
```
2. Verift the installation
```bash
```sh
$ sudo systemctl status nfs-server
```
3. Create the shared folder
```bash
```sh
$ sudo mkdir -p /mnt/nfs/mec_sandbox
$ sudo chmod -R 777 /mnt/nfs/
```
4. Create the /etc/exports file 
```bash
```sh
$ sudo echo '/mnt/nfs/mec_sandbox  *(rw,sync,no_subtree_check,no_root_squash,insecure)' > /etc/exports
```
5. Apply the /etc/exports settings
```bash
```sh
$ sudo exportfs -rv
```
6. Verify the NFS exports
```bash
```sh
$ sudo showmount -e
```

+3 −3
Original line number Diff line number Diff line
@@ -46,9 +46,9 @@ nfs-server.service - NFS server and services
$ sudo mkdir -p /mnt/nfs/mec_sandbox
$ sudo chmod -R 777 /mnt/nfs/
```
4. Update the /etc/exports file by adding the following line at the end (using any editor):
```
/mnt/nfs/mec_sandbox  *(rw,sync,no_subtree_check,no_root_squash,insecure)
4. Update the /etc/exports file by adding the following line:
```sh
sudo echo '/mnt/nfs/mec_sandbox  *(rw,sync,no_subtree_check,no_root_squash,insecure)' > /etc/exports
```
5. Export the NFS shared folder
```sh