Manuals/netfolder: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Netfolder comes in two parts, the server and the client.
Netfolder comes in two parts, the server and the client.


This guide does not explain how user rights work, only how to get the server going.
This [[Manuals|manual]] does not explain how user rights work, only how to get the server going.


It requires a working dhcp and auth server
It requires a working dhcp and auth server

Revision as of 10:04, 24 September 2024

Netfolder comes in two parts, the server and the client.

This manual does not explain how user rights work, only how to get the server going.

It requires a working dhcp and auth server


Warning:

improper/careless use of this software can lead to file damage or loss, netfolder WILL do what you tell it to. It is intended for use by other programs, it can be used manually tough the intent behind this is debugging and learning.


installing the server:

Run "apt -i netfolder-server"

the server app will now install. When it's done, it's time to register it to the dhcp.


Run "dhcp register systemname", replace systemname with your own name.

Run "dhcp lookup systemname" to confirm it has been registered.

run "mkdir /fileserver" (or any other name) to create a "root folder"

run "netfolder-server rootfolder /fileserver" to configure the fileserver's root folder.

run "nfsd start" to launch the server.

Done!


Run "man netfolder-server" for more information.

/fileserver will be used as root folder, when a user connects a new folder with their username will be created in the root folder, users can never escape this jail.


Client installation:

Run "apt -i netfolder". Done.

Really, that's it. Done. Now, run "man netfolder" to learn how to actually use it, it's quite simple once you get it.