This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
virtualisation:file-server-setup-guide [2018/03/27 08:30] – buettner | virtualisation:file-server-setup-guide [2018/03/27 08:50] – buettner | ||
---|---|---|---|
Line 38: | Line 38: | ||
You can access the FTP server over the IP address or domain name of your router and the addon /ftpserver (For example, if your local domain name is mediacontainer.local you can access it via http:// | You can access the FTP server over the IP address or domain name of your router and the addon /ftpserver (For example, if your local domain name is mediacontainer.local you can access it via http:// | ||
+ | |||
==== 3) The VSFTPD FTP Server==== | ==== 3) The VSFTPD FTP Server==== | ||
Line 43: | Line 44: | ||
Vsftpd is a very smooth working FTP server. You can access it by using a FTP client program like FileZilla, or you can access it via your web browser using Net2FTP as described above. | Vsftpd is a very smooth working FTP server. You can access it by using a FTP client program like FileZilla, or you can access it via your web browser using Net2FTP as described above. | ||
- | If you have changed the user for vsftpd, you have to tell the program about the new user. To do this open the / | + | If you have changed the user for vsftpd, you have to tell the program about the new user. To do this open the / |
< | < | ||
ftpuser | ftpuser | ||
NEW USER | NEW USER | ||
- | </ | + | </ |
+ | Of course, you can delete the ftpuser entry in this file if only your new user may have access to the server. | ||
- | ==== 4) The samba file server ==== | + | ==== 4) The Samba file server ==== |
With samba, you can easily share your folders and files from other computers with Windows, Linux or macOS installed. | With samba, you can easily share your folders and files from other computers with Windows, Linux or macOS installed. | ||
+ | |||
+ | In Samba, the login credentials described in the vsftpd chapter are used again to get access to Samba. If you want to add a new user to Samba, enter | ||
+ | < | ||
+ | smbpasswd -a < | ||
+ | </ | ||
+ | After this, you are asked to give a new password to this new user. Be aware that while entering this new password, no placeholder like * are shown. | ||
To add the shared folders to your Windows machine, go to "This PC (Arbeitsplatz)" | To add the shared folders to your Windows machine, go to "This PC (Arbeitsplatz)" | ||
Line 86: | Line 94: | ||
In this example [LINK], files located in folders on the stick (Video-trans, | In this example [LINK], files located in folders on the stick (Video-trans, | ||
- | In the second example [LINK], all files in the container will be replaced by the files stored on the USB stick. You will get an one-to-one copy of your USB stick: | + | In the second example [LINK], all files in the container will be replaced by the files stored on the USB stick. You will get an one-to-one copy of your USB stick. |
+ | |||
+ | The last example [LINK] provides the possibility to use an external USB drive as a storage solution for your media players provided in a LXC container. This external drive will be mounted to the / | ||
Now format an USB stick to the FAT16 oder FAT32 file format. Copy to it the " | Now format an USB stick to the FAT16 oder FAT32 file format. Copy to it the " |