Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools:scm
gitea
README.SUSE
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File README.SUSE of Package gitea
A: To configure and run do following: - create user and database gitea and grant rights on database. - Change configuration under [server] in /etc/gitea/conf/app.ini - call http://servername:port/ - create admin user on console with: su - gitea gitea --name FOONAME --password FOOPASSWORD --email FOOEMAIL --admin - If you would reach gitea under https://<your_server>.<your_domain>/git in apache copy gitea-apache.conf to /etc/apache2/conf.d/gitea.conf and uncomment the lines in it. Set only [server] ROOT_URL = http://git.example.com/git/ in your gitea configuration. - If you prefer gitea configure as vhost put things from gitea-apache-vhost.conf in your vhost.conf under /etc/apache2/vhost.d. B: If you want use ssh: - Change HTTP_ADDR to your IP-Adress. - generate a rsa key for gitea: : su - gitea : ssh-keygen -t rsa -b 4096 -C gitea-email@example.com : exit : systemctl restart gitea - Maybe you must run "write ssh/authorized_keys new" under Dashboard from admin. - Let your users add his public key to gitea over web gui. Enjoy... C: Think gitea.service file is broken. Use systemctl edit --full gitea and comment out ore remove all systemd hardening things! This is all under # where Gitea writes files and all under # Various other hardening options. This is for me the only solution to start gitea till the systemd things are fixed.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor