![]() ![]()
You should consider your situation and make that decision for yourself. I ended up adding a rule to my firewall to let anything behind my router (that 192.168.0.x subnet) access any ports on the server. Mounting an NFS share on a remote server uses lots of different ports, and I was unable to identify them all. If you encounter problems, check /var/log/daemon.log for something to Google with. Restart the NFS server: sudo service nfs-kernel-server restart Finally, the (rw,sync,fsid=0,no_subtree_check) part are options that say, respectively, "Mount it read/write so users can save files here," "Write files to disk synchronously so there aren't sudden unmounting problems," "If the NFS server is NFS4, treat this directory as the root of all shared directories," and "Speed things up by allowing all subdirectories of the share to be accessed." This share won't be accessible to anyone on the public side of my router. 192.168.0.0/255.255.255.0 means that the only systems who are allowed to access it will be on the 192.168.0.x subnet, which, for me, means everything behind my router. home is the directory on the server to share. ![]() You should modify that to suit your specific needs. Then set the config to share the /home directory over the network. #NETDRIVE AS A SERVICE INSTALL#First, install the NFS server: sudo apt-get install nfs-kernel-server My server is running Debian Squeeze, but these instructions should translate well to other distributions. There are two parts to this configuration - a server and some clients. In brief, I servicized the mounting and unmounting of the network drive, and the control script I wrote for it also places netdrive symbolic links in each non-system user's home directory if a directory on the share exists in their name. Relying on the network for processes like booting and logging into a desktop ended up being a deal-breaker for me having automounted network home directories.īut I did settle on a solution that works well. Even when the mount worked properly, having it mounted at /home caused performance problems. However, if the share was mounted to /home on the client machine, logging into a desktop environment would fail on account of none of the config files being available. Ubuntu 10.04 would error on boot, but give you the opportunity to skip the mount and continue booting. ![]() I had problems where Ubuntu 12.04 would fail to boot if the system failed to mount the network drive properly when the mount was in the fstab. I tried a few configurations before landing on the one described here. One reason I build this server in the first place was so that I could set up roaming home directories for all my Linux PCs in the house. Go back to NetDrive and click Connect on your newly connected service:ġ0.As I mentioned in my last post, I just built out a dedicated server at home, and I'm migrating a bunch of services to it. When you see this screen, you're ready to connect.ĩ. Log in and authenticate that 3rd party:Ĩ. Your cloud storage solution will ask you to authenticate in a new browser tab which opens automatically. Select Local Drive from the drop down and choose Mount on Boot if you don't want to have to think about connecting NetDrive each day:ħ. Choose your storage type you would like to map from the drop down, then click Connect:ĥ. #NETDRIVE AS A SERVICE PLUS#Once installed, there will be a green circle with a plus symbol in the lower right hand corner, click it:Ĥ. Sign up for an account for NetDrive3 here: ģ. #NETDRIVE AS A SERVICE DOWNLOAD#Download NetDrive from here and install on your Mac or PC.Ģ. NetDrive is a solution that allows you to gain access to those other cloud services as locally mapped drives from within the Swizznet environment. ![]() #NETDRIVE AS A SERVICE WINDOWS#and would like to have mapped drive access to those within your Swizznet Windows Explorer, now you can. If you use OneDrive, Dropbox, Box, Google Drive, etc. Perquisites: NetDrive account Introduction ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |