nfs - Click the User Access tab and select “Treat remote...

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

View Full Document Right Arrow Icon
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.17.6mount 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 Click the Read/Write option button
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 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 You are now actually seeing the contents of /tmp on RedHat8-1 Version 1.3 07.08.2003 Include a print-screen of the result. Version 1.3 07.08.2003...
View Full Document

This note was uploaded on 02/16/2012 for the course COLL 148 taught by Professor Devlin during the Spring '11 term at DeVry Portland.

Page1 / 2

nfs - Click the User Access tab and select “Treat remote...

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