Galette is a web-based membership management software for non-profit organizations. In this tutorial, we will show you how to install Galette on OpenSUSE Latest.
Before starting, make sure you have the following:
First, you need to download the latest version of Galette from their official website. You can use the following command to download the package:
$ wget https://download.galette.eu/galette-XXXX.tar.bz2
Replace XXXX
with the version number you want to download.
Before installing Galette, you need to install some dependencies on your system. Use the following command to install the required dependencies:
$ sudo zypper install apache2 php7 php7-mysql mariadb
After downloading the package, you need to extract it using the following command:
$ tar -xvf galette-XXXX.tar.bz2
The next step is to move the extracted files to the Apache document root directory. You can use the following command to move the files:
$ sudo mv galette-XXXX/* /srv/www/htdocs/
Now, you need to set the proper permissions for the Galette directory. Use the following command to set the permissions:
$ sudo chown -R wwwrun:www /srv/www/htdocs/
$ sudo chmod -R 755 /srv/www/htdocs/
Next, you need to create a new database and user for Galette. You can use the following command to create a new database:
$ mysql -u root -p
CREATE DATABASE galette;
GRANT ALL PRIVILEGES ON galette.* TO 'galetteuser'@'localhost' IDENTIFIED BY 'galettepassword';
FLUSH PRIVILEGES;
EXIT;
Replace galetteuser
and galettepassword
with the desired username and password.
Now, you need to configure Galette by modifying the config.php
file located in the inc/
directory. Use the following command to open the config.php
file:
$ sudo nano /srv/www/htdocs/inc/config.php
Modify the following lines according to your database settings:
// Database settings
$GLOBALS['db_host'] = 'localhost';
$GLOBALS['db_user'] = 'galetteuser';
$GLOBALS['db_passwd'] = 'galettepassword';
$GLOBALS['db_name'] = 'galette';
Save and close the file.
Finally, you can access Galette by going to the following URL in your web browser:
http://localhost/
You should see the Galette installation wizard. Follow the instructions to complete the installation.
That's it ! You have successfully installed Galette on OpenSUSE Latest.
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!