Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NFS
- 1. byghis
- https://sites.google.com/site/edwardspc/cloud/thesis
- 2. update /etc/exports
- SERVER
- #/media/export *(rw,insecure,no_subtree_check,no_root_squash,anonuid=0,anongid=0)
- /media/export *(rw,all_squash,anonuid=1000,anongid=1000)
- --
- root@domU-12-31-39-0A-15-E0:~/scs-deploysystem/src/lua/scs/demos/deployer# cat /etc/default/nfs-kernel-server
- # Number of servers to start up
- # To disable nfsv4 on the server, specify '--no-nfs-version 4' here
- RPCNFSDCOUNT=8
- # Runtime priority of server (see nice(1))
- RPCNFSDPRIORITY=0
- # Options for rpc.mountd.
- # If you have a port-based firewall, you might want to set up
- # a fixed port here using the --port option. For more information,
- # see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
- RPCMOUNTDOPTS=--manage-gids
- # Do you want to start the svcgssd daemon? It is only required for Kerberos
- # exports. Valid alternatives are "yes" and "no"; the default is "no".
- NEED_SVCGSSD=no
- # Options for rpc.svcgssd.
- RPCSVCGSSDOPTS=
- --
- root@domU-12-31-39-0A-15-E0:~/scs-deploysystem/src/lua/scs/demos/deployer# cat /etc/default/nfs-common
- # If you do not set values for the NEED_ options, they will be attempted
- # autodetected; this should be sufficient for most people. Valid alternatives
- # for the NEED_ options are "yes" and "no".
- # Do you want to start the statd daemon? It is not needed for NFSv4.
- NEED_STATD=
- # Options for rpc.statd.
- # Should rpc.statd listen on a specific port? This is especially useful
- # when you have a port-based firewall. To use a fixed port, set this
- # this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
- # For more information, see rpc.statd(8) or http://wiki.debian.org/?SecuringNFS
- STATDOPTS=
- # Do you want to start the idmapd daemon? It is only needed for NFSv4.
- NEED_IDMAPD=yes
- # Do you want to start the gssd daemon? It is required for Kerberos mounts.
- NEED_GSSD=no
- CLIENT
- root@ip-10-245-222-212:/tmp# cat /etc/default/nfs-common
- # If you do not set values for the NEED_ options, they will be attempted
- # autodetected; this should be sufficient for most people. Valid alternatives
- # for the NEED_ options are "yes" and "no".
- # Do you want to start the statd daemon? It is not needed for NFSv4.
- NEED_STATD=
- # Options for rpc.statd.
- # Should rpc.statd listen on a specific port? This is especially useful
- # when you have a port-based firewall. To use a fixed port, set this
- # this variable to a statd argument like: "--port 4000 --outgoing-port 4001".
- # For more information, see rpc.statd(8) or http://wiki.debian.org/?SecuringNFS
- STATDOPTS=
- # Do you want to start the idmapd daemon? It is only needed for NFSv4.
- NEED_IDMAPD=yes
- # Do you want to start the gssd daemon? It is required for Kerberos mounts.
- NEED_GSSD=no
- 3. update
- # /etc/init.d/nfs-kernel-server restart
- # restart idmapd
- 4. mount 10.211.22.46:/media/export /tmp/
- 5. Update /etc/hosts
- 6. Update file
- /root/scs-deploysystem/src/lua/luarocks/fs/unix.lua
- > ok = fs_execute_string("gunzip -c "..archive.."|tar --no-same-owner -xf -") --line 354 aprox
Advertisement
Add Comment
Please, Sign In to add comment