ILab_Week7_NFS

ILab_Week7_NFS - Click the Read/Write option button Click...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Kyle Daly Ilab Week 7 CIS 246 Configuring NFS In this lab, both servers are configured in the same way. RedHat8-1 is going to be the server and RedHat-2 is going to be the client. Launch the “Linux + Linux ” environment. Your objective is to share the /tmp directory on the server On the client, you will create a directory called /loctmp which will correspond to /tmp on the server. The following assumes that the server is at 192.168.2.100. Naturally, change it to your own. On the server (RedHat8-1) , open a terminal window and type ifconfig to find the IP address. Use the IP address that begins with: 192.168. Click the Red Hat, point to Server Settings, then click NFS Server Click Add For the Directory, type: /tmp For the Hosts, we want everyone on our subnet to be able to access it. Whatever your IP address is, replace the last number with a zero. In the case of 192.168.2.100, you would type: 192.168.2.0/255.255.255.0
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Click the Read/Write option button Click the User Access tab and select Treat remote root user as local root Click OK Click Apply A message will appear asking whether you want to start the NFS server. Yes, you want to start it. From the client (RedHat8-2), open a terminal window. Create a directory called /loctmp by typing: mkdir /loctmp In the following statement remember to use the IP address of your server (RedHat8-1) Also, after the showmount and a space, there are two dashes. showmount - -exports 192.168.2.100 You should get a response back concerning the /tmp directory To associate the /loctmp directory with the NFS directory called /tmp on 192.168.2.100, type: mount 192.168.2.100:/tmp /loctmp To display the contents, type: ls /loctmp Version 1.3 07.08.2003 You are now actually seeing the contents of /tmp on RedHat8-1 Include a print-screen of the result. Version 1.3 07.08.2003...
View Full Document

This note was uploaded on 06/24/2011 for the course CIS 246 taught by Professor Stark during the Spring '11 term at DeVry Chicago.

Page1 / 2

ILab_Week7_NFS - Click the Read/Write option button Click...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online