How to Install Galette on Linux Mint

Galette is a free and open-source membership management software designed to help associations, clubs, and non-profits to manage their members, contacts, and events. In this tutorial, we will show you how to install Galette on Linux Mint.

Prerequisites

Before we proceed with the installation, make sure that your Linux Mint system is up-to-date and that you have the following requirements:

Step 1 - Download Galette

First, download the latest version of Galette from the official website or use the following wget command to download the package from the command line:

wget https://download.tuxfamily.org/galette/galette-0.9.4.3.tar.gz

Step 2 - Install Required PHP Extensions

Galette requires some PHP extensions to work correctly. Use the following command to install the necessary PHP modules:

sudo apt install php php-mysql php-curl php-xml php-gd php-mbstring

After installing the necessary PHP modules, restart the Apache or Nginx web server to apply the changes.

sudo systemctl restart apache2

Step 3 - Create a MySQL Database

Galette stores its data in a MySQL or MariaDB database. Use the following command to create a new MySQL database for Galette:

mysql -u root -p
CREATE DATABASE galette_db;
GRANT ALL PRIVILEGES ON galette_db.* TO 'galette_user'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;

Replace galette_db, galette_user and password with your preferred values.

Step 4 - Install Galette

First, extract the downloaded Galette archive to the Apache web server document root directory using the following command:

sudo tar -xvzf galette-0.9.4.3.tar.gz -C /var/www/html/

Next, rename the extracted directory to galette/ and change the ownership of the Galette files to the Apache user.

sudo mv /var/www/html/galette-0.9.4.3 /var/www/html/galette
sudo chown -R www-data: /var/www/html/galette/

Step 5 - Configure Galette

Now you can configure the Galette installation by accessing the following URL in your browser:

http://localhost/galette/install/

Follow the on-screen instructions to complete the installation process.

After the installation, remove the install/ directory and create the .htaccess file.

sudo rm -rf /var/www/html/galette/install/
cd /var/www/html/galette/
sudo nano .htaccess

Add the following content:

RewriteEngine On
RewriteBase /galette/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /galette/index.php [L]

Save and close the file.

Step 6 - Access Galette

You can now access Galette by navigating to the following URL in your web browser:

http://localhost/galette/

Use the default login credentials "admin" for the username and "admin" for the password.

Conclusion

In this tutorial, we have shown you how to install Galette on Linux Mint. You are now free to manage your members, contacts and events.

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!