<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2009-04-20:105601</id>
  <title>Busy hands | Disquiet mind</title>
  <subtitle>Craft and Tech Notebook</subtitle>
  <author>
    <name>chebe</name>
  </author>
  <link rel="alternate" type="text/html" href="https://chebe.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://chebe.dreamwidth.org/data/atom"/>
  <updated>2022-12-19T01:15:03Z</updated>
  <dw:journal username="chebe" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2009-04-20:105601:137961</id>
    <link rel="alternate" type="text/html" href="https://chebe.dreamwidth.org/137961.html"/>
    <link rel="self" type="text/xml" href="https://chebe.dreamwidth.org/data/atom/?itemid=137961"/>
    <title>Setting up your own mastodon instance</title>
    <published>2022-12-17T12:05:02Z</published>
    <updated>2022-12-19T01:15:03Z</updated>
    <category term="linux"/>
    <category term="mastodon"/>
    <category term="raspberrypi"/>
    <category term="server"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">So simply joining an existing mastodon instance is not enough for you, you want control? Set up your own! The official documentation has &lt;a href="https://docs.joinmastodon.org/user/run-your-own/"&gt;a page&lt;/a&gt; about that, including listing a bunch of specialised hosting providers that will do this installation bit for you. But we like the more difficult road with the rewarding learning curve around here. Make sure you get &lt;a href="https://chebe.dreamwidth.org/137640.html"&gt;get your linux box prepared&lt;/a&gt;, and we'll get into setting up a mastodon instance on local hardware, running linux, without docker, and without cloud storage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 1; Get to installing mastodon&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137961.html#cutid1"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 2; Get to customising mastodon&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___2" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137961.html#cutid2"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___2" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 3; Should you set up an instance for other people?&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___3" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137961.html#cutid3"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___3" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=chebe&amp;ditemid=137961" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2009-04-20:105601:137640</id>
    <link rel="alternate" type="text/html" href="https://chebe.dreamwidth.org/137640.html"/>
    <link rel="self" type="text/xml" href="https://chebe.dreamwidth.org/data/atom/?itemid=137640"/>
    <title>Setting up a server on your own hardware, from home, using dynamic dns</title>
    <published>2022-12-12T16:10:00Z</published>
    <updated>2022-12-12T17:23:35Z</updated>
    <category term="ddclient"/>
    <category term="dns"/>
    <category term="server"/>
    <category term="linux"/>
    <category term="certbot"/>
    <dw:security>public</dw:security>
    <dw:reply-count>1</dw:reply-count>
    <content type="html">I don't know why I left it so long to figure out how to do this. Yes, running everything yourself on a home connection is less stable than using a hosted service. But in the spirit of making the internet more chaotic, and a bit grungier, let's do this.&lt;br /&gt;&lt;br /&gt;My set-up is quite specific. I bought (though rented is more correct) a domain, example.com, through my regular domain registrar. I want to run a subdomain, server.example.com, from hardware under the tv. I do not have a static ip, so I'm going to need a dynamic dns provider. I'm using &lt;a href="https://dynv6.com/"&gt;dynv6&lt;/a&gt;, because they were the first provider recommended to me. (The irony being that in the course of this project I discovered my ISP (Internet Service Provider)'s router doesn't let me use ipv6 at all.) The hardware is something I don't want to talk about right now, but it's a linux box running a variant of debian. And I'm also using a hosted email provider that lets you bring your own domain. All accounts created and services paid for. But how does it all go together?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 1; Create the subdomain, and delegate it&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137640.html#cutid1"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 2; Set up your hardware on your network&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___2" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137640.html#cutid2"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___2" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 3; Set up &lt;code&gt;ddclient&lt;/code&gt; on your hardware&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___3" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137640.html#cutid3"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___3" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 4; Optionally test it's all working&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___4" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137640.html#cutid4"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___4" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 5; Optionally set up email DNS records as well&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___5" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137640.html#cutid5"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___5" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 6; Install your server software | Choose your own adventure style&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Whatever you are planning on doing, like &lt;code&gt;apache2&lt;/code&gt; or &lt;code&gt;nginx&lt;/code&gt;, do it here. Also now is a time to think about things like &lt;code&gt;iptables&lt;/code&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step 7; Optionally run &lt;code&gt;certbot&lt;/code&gt;&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___6" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://chebe.dreamwidth.org/137640.html#cutid6"&gt;Details&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___6" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;li&gt;Step finally;&lt;/li&gt;&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;Enjoy running your server!&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=chebe&amp;ditemid=137640" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
