Created
June 28, 2017 15:45
-
-
Save raphaelyancey/b9c6a297b7bb52eb8aba1b4de01cb641 to your computer and use it in GitHub Desktop.
One-liner quickly to mount RaspberryPi /home folder for remote editing
This file contains 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
# Required: | |
# `sudo apt-get install nfs-kernel-server rpcbind` | |
# And after that: | |
# `sudo echo "/home *(rw,all_squash,no_subtree_check,anonuid=1000,anongid=1000,sync,insecure)" >> /etc/exports` | |
# /!\ WARNING /!\ Totally insecure ! | |
# Use only on your local network, and only if your | |
# Raspberry Pi is not accessible from the outside! | |
# (basically, it allows read/write remote mounting of the /home folder without a password...) | |
sudo update-rc.d rpcbind enable | |
sudo service rpcbind restart | |
sudo service nfs-kernel-server restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment