Jirafeau is a free and open-source file-sharing software that allows you to securely send files of any size to your colleagues, clients, and friends. In this tutorial, we will show you how to install Jirafeau on OpenSUSE Latest.
Before installing Jirafeau, make sure to install the required dependencies. You can do this by running the following command:
sudo zypper in apache2-utils apache2-mod_php7 php7 php7-ctype php7-json php7-openssl php7-pdo_mysql php7-sqlite3
Next, download the latest stable release of Jirafeau from their official website or GitHub repository. You can also get it from their GitLab repository at https://gitlab.com/mojo42/Jirafeau. Use the following command to download Jirafeau:
wget https://gitlab.com/mojo42/Jirafeau/-/archive/3.3.0/Jirafeau-3.3.0.tar.gz -O jirafeau.tar.gz
Once downloaded, extract the tarball archive using the following command:
tar -xzf jirafeau.tar.gz -C /var/www/htdocs/
You will need to assign the correct permissions to the extracted Jirafeau folder. Run the following command to assign the correct permissions:
sudo chown -R wwwrun:www /var/www/htdocs/Jirafeau
Create a new virtual host configuration file for Jirafeau. Use the following command to create the configuration file:
sudo nano /etc/apache2/vhosts.d/jirafeau.conf
Add the following lines to the file:
<VirtualHost *:80>
ServerName your_domain.com
DocumentRoot /var/www/htdocs/Jirafeau
<Directory /var/www/htdocs/Jirafeau>
Options -Indexes +FollowSymLinks
AllowOverride all
Require all granted
</Directory>
ErrorLog /var/log/apache2/jirafeau_error.log
CustomLog /var/log/apache2/jirafeau_access.log combined
</VirtualHost>
Replace your_domain.com
with your server's domain name or IP address.
Once you have added the configuration file, save and close it.
Create a new MySQL database and user account for Jirafeau. You can use the following commands to create a new database and user:
mysql -u root -p
MariaDB [(none)]> CREATE DATABASE jirafeau;
MariaDB [(none)]> GRANT ALL PRIVILEGES ON jirafeau.* TO 'jirafeauuser'@'localhost' IDENTIFIED BY 'password';
MariaDB [(none)]> FLUSH PRIVILEGES;
MariaDB [(none)]> EXIT;
Replace jirafeau
with the name of the database you want to create, jirafeauuser
with the username you want to use, and password
with a strong password for the database.
Go to your Jirafeau installation directory and run the web installer by visiting http://your_domain.com/install.php
to complete the installation process.
On the first page, select your preferred language and click on the "Next" button. On the second page, you need to select your database type and enter your database connection details.
Once you have entered your database details, click on the "Next" button to proceed. On the third page, set up your Jirafeau administrator account by entering your email address and a strong password.
Finally, click on the "Next" button to complete the installation. Your Jirafeau file-sharing service is now ready to use.
In this tutorial, we have shown you how to install Jirafeau on OpenSUSE Latest. You can now securely transfer large files with your colleagues and clients using your own private file-sharing service.
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!