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
Next revision Both sides next revision
virtualisation:file-server [2018/03/15 15:27]
buettner
virtualisation:file-server [2022/02/07 14:13]
schmitt [1) Preparations]
Line 1: Line 1:
-====== How to set up a NB2800 ​File Server ======+====== How to set up a File Server ======
  
-This Article describes how to install a file server on the NB2800 router+This Article describes how to install a file server on NetModule Routers. Most but not all routers support LXC-Containers,​ please check first.
  
-If you need instructions on how to set up a LXC Container on NB2800 Routers, you can refer to this page: [[http://​wiki.netmodule.com/​app-notes/​virtualisation]]. 
  
 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 25: Line 24:
  
 Now enter the IP address and the domain name you want it linked to and click "​Apply"​ Now enter the IP address and the domain name you want it linked to and click "​Apply"​
-{{ :​virtualisation:​local_domain_lxc2.png?​nolink&​600 |}}+{{ :​virtualisation:​dns0.png?​nolink&​600 |}}
  
  
 After this, your configuration should look like this: After this, your configuration should look like this:
  
-{{ :​virtualisation:​local_domain_lxc.png?​nolink&​600 |}}+{{ :​virtualisation:​dns.png?​nolink&​600 |}}
  
 Now you can access the file server with both its IP address a its local domain name. Now you can access the file server with both its IP address a its local domain name.
Line 148: Line 147:
 After this, upload your downloaded and renamed folder to your web servers default location (e.g. /​var/​www/​html). Now you can access the FTP server over the name of this folder (For example, if your domain is mediacontainer.local and you renamed the folder to ftpserver, you can access it via http://​mediacontainer.local/​ftpserver). After this, upload your downloaded and renamed folder to your web servers default location (e.g. /​var/​www/​html). Now you can access the FTP server over the name of this folder (For example, if your domain is mediacontainer.local and you renamed the folder to ftpserver, you can access it via http://​mediacontainer.local/​ftpserver).
  
-You also have to change the rigths ​of the temp folder in your uploaded folder. Fot this, go to this folder and type+You also have to change the rights ​of the temp folder in your uploaded folder. Fot this, go to this folder and type
 <​code>​ <​code>​
 chmod 777 temp chmod 777 temp