How to Install Jirafeau on Windows 11
Jirafeau is an open-source web application designed for sharing files. It enables users to securely share files with a simple and easy-to-use interface. In this tutorial, we will explain how to install Jirafeau on Windows 11.
Prerequisites
Before we start, you need to have the following prerequisites:
- Windows 11 installed on your computer
- XAMPP server installed on your computer
- Basic knowledge of PHP and MySQL
Step 1: Download Jirafeau
The first step is to download Jirafeau from this link https://gitlab.com/mojo42/Jirafeau. Click on the "Download" button and save the file to your computer.
Step 2: Extract the Jirafeau Files
Extract the Jirafeau files that you downloaded in step 1 to the htdocs folder inside the XAMPP installation folder. For example, if you installed XAMPP in C:\xampp, extract the Jirafeau files to C:\xampp\htdocs\jirafeau.
Step 3: Create a Database
You need to create a new database for Jirafeau. Open the XAMPP Control Panel and start the Apache and MySQL services. Once they are running, open your web browser and go to http://localhost/phpmyadmin.
In phpMyAdmin, click on the "New" button in the left-hand menu and give your database a name, for example, jirafeau.
Step 4: Import the Jirafeau Database
Next, you need to import the Jirafeau database into the new database you just created. In phpMyAdmin, select the new database you created (in our case, jirafeau). Then, click on the "Import" tab and select the file jirafeau.sql located in the Jirafeau folder you extracted in step 2.
Step 5: Configure Jirafeau
Open the Jirafeau folder and rename the file conf.sample.php to conf.php. Then, open the conf.php file in a text editor and modify the following lines:
define('ABS_PATH', '/jirafeau/');
define('DB_DSN', 'mysql:host=localhost;dbname=jirafeau');
define('DB_USER', 'root');
define('DB_PASS', '');
Replace /jirafeau/ with the location of Jirafeau in your XAMPP installation. If you extracted the files to C:\xampp\htdocs\jirafeau, then the line should be:
define('ABS_PATH', '/jirafeau/');
Replace jirafeau in dbname=jirafeau with the name of the database you created in step 3. If you named it jirafeau, then the line should be:
define('DB_DSN', 'mysql:host=localhost;dbname=jirafeau');
Enter your MySQL username and password for DB_USER and DB_PASS respectively.
Step 6: Test Jirafeau
To test Jirafeau, open your web browser and go to http://localhost/jirafeau. You should see the Jirafeau welcome page. Congratulations, you have successfully installed Jirafeau on your Windows 11 machine.
Conclusion
Jirafeau is now installed and running on your Windows 11 machine. You can now start sharing files through Jirafeau with your friends and colleagues. Explore the features of Jirafeau and customize it according to your needs.