Created
April 16, 2013 16:17
-
-
Save maltzsama/5397302 to your computer and use it in GitHub Desktop.
Setup of NFS server to work with Mini2440 and Micro2440
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Primeiramente instale os seguintes pacotes necessários para o NFS | |
| yum -y install nfs-utils rpcbind | |
| #Verifique a configuração do arquivo /etc/hosts, ele deverá estar mais ou menos assim: | |
| 127.0.0.1 localhost.localdomain magrathea | |
| 192.168.0.100 magrathea | |
| #Modifique o arquivo /etc/hosts.denny para o seguinte conteudo | |
| portmap mountd nfsd statd lockd rquotad : ALL | |
| #Modifique o arquivo /etc/hosts.allow para o seguinte: | |
| portmap mountd nfsd statd lockd rquotad : 192.168.0.100 192.168.0.101 | |
| #Agora criaremos os compartilhamentos para o NFS. Edite o arquivo /etc/exports e ele deverá ter algo parecido com o descrito abaixo: | |
| /home/arquivos 192.168.0.*(ro,no_root_squash) | |
| #Agora reinicie os serviços: | |
| service rpcbind restart | |
| service nfs restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment