header image

install gitea on raspbian stretch 4.19.42 (raspberry 3b+)

version 0.0.2 - 2019-06-04

it is assumed that the things from the first tutorial (install nginx | php | mariadb adminer) are installed.

git | golang

add user

switch to git user

make directory

change to directory |download gitea | make executable | logout user git

create a service

[Unit]
Description=Gitea
After=syslog.target
After=network.target
After=mysqld.service

[Service]
# Modify these two values ​​and uncomment them if you have
# repos with lots of files and get to HTTP error 500 because of that
###
# LimitMEMLOCK=infinity
# LimitNOFILE=65535
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/home/git/gitea
ExecStart=/home/git/gitea/gitea web
Restart=always
Environment=USER=git HOME=/home/git

[Install]
WantedBy=multi-user.target

enable | start service | check

create database | database user

gitea installation


[2019-06-05] - Add Link to other tutorial

Veröffentlicht 5. Juni 2019 11:24 von W01f