This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
virtualisation:file-server [2018/03/01 08:28] – buettner | virtualisation:file-server [2020/04/15 04:47] – fachet | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to set up a NB2800 | + | ====== 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, |
- | If you need instructions on how to set up a LXC Container on NB2800 | + | If you need instructions on how to set up a LXC Container on NetModule |
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 9: | Line 9: | ||
==== 1) Preparations ==== | ==== 1) Preparations ==== | ||
- | The first step you should take is to give your router a static IP adress. For this, use | ||
- | < | ||
- | nano / | ||
- | </ | ||
- | and set up a static IP configuration for your primary interface. In this example, the configuration for the eth0 interface looks like this: | ||
- | < | ||
- | auto eth0 | ||
- | iface eth0 inet static | ||
- | address 192.168.1.50 | ||
- | netmask 255.255.255.0 | ||
- | network 192.168.1.0 | ||
- | broadcast 192.168.1.255 | ||
- | gateway 192.168.1.105 | ||
- | dns-nameservers 192.168.1.105 | ||
- | </ | ||
- | After that, use | + | The first step you should take is to use |
< | < | ||
apt-get update | apt-get update | ||
Line 163: | Line 148: | ||
After this, upload your downloaded and renamed folder to your web servers default location (e.g. / | After this, upload your downloaded and renamed folder to your web servers default location (e.g. / | ||
- | You also have to change the rigths | + | You also have to change the rights |
< | < | ||
chmod 777 temp | chmod 777 temp |