In this tutorial, we will guide you through the steps to install Kleeja file upload management system on the Manjaro operating system using Apache web server.
Before proceeding with the installation, you need to ensure that a few prerequisites are met:
To start the installation, we have to download Kleeja. You can get the latest version of Kleeja by visiting the official website https://kleeja.net/download/
Once you have downloaded the package, open the terminal and navigate to the Downloads directory:
cd ~/Downloads
After navigating to the downloads directory, extract the downloaded package using the following command:
unzip kleeja-2.4.0.zip
This will extract the contents of the package to a new directory named kleeja-2.4.0
in the Downloads directory.
Next, move the extracted directory to the web root directory of your Apache server, which is usually located at /var/www/html/
sudo mv kleeja-2.4.0/ /var/www/html/kleeja
Before we proceed with the Kleeja installation, we need to create a new database and user for Kleeja to access. You can create them using the following commands:
mysql -u root -p
This will open the MySQL prompt. Now execute the following commands to create a new database and user:
CREATE DATABASE kleeja;
CREATE USER 'kleeja_user'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON kleeja.* TO 'kleeja_user'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
Make sure to replace your_password
with a strong password for the user.
Now the package has been extracted, and the database and user have been created. It's time to configure Kleeja.
Navigate to the Kleeja directory in the web root:
cd /var/www/html/kleeja
Make the cache
and uploads
directories writable with the following commands:
sudo chmod 777 cache/
sudo chmod 777 uploads/
Next, copy the config.default.php
file to config.php
:
sudo cp config.default.php config.php
Now open the config.php
file in a text editor and update the following database details:
define('DB_HOST', 'localhost');
define('DB_NAME', 'kleeja');
define('DB_USER', 'kleeja_user');
define('DB_PASS', 'your_password');
After completing the configuration, go to the Kleeja installation page by browsing to http://localhost/kleeja/install/
from your web browser:
Proceed to next step
Proceed to next step
Proceed to next step
Proceed to next step
install
directory using the following command:sudo rm -rf /var/www/html/kleeja/install/
That's all! Now you can test the installation by browsing to http://localhost/kleeja/
from your web browser.
You should now see the Kleeja homepage, and you can log in using the administrator credentials created during the installation.
Congratulations! You have successfully installed Kleeja on Manjaro.
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!