User Tools

Site Tools


инструмент_gitea

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
инструмент_gitea [2023/02/14 16:03]
val created
инструмент_gitea [2023/10/24 12:14] (current)
val [Установка]
Line 1: Line 1:
 ====== Инструмент Gitea ====== ====== Инструмент Gitea ======
 +
 +===== Установка =====
 +
 +  * [[https://​docs.gitea.io/​en-us/​install-from-binary/​]]
  
 <​code>​ <​code>​
-curl http://​192.168.13.106:3000/corp/​ansible-pull-gpo/​raw/​branch/​main/​start.sh+ubuntusnap refresh 
 + 
 +ubuntu# snap install gitea 
 + 
 +ubuntu# service snap.gitea.web status 
 +</​code>​ 
 + 
 +===== Подключение ===== 
 + 
 +  * http://server.corpX.un:​3000/​ 
 + 
 +===== Настройка ===== 
 + 
 +==== Базовая ==== 
 +<​code>​ 
 +Database Type: SQLite3 
 +Administrator Account Settings: 
 +  Administrator Username: student 
 +  ... 
 +</​code>​ 
 + 
 +==== Файл конфигурации ==== 
 +<​code>​ 
 +# cat /​etc/​gitea/​app.ini 
 +  или 
 +# cat /​var/​snap/​gitea/​common/​conf/​app.ini 
 +</​code><​code>​ 
 +... 
 +[service] 
 +DISABLE_REGISTRATION ​             = true 
 +... 
 +[webhook] 
 +ALLOWED_HOST_LIST = corpX.un, ​192.168.0.0/16 
 +</​code>​ 
 + 
 +===== Копирование отдельного файла из репозитория ===== 
 + 
 +<​code>​ 
 +# curl http://​gate.corpX.un:3000/student/​ansible-pull-gpo/​raw/​branch/​main/​start.sh ​| bash
 </​code>​ </​code>​
инструмент_gitea.1676379789.txt.gz · Last modified: 2023/02/14 16:03 by val