> For the complete documentation index, see [llms.txt](https://linksprite.gitbook.io/build-applications-for-tiycam/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://linksprite.gitbook.io/build-applications-for-tiycam/nfs-and-mount-to-tiycam.md).

# NFS and Mount to TIYCam

To run the applications in development on the TIYCam, we can install NFS on the host development computer, in our case, it is ubuntu 20. &#x20;

## Installation of NFS

Use the following command on host development PC to install NFS:

```markup
$sudo apt install -y nfs-kernel-server nfs-common -y
```

## Configuration

```markup
$nano /etc/exports
```

and add:

/home/ubuntu \*(rw,sync,no\_root\_squash,no\_subtree\_check)

<mark style="color:red;">Note there should be no space between rw,sync,no\_boot\_squash,no\_substree\_check, otheriwse it will fail to start the NFS.</mark>

'home/ubuntu' is the directory of the home directory of host development computer.&#x20;

To restart the NFS server:

```markup
$sudo systemctl restart nfs-server
```

To check the status of NFS server:

```markup
$sudo systemctl status nfs-server
```

## Mount the NFS directory onto TIYCam

Telnet into the TIYcam:

```markup
$telnet IPaddress-TIYcam
```

The username is root, and password is default to be blank.

Use the following command on TIYCam (note: not the host development PC)

```markup
$mount -t nfs -o tcp -o nolock IPaddress-of-hostpc:/home/ubuntu /mnt
```

where IPaddress-of-hostpc is the IP address of the host pc that resides in the same local area network.

<figure><img src="https://4187558329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcCh76WxB5IoGGdu6HSoC%2Fuploads%2FKKF8jKzUaRO9j2Q0yt56%2FScreen%20Shot%202023-08-14%20at%209.49.04%20PM.png?alt=media&amp;token=402fa765-e1b0-4d89-aafd-463c12b2faba" alt=""><figcaption></figcaption></figure>
