Changes

From SME Server
Jump to navigationJump to search
72 bytes added ,  13:40, 9 November 2023
m
Reverted edits by Trex (talk) to last revision by TrevorB
Line 1: Line 1: −
====Installation====
  −
<tabs container><tab name="For Rocky8">
   
This is how I installed the latest version of Gitea (https://gitea.io) on my smeserver build box (this is running smeserver v10.1 in serveronly)  
 
This is how I installed the latest version of Gitea (https://gitea.io) on my smeserver build box (this is running smeserver v10.1 in serveronly)  
 +
 +
{{Note box|There is a smeserver contrib for Git and gitweb, but I did not use these as they only provide older versions of git, whereas we wanted the latest versions for use with gitea}}
    
First we need to install git (latest stable version at the time)<syntaxhighlight lang="bash">
 
First we need to install git (latest stable version at the time)<syntaxhighlight lang="bash">
Line 19: Line 19:  
chown root:git /etc/gitea
 
chown root:git /etc/gitea
 
chmod 770 /etc/gitea
 
chmod 770 /etc/gitea
   
</syntaxhighlight>Now we want to set it up as a service and ensure that it will be restarted on reboot.<syntaxhighlight lang="bash">
 
</syntaxhighlight>Now we want to set it up as a service and ensure that it will be restarted on reboot.<syntaxhighlight lang="bash">
 
config set gitea service status enabled
 
config set gitea service status enabled
Line 47: Line 46:  
systemctl restart gitea
 
systemctl restart gitea
 
</syntaxhighlight>
 
</syntaxhighlight>
  −
  −
  −
</tab>
  −
<tab name="For Rocky 8">
  −
  −
</tab>
  −
</tabs>
  −
  −
   
[[Category:Developer]]
 
[[Category:Developer]]

Navigation menu