Kleeja is a free open-source PHP file upload and management tool, designed to be easily customizable and integrated into any website. In this tutorial, we will guide you through the process of installing Kleeja on Debian, the latest version of Debian.
Before proceeding, ensure that you have the following:
The first step in installing Kleeja is to download its latest version from its official website. To do so, follow these steps:
cd /var/www/
to move to the Apache webroot directory.wget
command as shown below:$ wget https://github.com/kleeja-official/kleeja/releases/download/v3.0.6/kleeja_3.0.6.zip
unzip
command as shown below:$ unzip kleeja_3.0.6.zip
The above command will create a new directory named kleeja
in the current directory.
After extracting Kleeja, you must make some configuration changes before you can use it. Follow the steps described below:
config.php.new
file to config.php
using the following command:$ mv kleeja/includes/config.php.new kleeja/includes/config.php
config.php
file using any text editor of your choice:$ nano kleeja/includes/config.php
Configure the following parameters:
$SQLTYPE = 'mysqli'; // Change to your database engine (e.g., mysql or postgresql)
$SQL_HOST = 'localhost'; // Database server host
$SQL_USER = 'kleeja'; // Database username
$SQL_PASS = 'StrongPassword'; // Database password
$SQL_DB = 'kleeja'; // Database name
$SQL_PREFIX = '__your_database_prefix'; // Database prefix. Change it if you want to use a custom one
$filesname = 'files'; // Kleeja files directory name, Default: 'files'
$foldername = 'Kleeja'; // A folder name in your server, change it to your desired name.
Don't forget to change the values inside the apostrophes to your desired variables in your environment.
Save and close the file.
After configuring Kleeja, you need to upload the files to the web server. To do so, follow the steps below:
kleeja
directory to your webserver's document root directory. For instance:$ mv -R kleeja /var/www/html/
Here, we move the kleeja
directory to /var/www/html/
path. Make sure your document root path is correct.
files
directory to 777
so that Kleeja can write files to it:$ chmod 777 /var/www/html/kleeja/files
This command will allow read, write, and execute permission on the files
directory.
$ sudo systemctl restart apache2
The final step is to complete the installation process using your web browser. Follow the steps described below to do so:
/kleeja
. For instance, http://your-server-ip-address/kleeja
or http://your-domain-name/kleeja
.install
directory from your Kleeja directory using the following command:$ rm -rf /var/www/html/kleeja/install/
Congratulations! You have successfully installed Kleeja on your Debian system. You can now log in to the Kleeja's admin panel and begin configuring Kleeja to fit your needs.
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!