<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://sanity.acromatic.uk/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://sanity.acromatic.uk/feed.php">
        <title>Reinstalling Sanity buster</title>
        <description></description>
        <link>https://sanity.acromatic.uk/</link>
        <image rdf:resource="https://sanity.acromatic.uk/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-14T12:06:02+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:apache&amp;rev=1573209321&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:basics&amp;rev=1642177617&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:bootstrap&amp;rev=1648996835&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:bumping_ruby_version&amp;rev=1647020800&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:certbot&amp;rev=1614602231&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:pi-hole&amp;rev=1573149491&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:porridge&amp;rev=1620227688&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:production&amp;rev=1638292981&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:rails&amp;rev=1638981275&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:rbenv&amp;rev=1573223571&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:rvm&amp;rev=1638972219&amp;do=diff"/>
                <rdf:li rdf:resource="https://sanity.acromatic.uk/doku.php?id=buster:samba&amp;rev=1618524312&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://sanity.acromatic.uk/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Reinstalling Sanity</title>
        <link>https://sanity.acromatic.uk/</link>
        <url>https://sanity.acromatic.uk/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:apache&amp;rev=1573209321&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-08T10:35:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:apache</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:apache&amp;rev=1573209321&amp;do=diff</link>
        <description>for u in abridge.me.uk acromatic.uk dh.acromatic.uk hotelitoperdido.com pics.silencescape.net rails-testing sanity.silencescape.net silencescape.net survey.acromatic.uk threemenandalog.co.uk do
  mkdir $u
  chown slack.slack $u
  chmod 755 $u
done</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:basics&amp;rev=1642177617&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-14T16:26:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:basics</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:basics&amp;rev=1642177617&amp;do=diff</link>
        <description>Buster (10) Basics

Apt

Desktop machine

This has x as a dependency:
#  ruby-qt4 no longer a package in busterapt-get install git curl screen build-essential pkg-config ruby ruby-dev rubygems \
libmagickwand-dev jhead exiftool linux-headers-$(uname -r) make zsh \
perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \
dolphin vlc python-pip net-tools

gem install rmagick mini_exiftool pry awesome_print

pip install cheat</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:bootstrap&amp;rev=1648996835&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-03T14:40:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:bootstrap</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:bootstrap&amp;rev=1648996835&amp;do=diff</link>
        <description>Use Webpacker for Bootstrap/JS, and keep Sprokets for CSS and images (it is simpler).

Don&#039;t fuck about with where CSS etc goes.

Install:
yarn add boostrap jquery @popperjs/core
Add to javascript/packs/application.js:
// Bootstrap 5
import &#039;bootstrap&#039;
import &quot;bootstrap/dist/css/bootstrap&quot;</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:bumping_ruby_version&amp;rev=1647020800&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-03-11T17:46:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:bumping_ruby_version</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:bumping_ruby_version&amp;rev=1647020800&amp;do=diff</link>
        <description>*  Branch
	*  Figure out version numbers and install new ruby version and rails gem (new gemset for RVM, not for rbenv/chruby), change local ruby version
	*  Remove Gemfile.lock and strip version numbers from Gemfile apart from ruby and rails (can be repopulated from versions installed when creating a blank test app; grab this new Gemfile)</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:certbot&amp;rev=1614602231&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-01T12:37:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:certbot</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:certbot&amp;rev=1614602231&amp;do=diff</link>
        <description>Adding a domain

certbot as root will provide interactive options for adding domains.

Removing a domain
sudo certbot delete
Stack Exchange.

Automatic renewal

certbot renew will cycle through all known certificates and update those that are due for renewal.
# m h  dom mon dow   command
52  2   *   *   *    /usr/bin/certbot renew</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:pi-hole&amp;rev=1573149491&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-07T17:58:11+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:pi-hole</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:pi-hole&amp;rev=1573149491&amp;do=diff</link>
        <description>pi-hole

Install.  Configure iptables as instructed, ignore FirewallD.

Install from su -, otherwise usermod is not in your path (can&#039;t create pi-hole user).

August 2019 choices: OpenDNS (about 40% faster than Google, but similar to UNO (193.150.34.1, 91.230.181.1)), IP4+IP6, show everything.</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:porridge&amp;rev=1620227688&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-05-05T15:14:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:porridge</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:porridge&amp;rev=1620227688&amp;do=diff</link>
        <description>Deprecated: use README.md.

Ensure your user is a member of gpio.

Dependencies

Install

	*  RVM
	*  ruby
	*  Create a gemset that reflects .ruby-gemset (and &#039;rvm use 3.0.0@rails6131 --default ?)
	*  install rails into that gemset
	*  gem update bundle

rpi_gpio</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:production&amp;rev=1638292981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-11-30T17:23:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:production</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:production&amp;rev=1638292981&amp;do=diff</link>
        <description>&lt;del&gt;Passenger&lt;/del&gt;

Only works with Apache or nginx.  Installation guide.

Passenger can eat a bag of dicks for ARM-based servers.  Or for any servers for that matter.

Just run a production server using puma/systemd!

Annoyingly, there is no way to run puma on port 80 as a non-privileged user.  You have to</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:rails&amp;rev=1638981275&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-08T16:34:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:rails</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:rails&amp;rev=1638981275&amp;do=diff</link>
        <description>Installation

See rails or the docs.

Yarn and node.js

Yarn

“error Command “webpack” not found.” can be a Node.js incompatibility, the default Raspbian version is too old for Rails 6.

Webpacker
bin/rails webpacker:install
Gemfile

&lt;https://gist.github.com/repent/5ea82b12e4491ff28efedafa8c5ea82b&gt;

Schema and migrations mismatch</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:rbenv&amp;rev=1573223571&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-11-08T14:32:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:rbenv</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:rbenv&amp;rev=1573223571&amp;do=diff</link>
        <description>rbenv
git clone https://github.com/rbenv/rbenv.git ~/.rbenv

(.bashrc/.zshrc already taken care of in .shellrc)
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
(may also want the rehash plugin rbenv-gem-rehash)  rbenv-gem-rehash has been integrated into rbenv core, woop.</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:rvm&amp;rev=1638972219&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-08T14:03:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:rvm</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:rvm&amp;rev=1638972219&amp;do=diff</link>
        <description>The installation manual has used a dead key server recently, this works as of 12.21:
  gpg --keyserver keys.openpgp.org --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
It is meant to recognise an unprivileged user and install in ~/, but sometimes for me it fails trying to write to /usr, but you can force it like this:</description>
    </item>
    <item rdf:about="https://sanity.acromatic.uk/doku.php?id=buster:samba&amp;rev=1618524312&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-15T22:05:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>buster:samba</title>
        <link>https://sanity.acromatic.uk/doku.php?id=buster:samba&amp;rev=1618524312&amp;do=diff</link>
        <description>Samba

Install shit.
apt-get update
apt-get install libcups2 samba samba-common cups smbclient

(About 40mb of stuff on Raspbian.)
nano /etc/samba/smb.conf[global]
workgroup = PEAZONE

[homes]
browseable = yes
read only = no

Syncing passwords is still a ballache, so</description>
    </item>
</rdf:RDF>
