User Tools

Site Tools


инструмент_gitea

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
инструмент_gitea [2023/09/11 04:22]
val [Базовая]
инструмент_gitea [2025/07/22 06:35] (current)
val
Line 4: Line 4:
  
   * [[https://​docs.gitea.io/​en-us/​install-from-binary/​]]   * [[https://​docs.gitea.io/​en-us/​install-from-binary/​]]
 +  * Управление ПО через [[Управление ПО в Linux#​Snap]]
  
 <​code>​ <​code>​
 +ubuntu# snap refresh
 +
 ubuntu# snap install gitea ubuntu# snap install gitea
  
Line 20: Line 23:
 <​code>​ <​code>​
 Database Type: SQLite3 Database Type: SQLite3
 +
 +ROOT_URL: http://​server.corpX.un:​3000/​
 +
 Administrator Account Settings: Administrator Account Settings:
   Administrator Username: student   Administrator Username: student
 +  Email: student@corpX.un
 +  Password: ...
   ...   ...
 </​code>​ </​code>​
Line 43: Line 51:
 <​code>​ <​code>​
 # curl http://​gate.corpX.un:​3000/​student/​ansible-pull-gpo/​raw/​branch/​main/​start.sh | bash # curl http://​gate.corpX.un:​3000/​student/​ansible-pull-gpo/​raw/​branch/​main/​start.sh | bash
 +</​code>​
 +
 +===== Назначение пароля =====
 +<​code>​
 +# sudo -u git bash
 +
 +$  gitea --config /​etc/​gitea/​app.ini admin user change-password -u student -p strongpassword
 </​code>​ </​code>​
инструмент_gitea.1694395355.txt.gz · Last modified: 2023/09/11 04:22 by val