header image

install pyenv on debian stretch | raspbian

version 0.0.2 - 2019-06-05

install prerequisites

sudo apt-get install -y make build-essential libssl-dev zlib1g-dev 
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev 
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl 

install pyenv

install specific python version for current user

optional: upgrade pyenv

note: with raspberry, installing a python version takes quite a while
because it will be compiled

Veröffentlicht: 5. Juni 2019 14:48 von W01f

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


# 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
ExecStart=/home/git/gitea/gitea web
Environment=USER=git HOME=/home/git


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

install nginx | php | mariadb adminer on raspbian stretch 4.19.42 (raspberry 3b+)

version 0.0.3 - 2019-06-05

nginx with php

update | upgrade | install nginx & php

enable php in nginx

location ~ \.php$ {
        include snippets/fastcgi-php.conf;
#       # With php-fpm (or other unix sockets):
        fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
#       # With php-cgi (or other tcp sockets):
#       fastcgi_pass;

restart nginx

create a php for testing

test php in nginx



optional: change ownership and group of /var/www/html

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

Debian: Hinzufügen einer zusätzlichen Gruppe zu einem bestehenden Benutzer

Als root:

usermod -a -G Gruppenname Benutzername

Veröffentlicht: 28. Mai 2019 13:47 von W01f

Debian: Scrollen in der Konsole

Scrollen nach oben:
shift + PgUp

Scrollen nach unten
shift + PgDn

Veröffentlicht: 28. Mai 2019 11:40 von W01f

Seite 1 von 3 Nächste Letzte »