Uguu is a simple and lightweight file-sharing platform that allows users to upload and share files easily. In this tutorial, we will guide you on how to install Uguu on your Fedora Server Latest.
Before we begin, make sure you have the following requirements:
The first step is to update your system and install the necessary dependencies for Uguu.
To do so, run the following command:
sudo dnf update -y && sudo dnf install -y git wget curl unzip tar golang
This command will update your system and install git, wget, curl, unzip, tar, and golang.
Uguu requires a database to store users and files data. In this tutorial, we will use MariaDB.
You can install MariaDB by running the following command:
sudo dnf install -y mariadb-server
Once installed, start the MariaDB service and enable it to automatically start at boot time by running the command below:
sudo systemctl start mariadb && sudo systemctl enable mariadb
After starting MariaDB, secure the installation by running the command below:
sudo mysql_secure_installation
Follow the prompts and set up the root password, remove anonymous users, disable remote root login, and delete the test database.
To install Uguu, first, you need to clone the Uguu repository from GitHub by running the command below:
git clone https://github.com/nokonoko/uguu.git && cd uguu
Next, build Uguu by running make
:
make
After Uguu is built, create Uguu's configuration file:
cp .env-example .env
Edit the .env
file and modify the DATABASE_URL
and SECRET_KEY
values to reflect your system configuration:
DATABASE_URL=root:<Your_ROOT_PASSWORD>@tcp(127.0.0.1:3306)/uguu
SECRET_KEY=<Your_SECRET_KEY>
Here, replace <Your_ROOT_PASSWORD>
and <Your_SECRET_KEY>
with your own values.
Create a new database for Uguu by running the following commands:
sudo mysql -u root -p
Enter your root password, and once you are in the MariaDB prompt, create a new database, user, and grant all privileges to the user by running the following commands:
CREATE DATABASE uguu;
CREATE USER 'uguu'@'localhost' IDENTIFIED BY '<Your_USER_PASSWORD>';
GRANT ALL PRIVILEGES ON uguu.* TO 'uguu'@'localhost';
FLUSH PRIVILEGES;
Here, replace <Your_USER_PASSWORD>
with your desired password.
Exit the MariaDB prompt by running exit
.
Start Uguu by running the following command:
./uguu
Then, open your web browser and navigate to http://localhost:20738/
. You should see the Uguu web interface.
In this tutorial, we showed you how to install Uguu on Fedora Server Latest. We covered setting up MariaDB, installing dependencies, cloning Uguu from GitHub, configuring Uguu, and starting Uguu. Uguu is now ready for you to start uploading and sharing files.
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!