A local FTP server and website

Traduire la page en français

Webmaster's note:
I translated this page with translation websites
If you see any errors, please let me know

Local website preview on mobile phone, on PC

Also for sharing files locally:
LocalSend

The content is clickable

For Linux Mint 22, Xubuntu 22.04, 24.04
Not tested on other distributions, versions

Unsecured servers
Not connected to the Internet
For domestic networks only

Sources:
Background, favicon and logo, arrow, selections



Install

Run in terminal:
sudo apt update
sudo apt install php proftpd
echo "DefaultRoot /home/Public" | sudo tee -a /etc/proftpd/proftpd.conf
sudo /etc/init.d/proftpd restart
sudo mv Public /home
ln -s /home/Public Public
sudo rm -r /var/www/html
sudo ln -s /home/Public /var/www/html
wget -NP /tmp https://tux.alwaysdata.net/site.english.tar.xz
tar -hvxf /tmp/site.english.tar.xz -C /home/Public
echo "first name's PC" | tee /home/Public/title.php
mv /home/Public/hidden /home/Public/.hidden

Run in terminal for cancel:
mv Public /home/Public
sudo mv /home/Public ~/



Local FTP and Web address

Run in terminal:
hostname -I | awk '{print $1}'



Download, upload

With Android = use AndFTP
With Linux, Windows = use FileZilla, a file manager

Host = local FTP and Web address
Username, password = those of the administrator session of the host PC

File manager = ftp://username@local FTP and Web address



Visit the local website

From the host PC

From other devices on the network, run local FTP and Web address in browser address bar



Improve mpv Media Player

Faster, more secure DNS

Elegant theme based on Materia

Battery charged or low notifications

Get a free foreign IP

Icon pack for Materia-Tux

Replace OS boot logo

A local FTP server and website



Your webmaster is also a writer

Latest updates

Contact