<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6618&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HowTo] Install Gitea on Devuan 5]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6618</link>
		<description><![CDATA[The most recent posts in [HowTo] Install Gitea on Devuan 5.]]></description>
		<lastBuildDate>Sun, 05 Apr 2026 08:18:15 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [HowTo] Install Gitea on Devuan 5]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63026#p63026</link>
			<description><![CDATA[<p>I have following your steps and tested a Gitea installation on Devuan 6.1 - Excalibur and it works, including the service file. I used SQLite as a storage.<br />Thanks for sharing this!</p>]]></description>
			<author><![CDATA[dummy@example.com (ovi)]]></author>
			<pubDate>Sun, 05 Apr 2026 08:18:15 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63026#p63026</guid>
		</item>
		<item>
			<title><![CDATA[[HowTo] Install Gitea on Devuan 5]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49992#p49992</link>
			<description><![CDATA[<p>Kernel version: <span class="bbc">6.1.0-18-amd64</span><br />Binary file: <span class="bbc">gitea-1.21.11-linux-amd64</span><br />Partition scheme: <span class="bbc">/ 12%, swap 12%, /home -1</span><br />Does these matters? I don&#039;t know but I have tried this steps only on systems having exactly the same specs like above, so if you get any error message related for example to swap memory and you have only 1GB for swap then I won&#039;t know what to tell you but, increase the size for your swap partition and try again.</p><p>Update repository</p><div class="codebox"><pre><code>sudo apt -y update</code></pre></div><p>Install git, curl, bash-completion and nano(optional) editor </p><div class="codebox"><pre><code>sudo apt -y install git curl bash-completion nano</code></pre></div><p>Create user for git</p><div class="codebox"><pre><code>sudo adduser \--system \-shell /bin/bash \--gecos &#039;Git Version Control&#039; \--group \--disabled-password \--home /home/git \git</code></pre></div><p>&#160; &#160;<br />Install mariadb-server</p><div class="codebox"><pre><code>sudo apt -y install mariadb-server</code></pre></div><p>To secure database execute the command below and (1. skip the root password <br />but 2. remove anonymous users=Y, and 3. disallow root login remotely=Y, <br />4. remove test databases=Y and 5. reload privilege tables=Y, done.</p><div class="codebox"><pre><code>sudo mysql_secure_installation</code></pre></div><p>Create database for gitea, change the StrOngPassw0rd value and please<br />save/write down/remember this password since you will need it to<br />configure the Gitea server via web.</p><div class="codebox"><pre><code>sudo mysql -u root -p</code></pre></div><div class="codebox"><pre><code>CREATE DATABASE gitea;</code></pre></div><div class="codebox"><pre><code>GRANT ALL PRIVILEGES ON gitea.* TO &#039;gitea&#039;@&#039;localhost&#039; IDENTIFIED BY &quot;StrOngPassw0rd&quot;;</code></pre></div><div class="codebox"><pre><code>FLUSH PRIVILEGES;</code></pre></div><div class="codebox"><pre><code>QUIT;</code></pre></div><p>Download gitea linux binary</p><div class="codebox"><pre><code>curl -s  https://api.github.com/repos/go-gitea/gitea/releases/latest |grep browser_download_url  |  cut -d &#039;&quot;&#039; -f 4  | grep &#039;\linux-amd64$&#039; | wget -i -</code></pre></div><p>Change mode to executable and move to destination folder</p><div class="codebox"><pre><code>chmod +x gitea-*-linux-amd64</code></pre></div><div class="codebox"><pre><code>sudo mv gitea-*-linux-amd64 /usr/local/bin/gitea</code></pre></div><p>Confirm gitea it&#039;s installed properly execute</p><div class="codebox"><pre><code>gitea --version</code></pre></div><p>Create directories for gitea setup, yes, I use -R to create new folders also</p><div class="codebox"><pre><code>sudo mkdir -p /etc/gitea /var/lib/gitea/{custom,data,indexers,public,log}</code></pre></div><div class="codebox"><pre><code>sudo chown -R git:git /var/lib/gitea/{custom,data,indexers,log}</code></pre></div><div class="codebox"><pre><code>sudo chmod -R 750 /var/lib/gitea/{custom,data,indexers,log}</code></pre></div><div class="codebox"><pre><code>sudo chown root:git /etc/gitea</code></pre></div><div class="codebox"><pre><code>sudo chmod 770 /etc/gitea</code></pre></div><p>Download gitea service file and nginx config file<br /><a href="https://drive.proton.me/urls/WPHKAVNY6C#bojwayYgFzWF" rel="nofollow">https://drive.proton.me/urls/WPHKAVNY6C#bojwayYgFzWF</a></p><p>Extract gitea service file and nginx conf file</p><div class="codebox"><pre><code>tar -xf gitea-install-devuan5-files.tar.gz</code></pre></div><p>At this point you can and always should inspect the extracted files before to use them</p><div class="codebox"><pre><code>cat gitea.service</code></pre></div><div class="codebox"><pre><code>cat gitea.conf</code></pre></div><p>You can change the domain name and port for your gitea server on gitea.conf<br />change listen and server_name values to whatever you want.</p><p>Create service for gitea</p><div class="codebox"><pre><code>sudo mv gitea.service /etc/init.d/gitea</code></pre></div><p>Make it executable</p><div class="codebox"><pre><code>sudo chmod +x /etc/init.d/gitea</code></pre></div><p>Update inid.d services</p><div class="codebox"><pre><code>sudo update-rc.d gitea defaults</code></pre></div><p>Start gitea service</p><div class="codebox"><pre><code>sudo service gitea start</code></pre></div><p>Verify that gitea service is running, <br />valid options: start, stop, status, restart</p><div class="codebox"><pre><code>sudo service gitea status</code></pre></div><p>Install nginx web server</p><div class="codebox"><pre><code>sudo apt -y install nginx</code></pre></div><p>If and only if ufw it&#039;s enabled, then:</p><div class="codebox"><pre><code>sudo ufw allow 80/tcp</code></pre></div><div class="codebox"><pre><code>sudo ufw allow 443/tcp</code></pre></div><p>Create nginx config file for gitea</p><div class="codebox"><pre><code>sudo mv gitea.conf /etc/nginx/conf.d/</code></pre></div><p>Restart nginx service</p><div class="codebox"><pre><code>sudo service nginx restart</code></pre></div><p>Final steps:<br />1. Open http(s)://localhost on your web browser<br />2. Type the same password as when you changed it from StrOngPassw0rd to whateveryou changed it to.<br />3. Change the &quot;Site Title&quot; to whatever you want to name your repository server.<br />4. Set the email server if you have one, or leave it empty if not.<br />5. Set the options for Server and Third-Party Service Settings.<br />6. Set your Administrator Account Settings.<br />7. Click &quot;Install Gitea&quot;.<br />8. The tea cup animation with the text &quot;Loading...&quot; is displayed, wait.<br />9. Viola, all done, Gitea Server ready.</p><p>Credits to <a href="https://computingforgeeks.com/install-gitea-git-service-on-debian/" rel="nofollow">https://computingforgeeks.com/install-g … on-debian/</a><br />Adapted to work on Devuan 5 by joser for dev1galaxy.org</p>]]></description>
			<author><![CDATA[dummy@example.com (joser)]]></author>
			<pubDate>Tue, 21 May 2024 01:17:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49992#p49992</guid>
		</item>
	</channel>
</rss>
