Differences
This shows you the differences between two versions of the page.
— |
blocks:server:advanced_server_configuration:samba [2023-03-14 10:52] (current) mattias created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== File Transfers and Sharing ===== | ||
+ | |||
+ | Sometimes, you may want to copy files to/from the server. You can do so directly in webmin (under Others > File Manager). This can be useful for occasionally pulling or uploading a file from/to the server. You can, for instance, use this method to download archived log files from the server by selecting "File Manager" | ||
+ | |||
+ | However, it's often more convenient to connect to the server by mounting it as a network volume on your own laptop, rather than copying files back and forth. This makes the server files directly accessible, without having to copy them. | ||
+ | |||
+ | ==== Configuring File Sharing ==== | ||
+ | |||
+ | To configure file sharing, select "Samba Windows File Sharing" | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | There is one pre-configured share: | ||
+ | |||
+ | * " | ||
+ | |||
+ | === File Sharing Users === | ||
+ | |||
+ | The users that can access File Sharing are specified and configured separately. Even though the preconfigured users have the same names as the Linux OS users, they do not share their passwords. To configure the File Sharing users, click the "Samba users" button on the "Samba Windows File Sharing" | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | :!: You // | ||
+ | |||
+ | After changing user settings, click the green Save button. If you don't want to keep a pre-configured user, click the " | ||
+ | |||
+ | ==== Enabling and Starting the File Sharing Server ==== | ||
+ | |||
+ | To start File Sharing, and to make sure that it will start automatically if the server is restarted, select " | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Verifying File Sharing ==== | ||
+ | |||
+ | Connect to the server using file sharing from a separate computer connected to the same network. Here's how to do so from a Mac | ||
+ | |||
+ | First open the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Type in the user name and password (as specified above under "File Sharing Users" | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Select the desired volume (e.g., " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Finally, the content of the " | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | If you're using a Windows computer, use the "Map Network Drive" Explorer command, then specify the network path like this (using the appropriate IP address of your Blocks server): | ||
+ | |||
+ | \\10.2.0.10\pixi-server | ||
+ | |||
+ | Here are some things to check if you don't get the expected response: | ||
+ | |||
+ | * Ensure that your separate computer is connected to the same network as the server (open a terminal window and type "ping 10.2.0.10" | ||
+ | * Double-check that the user name and password you specify match those configured in the server. | ||
+ | |||
+ | |||
+ | |||
+ | |||