I'll create the shared media in a Red Hat 5 Server using NFS.
To create this, you'll need to run the following commands:
1. Check nfs-utils is installed or not using
yum list nfs-utils
To create this, you'll need to run the following commands:
1. Check nfs-utils is installed or not using
yum list nfs-utils
2. Edit /etc/exports , add dir you want share with network information and permission
(In this example, I'll add the sharedmedia folder and allow read and write access to all the machines with IP addresses between 172.16.0.0 and 172.16.255.255
vi /etc/exports
/sharedmedia 172.16.0.0/255.255.0.0(rw)
(In this example, I'll add the sharedmedia folder and allow read and write access to all the machines with IP addresses between 172.16.0.0 and 172.16.255.255
vi /etc/exports
/sharedmedia 172.16.0.0/255.255.0.0(rw)
3. Restart nfs service
service nfs restart
Then, on the framework server and on target systems, execute the following command:
service nfs restart
Then, on the framework server and on target systems, execute the following command:
mount 172.16.92.130:/sharedmedia /sharedmedia
Cheers!
No comments:
Post a Comment