This tutorial will guide you through the steps to install Miniserve on Elementary OS, a lightweight tool for sharing files over HTTP with an easy to use interface.
Before installing Miniserve, ensure that your system has the following:
To install Miniserve on Elementary OS, follow these steps:
Open the Terminal by pressing Ctrl+Alt+T on your keyboard.
Install Curl by running the following command:
sudo apt-get install curl -y
Download the Miniserve binary file by running the following command:
curl -LO https://github.com/svenstaro/miniserve/releases/download/v0.16.0/miniserve-v0.16.0-x86_64-unknown-linux-musl.tar.gz
Extract the downloaded file by running the following command:
tar xvf miniserve-v0.16.0-x86_64-unknown-linux-musl.tar.gz
Create a symbolic link for Miniserve by running the following command:
sudo ln -s miniserve-v0.16.0-x86_64-unknown-linux-musl/miniserve /usr/local/bin/miniserve
To run Miniserve, navigate to the directory of the folder that you want to share and run the following command:
miniserve
This will run Miniserve and generate a URL that you can open in your web browser.
You have successfully installed Miniserve on Elementary OS and can now easily share files over HTTP. Enjoy!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!