This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
virtualisation:file-server [2022/02/07 14:13] – [1) Preparations] schmitt | virtualisation:file-server [2025/04/22 14:02] (current) – [Store a local domain with a static IP address] gray | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to set up a File Server ====== | ====== How to set up a File Server ====== | ||
- | This Article describes how to install a file server on NetModule Routers. Most but not all routers support LXC-Containers, | + | ===== Goal ===== |
+ | This Article describes how to install a file server on NetModule Routers. | ||
- | 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. |
- | ==== 1) Preparations | + | ===== Prerequisites ===== |
+ | * NetModule Wireless Router with wireless connection | ||
+ | * NetModule Software [[https:// | ||
+ | * A license is required for the LXC container | ||
+ | * Not available for legacy products NB1600, NB2700, NB3700, NB3710 | ||
- | The first step you should take is to use | + | |
- | < | + | ===== - Setting up an LXC container and then implementing File Server ===== |
- | apt-get update | + | |
- | </code> | + | The link below takes you to a wiki that describes how to install and set up an LXC container on a NetModule router. |
- | and | + | |
- | < | + | ---- |
- | apt-get upgrade | + | |
- | </ | + | * Set up an LXC container |
- | to bring your system up to date. | + | |
+ | ---- | ||
+ | |||
+ | |||
+ | Once the '' | ||
+ | |||
+ | |||
+ | ===== Store a local domain with a static IP address ==== | ||
If your network setup doesn' | If your network setup doesn' | ||
- | For this, get access to the routers web interface and go to Services -> DNS Server. Under " | + | For this, get access to the routers web interface and go to Services -> DNS Server. Under '' |
+ | |||
+ | Now enter the IP address and the domain name you want it linked to and click ''" | ||
- | Now enter the IP address and the domain name you want it linked to and click " | ||
{{ : | {{ : | ||
Line 33: | Line 46: | ||
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. | ||
- | + | ===== - The vsftpd FTP server ==== | |
- | + | ||
- | ==== 2) The vsftpd FTP server ==== | + | |
Vsftpd (Very Secure File Transfer Protocol Deamon) is a very compact and secure FTP server. It provides a high amount of data security and user management features. | Vsftpd (Very Secure File Transfer Protocol Deamon) is a very compact and secure FTP server. It provides a high amount of data security and user management features. | ||
Line 106: | Line 117: | ||
local_root=/ | local_root=/ | ||
allow_writeable_chroot=YES | allow_writeable_chroot=YES | ||
- | force_ssl_enable=YES | + | #force_ssl_enable=YES |
force_local_data_ssl=YES | force_local_data_ssl=YES | ||
force_local_logins_ssl=YES | force_local_logins_ssl=YES | ||
Line 137: | Line 148: | ||
[[https:// | [[https:// | ||
- | First, you have to download the Software from this [[https:// | + | First, you have to download the Software from this [[https:// |
In the next step, you have to install a web server and PHP in your container: | In the next step, you have to install a web server and PHP in your container: |