This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
virtualisation:file-server [2018/03/01 08:28] buettner |
virtualisation:file-server [2018/03/15 15:39] buettner |
||
---|---|---|---|
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 | ||
- | <code> | ||
- | nano /etc/network/interfaces | ||
- | </code> | ||
- | and set up a static IP configuration for your primary interface. In this example, the configuration for the eth0 interface looks like this: | ||
- | <konsole> | ||
- | 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 | ||
- | </konsole> | ||
- | After that, use | + | The first step you should take is to use |
<code> | <code> | ||
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. /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 |