In this tutorial, we will guide you through the process of installing miniserve
on Debian Latest. miniserve
is a small and lightweight tool that allows you to quickly share files and directories over the internet with a simple and secure web interface.
Before we start, make sure you have access to a terminal as a non-root user with sudo privileges. You should also have basic knowledge of the Linux command line.
The first step is to update your system to ensure that you have the latest software packages and security updates. You can do this by running the following commands:
sudo apt update
sudo apt upgrade
To install miniserve
, you need to download the latest release from GitHub. You can do this by running the following command:
wget https://github.com/svenstaro/miniserve/releases/download/v0.17.0/miniserve-v0.17.0-x86_64-unknown-linux-gnu.gz
This command will download the binary file for miniserve
version 0.17.0. If a new version is available, please replace this URL with the latest one.
Next, you need to extract the downloaded file:
gunzip miniserve-v0.17.0-x86_64-unknown-linux-gnu.gz
This command will extract the miniserve
binary file from the compressed file.
Now, you need to move the miniserve
binary file to the /usr/local/bin/
directory:
sudo mv miniserve-v0.17.0-x86_64-unknown-linux-gnu /usr/local/bin/miniserve
This command will move miniserve
binary file to the /usr/local/bin/
directory, which is in your system's path.
To verify the installation of miniserve
, you can run the following command:
miniserve --version
This command should display the miniserve
version number, confirming that the installation was successful.
To start miniserve
, navigate to the directory you wish to share and run the following command:
miniserve .
This command tells miniserve
to share the current directory (.
) with its default settings. To specify specific settings, you can use additional command-line options.
After running this command, you should see a message with the URL and access token that you can use to access the shared directory in your web browser.
Congratulations! You have successfully installed miniserve
on Debian Latest. You can now easily share files and directories over the internet using a simple web interface. If you have any questions, please feel free to consult the miniserve documentation.
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!