https://blog.programs74.ru/how-to-install-mariadb-10-5-on-debian-10/
apt-get install -y mariadb-server libmariadbclient-dev libmariadbclient-dev-compat systemctl status mariadb
sudo mysql_secure_installation
-- It does not ask me for any password sudo mysql
-- Then in MariaDB/MySQL console: UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE USER='root'; FLUSH PRIVILEGES; exit;
https://galeracluster.com/library/documentation/galera-manager-monitoring-clusters.html https://galeracluster.com/library/documentation/galera-manager.html https://bogachev.biz/2017/03/28/neskolko-sposobov-vosstanovleniya-mariadb-galera-cluster/ https://galeracluster.com/library/documentation/arbitrator.html
fix [Warning] [MY-013360] [Server] Plugin sha256_password reported
history
apt-get update -yq && apt-get upgrade -yq apt -y install git bash-completion git --version sudo adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git apt -y install mariadb-server mysql_secure_installation mysql -u root -p curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest |grep browser_download_url | cut -d '"' -f 4 | grep '\linux-amd64$' | wget -i - chmod +x gitea-*-linux-amd64 sudo mv gitea-*-linux-amd64 /usr/local/bin/gitea gitea --version sudo mkdir -p /etc/gitea /var/lib/gitea/{custom,data,indexers,public,log} sudo chown git:git /var/lib/gitea/{data,indexers,log} sudo chmod 750 /var/lib/gitea/{data,indexers,log} sudo chown root:git /etc/gitea sudo chmod 770 /etc/gitea nano /etc/systemd/system/gitea.service sudo systemctl daemon-reload sudo systemctl enable --now gitea systemctl status gitea nano /etc/apache2/sites-available/gitea.conf nano /etc/gitea/app.ini mv /etc/apache2/sites-available/gitea.conf /etc/apache2/sites-available/git.lc.lviv.ua.conf sudo a2ensite git.lc.lviv.ua.conf sudo a2enmod proxy sudo a2enmod proxy_http systemctl reload apache2 sudo certbot --installer apache -d git.lc.lviv.ua systemctl reload apache2 nano /etc/gitea/app.ini systemctl restart gitea systemctl status gitea
https://fazlerabbi37.github.io/take_back_my_data/gitea.html https://blog.containerize.com/2021/05/21/how-to-configure-apache-as-a-reverse-proxy-for-ubuntudebian/ https://computingforgeeks.com/install-gitea-git-service-on-debian-10-buster/ https://gitlab.com/packaging/gitea