User:Plauchu Edwin: Difference between revisions

From Yocto Project
Jump to navigationJump to search
Line 5: Line 5:
AFT applies Network file system to share /home/tester directory where images and other files used in flashing for PC-devices can be found.
AFT applies Network file system to share /home/tester directory where images and other files used in flashing for PC-devices can be found.


===== Is NFS installed ? =====
To check if the NFS server is installed, we can do...
To check if the NFS server is installed, we can do...
<pre>
<pre>
Line 10: Line 11:
</pre>
</pre>


===== How to install NFS ? =====
To install NFS these are the required packages...  
To install NFS these are the required packages...  
<pre>
<pre>
Line 21: Line 23:
</pre>
</pre>


 
===== Sharing /home/tester directory =====
<pre>
<pre>
echo '/home/tester 192.168.1.0/24 (crossmnt,ro,root_squash,sync,no_subtree_check)' >> /etc/exports
echo '/home/tester 192.168.1.0/24 (crossmnt,ro,root_squash,sync,no_subtree_check)' >> /etc/exports
</pre>
</pre>

Revision as of 15:09, 17 October 2016

Software developer over several open source languages

Set harness server up

Setup NFS

AFT applies Network file system to share /home/tester directory where images and other files used in flashing for PC-devices can be found.

Is NFS installed ?

To check if the NFS server is installed, we can do...

root@testing-harness:~# dpkg -l | grep nfs-kernel-server
How to install NFS ?

To install NFS these are the required packages...

root@testing-harness:~# aptitude install nfs-kernel-server
The following NEW packages will be installed:
  keyutils{a} libnfsidmap2{a} libtirpc1{a} nfs-common{a} nfs-kernel-server 
  rpcbind{a} 
0 packages upgraded, 6 newly installed, 0 to remove and 459 not upgraded.
Need to get 470 kB of archives. After unpacking 1 884 kB will be used.
Do you want to continue? [Y/n/?]
Sharing /home/tester directory
echo '/home/tester 192.168.1.0/24 (crossmnt,ro,root_squash,sync,no_subtree_check)' >> /etc/exports