• *nix Admin Stuff

    Setting up an NFS Share on CentOS 5

    I had the “pleasure” of setting up an NFS share today on CentOS 5 for the first time. It was actually surprisingly easy to accomplish: Configure the Server Make a folder on the sharing server that has oodles of space, I didn’t bother to setup quotas. bash# mkdir /raid5_san/shared Edit /etc/exports, insert the ip addresses of any machines that will need to access the share like this: bash# vi /etc/exports Add in: /raid5_san/shared 192.168.69.1/255.255.255.255(rw,sync) Save Edit /etc/hosts.allow bash# vi /etc/hosts.allow Add this line: portmap: 192.168.69.1/255.255.255.255 Save Start nfs and portmap bash# /etc/init.d /nfs start bash# /etc/init.d/portmap start Make sure that portmap and nfs are set to autostart. You can set…