Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualisation:file-server-setup-guide [2018/03/27 08:40]
buettner
virtualisation:file-server-setup-guide [2018/09/04 07:11]
juraschek [How to set up a NB2800 File Server]
Line 3: Line 3:
 This Article describes how to install a file server on the NB2800 router. ​ This Article describes how to install a file server on the NB2800 router. ​
  
-If you need instructions on how to set up a LXC Container on NB2800 Routers, you can refer to this page: [[app-notes:virtualisation|LXC Virtualization]].+If you need instructions on how to set up a LXC Container on NB2800 Routers, you can refer to this page: [[virtualisation:start|LXC Virtualization]].
  
 This setup contains the installation and configuration of the vsftpd FTP server, the Net2FTP web frontend for vsftpd, and Samba shares. In addition, a way is shown to transfer files from an USB stick to your container: This setup contains the installation and configuration of the vsftpd FTP server, the Net2FTP web frontend for vsftpd, and Samba shares. In addition, a way is shown to transfer files from an USB stick to your container:
Line 94: Line 94:
 In this example [LINK], files located in folders on the stick (Video-trans,​ Audio-trans,​ Bilder-trans) are copied to folders inside of the LXC Container (/​home/​Media/​Videos Bilder Musik). Existing files are being ignored. The /​mnt/​media/​autorun path is the path where the USB stick is mounted to; be aware that this path is not changeable. In this example [LINK], files located in folders on the stick (Video-trans,​ Audio-trans,​ Bilder-trans) are copied to folders inside of the LXC Container (/​home/​Media/​Videos Bilder Musik). Existing files are being ignored. The /​mnt/​media/​autorun path is the path where the USB stick is mounted to; be aware that this path is not changeable.
  
-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 /​home/​Media/​USB folder. You can add this folder to the media player of your choice to let it get access to the media files stored in it. Be aware that the used LXC container will be restarted afterwards.
  
 Now format an USB stick to the FAT16 oder FAT32 file format. Copy to it the "​autorun.key"​ file together with the "​autorun.sh"​ file and the files and folders (Video-trans,​ Audio-trans,​ Bilder-trans) you want to transfer. Now format an USB stick to the FAT16 oder FAT32 file format. Copy to it the "​autorun.key"​ file together with the "​autorun.sh"​ file and the files and folders (Video-trans,​ Audio-trans,​ Bilder-trans) you want to transfer.