Gossa is an open-source, web-based photo album software that allows users to manage and share their photos. In this tutorial, we will guide you through the installation of Gossa on Kali Linux Latest.
Open the terminal on your Kali Linux Latest and update your system to ensure the latest version of all apps.
sudo apt-get update && sudo apt-get upgrade
Gossa is available on Github, so you will need to install Git to clone the repository to your system. If Git is not already installed, run the following command to install.
sudo apt-get install git
Clone the Gossa repository from Github to your local machine using the following command.
git clone https://github.com/pldubouilh/gossa.git
Navigate to the cloned directory, enter the publish
directory and install PHP and the required PHP modules.
cd gossa/publish
sudo apt-get install php php-common php-xml php-gd php-exif php-mysqli
Log in to MySQL and create a new database for Gossa, then create a user with the necessary privileges, remembering the entered login credentials.
mysql -u root -p
CREATE DATABASE gossa;
GRANT ALL PRIVILEGES ON gossa.* TO ‘gossauser’@’localhost’ IDENTIFIED BY ‘gossapass’;
Copy the config.inc.php-dist
file to config.inc.php
and db_settings.inc.php-dist
to db_settings.inc.php
. Edit the copied files and update the database
section of the config.inc.php
file with the database name, user, password and hostname values.
cp config.inc.php-dist config.inc.php
cp db_settings.inc.php-dist db_settings.inc.php
nano config.inc.php
nano db_settings.inc.php
Set the necessary permissions on the filesystem.
chmod o+w cache
chmod o+w pub
Start the PHP built-in server on the machine and enter localhost:8000
into the browser. You should see the Gossa login page. Log in using the Admin username admin
and password admin
.
php -S localhost:8000
Create a new systemd service file /etc/systemd/system/gossa.service
and add the following settings to it -
[Unit]
Description=Gossa Photo Album
After=network.target
[Service]
User=root
Group=root
WorkingDirectory=/path/to/gossa
ExecStart=/usr/bin/php -S localhost:8000
Restart=always
[Install]
WantedBy=multi-user.target
After doing so, you can start the Gossa server using the command sudo systemctl start gossa
and enable auto-start on startup using the command sudo systemctl enable gossa
.
Gossa is a powerful web-based photo album software capable of streamlining the management and sharing of photos. With the help of this tutorial, you can easily install Gossa on your Kali Linux Latest system and enjoy its features.
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!