AstraLinux - GitFlic Installation and Launch
Recommended System Requirements
View minimum requirements on this page
Download and Extract Archive
Download the latest GitFlic self-hosted version. Archive contents:
- ./gitflic.jar - Executable file
- /application.properties - Application configuration file  
For remote server deployment:
# Copy archive to remote server:  
scp ~/Downloads/gitflic_*.zip <username>@<ip>:~/  
# Install unzip:  
sudo apt install unzip  
# Extract GitFlic on server:  
sudo unzip gitflic_*.zip  
Enabling Required Repositories
Edit /etc/apt/sources.list - comment cdrom repos and uncomment online repos:  
deb https://download.astralinux.ru/astra/stable/1.7_x86-64/repository-base/ 1.7_x86-64 main contrib non-free  
deb https://download.astralinux.ru/astra/stable/1.7_x86-64/repository-extended/ 1.7_x86-64 main contrib non-free  
* repository-extended - Optional for GitFlic installation
Update package indexes:
sudo apt update  
Java 11 Installation
apt policy openjdk-11-jdk  
sudo apt install openjdk-11-jdk  
java --version  
scp axiomjdk11-*.deb <username>@<ip>:~/  
sudo apt install ./axiomjdk11*.deb  
java --version  
PostgreSQL Installation
apt policy postgresql-11  
sudo apt install postgresql-11  
psql --version  
sudo systemctl status postgresql  
scp tantor-*.deb <username>@<ip>:~/  
sudo apt install ./tantor-*.deb  
sudo -iu postgres  
/opt/tantor/db/14/bin/initdb -D /var/lib/postgresql/tantor-se-14/data/  
exit  
systemctl start tantor-*.service  
systemctl enable tantor-*.service  
sudo systemctl status tantor-*.service  
PostgreSQL Configuration
- Set zero_if_notfound=yesinetc/parsec/mswitch.confand restart service:
sudo systemctl restart postgresql  
- Create database and user:
sudo -u postgres psql  
CREATE USER gitflic WITH PASSWORD 'gitflic';  
CREATE DATABASE gitflic WITH OWNER gitflic;  
\q  
- Enable pgcrypto and pg_trgm extension:
sudo -u postgres psql -d gitflic  
CREATE EXTENSION pgcrypto;  
CREATE EXTENSION pg_trgm;  
KeyDB Installation
sudo apt update  
sudo apt install keydb  
keydb-server --version  
sudo systemctl status keydb  
keydb-cli ping  
sudo apt update  
sudo apt install redis  
redis-server --version  
sudo systemctl status redis  
redis-cli ping  
RabbitMQ Installation
Required for self-hosted enterprise edition
sudo apt install rabbitmq-server  
sudo systemctl status rabbitmq-server.service  
Install GitFlic
GitFlic application installation
Configure SSH Port
Configure and Launch GitFlic
GitFlic configuration and launch
Automated translation!
This page has been automatically translated. The text may contain inaccuracies.