<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on</title><link>http://salopst.yearl.us/categories/linux/</link><description>Recent content in Linux on</description><generator>Hugo</generator><language>en</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Fri, 25 Mar 2022 06:45:16 +0000</lastBuildDate><atom:link href="http://salopst.yearl.us/categories/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing Fedora 36 Beta (GNOME 42) in QEMU/KVM</title><link>http://salopst.yearl.us/installing-fedora-36-gnome-42-qemu/</link><pubDate>Sat, 12 Mar 2022 09:04:06 +0000</pubDate><guid>http://salopst.yearl.us/installing-fedora-36-gnome-42-qemu/</guid><description>&lt;img src="http://salopst.yearl.us/uploads/2022-03-24-fedora-36-beta.png" alt="Fedora 36 Beta and GNOME 42" class="center" style="border-radius: 30px;" /&gt;&#10;&#10;&#10;&lt;p&gt;Since we already have Fedoa 35 installed in a KVM let&amp;rsquo;s just build off of this&amp;hellip; superquick instructions here: &lt;a href="https://stephen.yearl.us/moving-from-virtualbox-to-qemu-kvm/#quickemu"&gt;https://stephen.yearl.us/moving-from-virtualbox-to-qemu-kvm/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;We can simply&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf update&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf upgrade --refresh&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf autoremove&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf install dnf-plugin-system-upgrade -y&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf system-upgrade download --releasever&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;36&lt;/span&gt; --allowerasing&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dnf distro-sync&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dnf system-upgrade reboot&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;dnf system-upgrade clean&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="-dice"&gt;🎲🎲 Dice&lt;/h2&gt;</description></item><item><title>Moving from VirtualBox to QEMU/KVM</title><link>http://salopst.yearl.us/moving-from-virtualbox-to-qemu-kvm/</link><pubDate>Sat, 12 Mar 2022 09:04:06 +0000</pubDate><guid>http://salopst.yearl.us/moving-from-virtualbox-to-qemu-kvm/</guid><description>&lt;p&gt;Since the death of my 2012 Macbook Pro (very decent ROI there— $2400 amortized over 9 years!) last January, I&amp;rsquo;ve been running QEMU/KVM exclusively for virtualization needs. There are a couple of VirtalBox VDIs, however, hanging around on my system, having little Oracle parties. Now that I&amp;rsquo;ve determined never to buy another Macbook until Apple start to machine their machines to be a little more user-serviceable… vamos a convirtilos.&lt;/p&gt;&#10;&lt;h2 id="make-sure-all-the-linux-tools-are-installed-debian-host"&gt;Make sure all the Linux tools are installed (Debian host)&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager spice-client-gtk&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="make-a-folder-to-share-files-across-vms"&gt;Make a folder to share files across VMs&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mkdir ~/VM-share-files&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2&gt;&lt;/h2&gt;&#10;&lt;p&gt;&lt;strong&gt;VDI&lt;/strong&gt; (Virtual desktop infrastructure) is the drive image most widely supported by hypervisors. There are many other from other hypervisor solutions, but VDI is VirtuxBox&amp;rsquo;s default&lt;/p&gt;</description></item><item><title>How to create desktop files (shortcuts) for AppImages</title><link>http://salopst.yearl.us/how-to-create-desktop-files-shortcuts-for-appimages/</link><pubDate>Mon, 07 Mar 2022 07:46:40 +0000</pubDate><guid>http://salopst.yearl.us/how-to-create-desktop-files-shortcuts-for-appimages/</guid><description>&lt;h1 id="how-to-create-desktop-files-shortcuts-for-appimages"&gt;How to create .desktop files (shortcuts) for AppImages&lt;/h1&gt;&#10;&lt;h2 id="what-are-desktop-files"&gt;What are .desktop files?&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;.desktop&lt;/code&gt; files are &lt;a href="https://yaml.org/spec/"&gt;YAML&lt;/a&gt; formatted text files that the Destop Environment (DE) interprets to point to an executable file elsewhere on the system. In this context means that an installed application will be made available though various graphical menus and application launchers. Typically these desktop files are installed for you, but this is not the case for, as here, AppImages.&lt;/p&gt;</description></item><item><title>Inserting non ASCII chars in Linux: XCompose and AltGr</title><link>http://salopst.yearl.us/inserting-non-ascii-characters-in-linux/</link><pubDate>Sat, 05 Mar 2022 19:11:20 +0000</pubDate><guid>http://salopst.yearl.us/inserting-non-ascii-characters-in-linux/</guid><description>&lt;h1 id="inserting-non-ascii-chars-in-linux-xcompose-and-altgr"&gt;Inserting non ASCII chars in Linux: XCompose and AltGr&lt;/h1&gt;&#10;&lt;h2 id="xcompose"&gt;XCompose&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;/usr/share/X11/locale/compose&lt;/code&gt; contains thee compose table for various locales. Current locale is found with, err, &lt;code&gt;locale&lt;/code&gt;. Strange that /s.&lt;/p&gt;&#10;&lt;p&gt;The tables below contain a handy reference for my most commonly used (default) altGr inserts with exceptions for &amp;lsquo;European&amp;rsquo; diacritics, &lt;code&gt;altGR+'+e&lt;/code&gt; for e acute &amp;lsquo;é&amp;rsquo; etc. Since these are so commoly used&amp;ndash; and there are so many of them&amp;ndash; they are not worth listing.&lt;/p&gt;</description></item><item><title>Neomutt keybindings</title><link>http://salopst.yearl.us/neomutt-keybindings/</link><pubDate>Tue, 22 Feb 2022 07:39:02 +0000</pubDate><guid>http://salopst.yearl.us/neomutt-keybindings/</guid><description>&lt;h1 id="neomutt-keybindings"&gt;Neomutt keybindings&lt;/h1&gt;&#10;&lt;p&gt;One would think that a websearch for &amp;ldquo;neomutt keybindings&amp;rdquo; would turn up such a simple listing, but it does not. (Maybe that is &lt;em&gt;did not&lt;/em&gt; by the time you are reading this). Anyway, here we go.&lt;/p&gt;&#10;&lt;p&gt;Yes, it can be called up at any time using &lt;code&gt;?&lt;/code&gt; in Neomutt (vid. inf. 🤡), but, in many ways, this is just easier. For xample, you are editng your &lt;code&gt;muttrc&lt;/code&gt;, you&amp;rsquo;ve borked it somehow, and you can&amp;rsquo;t get into the program to get to the help screen.&lt;/p&gt;</description></item><item><title>Installing Pop Shell Tiling Window Manager on Fedora 35</title><link>http://salopst.yearl.us/installing-pop-shell-tiling-window-manager-on-fedora-35/</link><pubDate>Sun, 20 Feb 2022 02:44:35 +0000</pubDate><guid>http://salopst.yearl.us/installing-pop-shell-tiling-window-manager-on-fedora-35/</guid><description>&lt;h1 id="installing-pop-shell-tiling-window-manager-on-fedora-35"&gt;Installing Pop Shell Tiling Window Manager on Fedora 35&lt;/h1&gt;&#10;&lt;p&gt;Fedora gets updates to GNOME more quickly than does Pop which languishes on its Ubuntu base. This is a shame for Pop users (having to wait for their fix of shiny); it&amp;rsquo;s also a blessing, because, you know stability. Pop does have it&amp;rsquo;s lovely tiling extension, though, by default, but this has not been upstreamed to GNOME proper. Maybe because of the politics?&lt;/p&gt;</description></item><item><title>Installing LeftWM Tiling Window Manager</title><link>http://salopst.yearl.us/installing-leftwm-tiling-window-manager/</link><pubDate>Thu, 17 Feb 2022 20:33:14 +0000</pubDate><guid>http://salopst.yearl.us/installing-leftwm-tiling-window-manager/</guid><description>&lt;h1 id="installing-leftwm-tiling-window-manager"&gt;Installing LEFTWM Tiling Window Manager&lt;/h1&gt;&#10;&#10; &lt;img src="http://salopst.yearl.us/uploads/2022-02-17-leftwm-polybar-basic.png" alt="LeftWM Basic Polybar default set up" class="left" style="border-radius: 50px;" /&gt;&#10;&#10;&#10;&lt;p&gt;What is LeftWM?&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Left is a tiling window manager written in rust for stability and performance. The core of left is designed to do one thing and one thing well. Be a window manager.&#10;~~ &lt;a href="http://leftwm.org/"&gt;http://leftwm.org/&lt;/a&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Did you read that? RUST!. It is written in &lt;strong&gt;RUST&lt;/strong&gt;! Rust is the new &amp;ldquo;I use Arch, BTW&amp;rdquo;. Anyway.&lt;/p&gt;&#10;&lt;p&gt;Base system is PopOS 20.10, and rust was previously installed (rustup 1.24.3 (ce5817a94 2021-05-31)). Follow these instructions: &lt;a href="https://www.rust-lang.org/tools/install"&gt;https://www.rust-lang.org/tools/install&lt;/a&gt;&lt;/p&gt;</description></item><item><title>KMonad, Colemak, key rebinds, typing and such</title><link>http://salopst.yearl.us/kmonad-colemak-key-rebinds-typing-and-such/</link><pubDate>Mon, 13 Dec 2021 14:12:13 +0000</pubDate><guid>http://salopst.yearl.us/kmonad-colemak-key-rebinds-typing-and-such/</guid><description>&lt;h1 id="kmonad-colemak-key-rebinds-typing-and-such"&gt;KMonad, Colemak, key rebinds, typing and such&lt;/h1&gt;&#10;&lt;p&gt;I don&amp;rsquo;t know why— boredom, perhaps? A never ending desire to fill the void with &lt;em&gt;something&lt;/em&gt;, like Kierkegaard&amp;rsquo;s degenerate aesthete?— but I&amp;rsquo;m sort of interested in learning the Colemak keyboard layout. Perhaps it&amp;rsquo;s a feeble attempt to gloss over the fact that I never really learned to touch-type properly anyway. Quién sabe?&lt;/p&gt;&#10;&lt;p&gt;At the very least, I should learn just how much QWERTY muscle memory there is in my fingers and wrists (even &lt;a href="https://stephen.yearl.us/oopsies-iii/"&gt;the broken one&lt;/a&gt;, where the actions of digiti III and IV were transposed almost ten years ago). It was a little weird that the muscles that should move II are wired to IV and vice versa, but brain has sort of compensated for that. Nothing short of amazing really.&lt;/p&gt;</description></item><item><title>Changes to Pop!_OS (Ubuntu 21.04) after install</title><link>http://salopst.yearl.us/changes-to-ubuntu-21-04-after-install/</link><pubDate>Tue, 13 Jul 2021 09:30:20 +0100</pubDate><guid>http://salopst.yearl.us/changes-to-ubuntu-21-04-after-install/</guid><description>&lt;p&gt;This is essentially a list, and is not really meant to be run as a script. Perhaps this will change.&lt;/p&gt;&#10;&#10;&#10;&#10;&#10; &#10;&#10; &#10; &#10; &#10; &#10; &lt;script src="https://gist.github.com/salopst/89bf87ceecd666901d09841dbd0aef22.js" crossorigin="anonymous"&gt;&#10; &lt;/script&gt;</description></item><item><title>Make iCloud nativefier app for iCal on Linux</title><link>http://salopst.yearl.us/make-icloud-nativefier-app-a-for-ical-on-linux/</link><pubDate>Wed, 17 Feb 2021 13:00:00 +0000</pubDate><guid>http://salopst.yearl.us/make-icloud-nativefier-app-a-for-ical-on-linux/</guid><description>&lt;h3 id="nativefier"&gt;&lt;a href="https://github.com/nativefier/nativefier"&gt;Nativefier&lt;/a&gt;&lt;/h3&gt;&#10;&lt;p&gt;&amp;ldquo;&amp;hellip;is a command-line tool to easily create a desktop app for any web site with minimal configuration. Apps are wrapped by Electron (which uses Chromium under the hood) in an OS executable (.app, .exe, etc) for use on Windows, macOS and Linux.&amp;rdquo;&lt;/p&gt;&#10;&lt;p&gt;&amp;lsquo;Tis a beautiful app to be sure.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mkdir -p ~/tmp/icloud-nativefier-build-dir&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd ../tmp/icloud-nativefier-build-dir&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# get nice icon&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;wget https://i.imgur.com/m0abT4k.png -O icon.png&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;nativefier -p linux -a x64 -i icon.png --disable-context-menu --disable-dev-tools --single-instance https://www.icloud.com/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# App built to /home/yearluk/tmp/icloud-nativefier-build-dir/iCloud-linux-x64&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;mv ~/tmp/icloud-nativefier-build-dir/iCloud-linux-x64 ~/bin/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# add to $XDG_CONFIG_HOME/.shell_aliases.sh ...&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# alias icloud=&amp;#34;$HOME/bin/iCloud-linux-x64/iCloud&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cd ~/bin/iCloud-linux-x64&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# make the desktop file.... put in ~/.local/share/applications ... or /usr/share/applications/&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;vscodium icloud.desktop&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;chmod +x ./icloud.desktop&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="and-then-make-a-desktop-file"&gt;And then make a desktop file:&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;create &lt;code&gt;~/.local/share/applications/yearluk.nativifier.icloud.desktop&lt;/code&gt; :&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[Desktop Entry]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Encoding=UTF-8&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Version=1.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Type=Application&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Terminal=false&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Exec=/home/yearluk/bin/iCloud-linux-x64/iCloud&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Name=iCloud (nativefier)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Icon=/home/yearluk/bin/iCloud-linux-x64/resources/app/icon.png&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ sudo cp ~/.local/share/applications/yearluk.nativifier.icloud.desktop /usr/share/applications&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Run a desktop file from a terminal. If gtk3 is installed, run: &lt;code&gt;gtk-launch application.desktop&lt;/code&gt;&lt;/p&gt;</description></item><item><title>Migrating Photos.app from MacOS Sierra to…</title><link>http://salopst.yearl.us/migrating-photos-from-macos-sierra/</link><pubDate>Fri, 07 Apr 2017 00:00:00 +0000</pubDate><guid>http://salopst.yearl.us/migrating-photos-from-macos-sierra/</guid><description>Apple Photos is a beastly application, and identifyinf iles in it from another other than its own interface is an exercise in frustration. Soooo let&amp;rsquo;s rationalise that file structure&amp;hellip;</description></item><item><title>US Keyboard, UK settings: AKA where's my pipe?</title><link>http://salopst.yearl.us/us-keyboard-uk-settings-aka-wheres-my-pipe/</link><pubDate>Sun, 06 Jan 2019 05:57:12 +0000</pubDate><guid>http://salopst.yearl.us/us-keyboard-uk-settings-aka-wheres-my-pipe/</guid><description>&lt;p&gt;&lt;code&gt;SSH&lt;/code&gt;ed into a local Debian 9 server with a USB-attached US ANSI keyboard only to find the settings geared-up for a UK ISO keyboard. Not a biggie except for the location of the &amp;ldquo;|&amp;rdquo; &amp;hellip; pretty important as chars go 😋&lt;/p&gt;&#10;&lt;p&gt;So&amp;hellip;&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo install console-common&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo dpkg-reconfigure keyboard-configuration&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Follow all the things&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo service keyboard-setup restart&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;💰💰 PROFIT!!&lt;/p&gt;</description></item><item><title>Pi-hole DNS-level ad blocker</title><link>http://salopst.yearl.us/pi-hole-dns-level-ad-blocker/</link><pubDate>Sat, 16 Jun 2018 07:18:05 +0000</pubDate><guid>http://salopst.yearl.us/pi-hole-dns-level-ad-blocker/</guid><description>&lt;p&gt;Getting pretty annoyed with keeping track of which browser on which machine has which add blockers installed, so it&amp;rsquo;s time for a more holistic approach. Enter, stage left, the &lt;a href="https://pi-hole.net/"&gt;Pi-hole&lt;/a&gt;. In short it:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;&amp;hellip;acts as a forwarding DNS server, which means if it doesn’t know where a domain is, it has to forward your query to another server that does. When you install Pi-hole, it knows where the ad-serving domains are (because you tell it), so it doesn’t forward those requests.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Installing Solus linux on a Macbook Pro 9,1 (A1286): PART 2</title><link>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286-part-2/</link><pubDate>Thu, 11 May 2017 09:35:12 +0000</pubDate><guid>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286-part-2/</guid><description>&lt;ul&gt;&#10;&lt;li&gt;Part 1 simply booting the liveCD to even allow installation is here:&#10;&lt;a href="https://stephen.yearl.us/installing-solus-linux-on-a-macbook-pro-9"&gt;https://stephen.yearl.us/installing-solus-linux-on-a-macbook-pro-9&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Rebooting after install lead to, you guessed it, the Black Screen of Death again. Solus was installed, accepting all defaults (and therefore one humongous / paritiion), to /dev/sdb2, /dev/sda1 is the EFI partition on which &lt;a href="http://www.rodsbooks.com/refind/index.html"&gt;rEFInd&lt;/a&gt; was installed when running &lt;del&gt;OS X&lt;/del&gt; MacOS.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ lsblk&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sdb 8:16 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 477G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; disk &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;├─sdb2 8:18 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 473.2G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part /&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;└─sdb1 8:17 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 3.7G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &lt;span style="color:#f92672"&gt;[&lt;/span&gt;SWAP&lt;span style="color:#f92672"&gt;]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sdc 8:32 &lt;span style="color:#ae81ff"&gt;1&lt;/span&gt; 3.9G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; disk &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sda 8:0 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 465.8G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; disk &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;├─sda2 8:2 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 465G &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;├─sda3 8:3 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 619.9M &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;└─sda1 8:1 &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; 200M &lt;span style="color:#ae81ff"&gt;0&lt;/span&gt; part &#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="1-boot-back-into-macos-mount-efi-paritition"&gt;#1 Boot back into MacOS, mount EFI paritition:&lt;/h4&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ sudo /Users/yearluk/Downloads/refind-bin-0.10.7/mountesp&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cd /Volumes/ESP/loader/entries&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ nano Solus-lts-4.9.22-17.conf&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="2-change"&gt;#2 CHANGE:&lt;/h4&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;title Solus 2017.04.18.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;linux /EFI/com.solus-project/kernel-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;initrd /EFI/com.solus-project/initrd-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;options root&lt;span style="color:#f92672"&gt;=&lt;/span&gt;PARTUUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;c96bc351-b364-4c61-9fe6-8489f0ceec8f quiet ro splash resume&lt;span style="color:#f92672"&gt;=&lt;/span&gt;UUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;8f7d1509-fe95-4e47-8017-41611ad0a14c&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="to"&gt;TO:&lt;/h4&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;title Solus 2017.04.18.0&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;linux /EFI/com.solus-project/kernel-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;initrd /EFI/com.solus-project/initrd-com.solus-project.lts.4.9.22-17&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;options root&lt;span style="color:#f92672"&gt;=&lt;/span&gt;PARTUUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;c96bc351-b364-4c61-9fe6-8489f0ceec8f ro nomodeset nouveau.blacklist&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;1&lt;/span&gt; resume&lt;span style="color:#f92672"&gt;=&lt;/span&gt;UUID&lt;span style="color:#f92672"&gt;=&lt;/span&gt;8f7d1509-fe95-4e47-8017-41611ad0a14c text &lt;span style="color:#ae81ff"&gt;3&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="3-repeat-steps-3-through-8-from-part-1-7-this-time-was-modprobe-nvidia"&gt;#3 Repeat steps #3 through #8 from &lt;a href="http://stephen.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286/"&gt;Part 1&lt;/a&gt; (#7 this time was &lt;code&gt;modprobe nvidia&lt;/code&gt;)&lt;/h4&gt;&#10;&lt;h4 id="4-update-entire-system"&gt;#4 update entire system&lt;/h4&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo eopkg up&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="5-using-the-apple-bootloader-hold-opt-key-whilst-booting-to-boot-boots-graphically-now"&gt;#5 using the Apple bootloader [hold opt key whilst booting] to boot&amp;hellip; boots graphically now.&lt;/h4&gt;</description></item><item><title>Installing Solus linux on a Macbook Pro 9,1 (A1286)</title><link>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286/</link><pubDate>Mon, 08 May 2017 07:03:14 +0000</pubDate><guid>http://salopst.yearl.us/installing-solus-linux-on-a-macbook-pro-91-a1286/</guid><description>&lt;p&gt;I&amp;rsquo;ve been sunning[*] &lt;a href="https://getsol.us"&gt;Solus&lt;/a&gt; as guest in a Parallels virtual machine on a macOS Sierra 10.12.4 host for a couple of months now, and I am delighted and impressed, so impressed I &lt;del&gt;bought the company&lt;/del&gt;[**] wanted to install this on Apple iron. Solus installed beautifully on an 2010 Lenovo X201 and on a new and cheap and plastically Dell Inspiron 14-3452, so it should have no probs installing on a mid-2012, 15.4&amp;quot; Hi-Res MBP. Right? Right? Wrong!&lt;/p&gt;</description></item><item><title>Create a bootable ISO of macOS Sierra</title><link>http://salopst.yearl.us/create-a-bootable-macos-sierra-iso/</link><pubDate>Mon, 17 Apr 2017 03:38:31 +0000</pubDate><guid>http://salopst.yearl.us/create-a-bootable-macos-sierra-iso/</guid><description>&lt;p&gt;Playing with Solus recently got me to thinking that maybe I could live again in a Linux world, but rather than running Linux in a Virtual Machine (that would currently be Parallels 12 for me), what if I dit it the other way around? That is, run OS X 10.12.4 (macOS Sierra) as a guest and Linux as a host&amp;hellip;&lt;/p&gt;&#10;&lt;p&gt;Download MacOS Sierra from AppStore.&lt;/p&gt;&#10;&lt;p&gt;Reboot.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil attach /Applications/Install&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;macOS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Sierra.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ asr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ rm /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/System/Installation/Packages&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cp -rp /Volumes/install_app/Packages /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/System/Installation/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/BaseSystem.chunklist&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/BaseSystem.dmg&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil detach /Volumes/install_app&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil detach /Volumes/OS&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;X&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;Base&lt;span style="color:#ae81ff"&gt;\ &lt;/span&gt;System/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ hdiutil convert /tmp/Sierra.cdr.dmg -format UDTO -o /tmp/Sierra.iso&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;❯ mv /tmp/Sierra.iso.cdr ~/Desktop/Sierra.iso&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I grabbed this off the internets somewhere, and I do not know whence. Thanks to the original author, whoever &lt;del&gt;she&lt;/del&gt; he may be.&#10;&lt;strong&gt;EDIT [2017-05-08]&lt;/strong&gt;: Found you: &lt;a href="https://gist.github.com/arobb/447a962af4f07ef81e79987d686275e5"&gt;https://gist.github.com/arobb/447a962af4f07ef81e79987d686275e5&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Remapping Macbook Pro eject key under Solus linux</title><link>http://salopst.yearl.us/remapping-macbook-pro-eject-key-under-solus-linux/</link><pubDate>Sun, 19 Mar 2017 12:35:43 +0000</pubDate><guid>http://salopst.yearl.us/remapping-macbook-pro-eject-key-under-solus-linux/</guid><description>&lt;h3 id="disable-eject-in-keyboard-settings-it-is-the-first-entry-under-sound-and-media"&gt;Disable &amp;ldquo;Eject&amp;rdquo; in keyboard settings. It is the first entry under &amp;ldquo;Sound and Media&amp;rdquo;&lt;/h3&gt;&#10;&lt;h3 id="create-a-file-xmodmap-adding-the-line"&gt;create a file, &lt;strong&gt;~/.Xmodmap&lt;/strong&gt;, adding the line:&lt;/h3&gt;&#10;&lt;p&gt;&lt;code&gt;keycode 151 = BackSpace&lt;/code&gt;&lt;/p&gt;&#10;&lt;h3 id="run"&gt;run&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;xmodmap ~/.Xmodmap&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="add-that-to-wherever-your-startup-scripts-are-for-persistence"&gt;add that to wherever your startup scripts are for persistence&lt;/h3&gt;&#10;&lt;p&gt;The keycode mappings I got from &lt;strong&gt;xev&lt;/strong&gt;, kind of like &amp;ldquo;keyboard viewer&amp;rdquo; in OS X. Its available in the Solus repo:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo eopkg install xev&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Librevault on Solus OS</title><link>http://salopst.yearl.us/librevault-on-solus-os/</link><pubDate>Sat, 11 Mar 2017 03:20:04 +0000</pubDate><guid>http://salopst.yearl.us/librevault-on-solus-os/</guid><description>&lt;p&gt;Still playing with &lt;a href="https://getsol.us"&gt;Solus OS&lt;/a&gt;, and liking it more and more. The &lt;a href="https://wiki.solus-project.com/Package_Management"&gt;eopkg&lt;/a&gt; repository of software is a little thin in comparison to the likes of Debian-based apt-get and Arch&amp;rsquo;s AUR, but most of the things I want are there. And if they are not there I am thinking maybe I should review my needs&amp;hellip; I am in the process of planning for a life without OS X/MacOS after all, so a prefect time for reflection. This is also part of the reason I am attracted to Solus&amp;hellip; because not everything is there, and because not everything is answered by a quick google search, I have to take some effort to actually find things out again. Some nostalgia there.&lt;/p&gt;</description></item><item><title>Mounting an iOS 10.2 device in Solus OS</title><link>http://salopst.yearl.us/mounting-an-ios-10-2-device-in-solus-os/</link><pubDate>Tue, 07 Mar 2017 03:12:21 +0000</pubDate><guid>http://salopst.yearl.us/mounting-an-ios-10-2-device-in-solus-os/</guid><description>&lt;h2 id="tldr"&gt;tl;dr&lt;/h2&gt;&#10;&lt;p&gt;I feel that after ten years I can no longer countenance the purchase of a new Apple laptop should my existing machine shit the bed. All that nonsense associated with the race to thinness and the resultant lack of expandability of the newer machines, where everything is soldered or glued into place, has me pretty upset. Oh, and the OS itself has been getting more annoying with each release since Snow Leopard. So I am planning for a day without OS X/ MacOS. After a few distro trials (ongoing) I&amp;rsquo;ve come down to:&lt;/p&gt;</description></item><item><title>SSH key pair authentication</title><link>http://salopst.yearl.us/ssh-key-pair-authentication/</link><pubDate>Sun, 14 Dec 2014 13:20:54 +0000</pubDate><guid>http://salopst.yearl.us/ssh-key-pair-authentication/</guid><description>&lt;p&gt;Well, flummery. It&amp;rsquo;s been a while since I had to do this, so here, future self, some awesome notes&amp;hellip;&lt;/p&gt;&#10;&lt;h3 id="local"&gt;LOCAL&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ ssh-keygen -t rsa -b &lt;span style="color:#ae81ff"&gt;4096&lt;/span&gt; -f ~/.ssh/id_rsa_4096&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ scp -P &lt;span style="color:#ae81ff"&gt;2222&lt;/span&gt; 192.168.0.108:/home/yearluk/.ssh/yearluk.ehecatl.pub&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="ssh-to-remote"&gt;SSH to REMOTE&amp;hellip;&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ cat ~/.ssh/yearluk.ehecatl.pub &amp;gt;&amp;gt; authorized_keys&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Installing Postfix and Dovecot on Debian 6 (Squeeze)</title><link>http://salopst.yearl.us/installing-postfix-and-dovecot-on-debian-6-squeeze/</link><pubDate>Sat, 03 Mar 2012 19:17:21 +0000</pubDate><guid>http://salopst.yearl.us/installing-postfix-and-dovecot-on-debian-6-squeeze/</guid><description>&lt;p&gt;Add MX records (A and AAAA) to zone file for vps.yearl.us at HE&#10;Primary files involved:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;/etc/postfix/main.cf&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;/etc/postfix/sasl/smtpd.conf&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;/etc/postfix/sasl/smtpd.conf&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;start/stop&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;/etc/init.d/postfix restart&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;/etc/init.d/saslauthd start&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;/etc/init.d/dovecot restart&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;POSTFIX (send)&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ sudo apt-get update&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ sudoapt-get install postfix&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$dpkg-reconfigure postfix&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ sudo sudo apt-get install mailutils&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ sudo mkdir /etc/skel/mail/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ mkdir ~/mail/&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ su&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# mkdir ~/mail/&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;test send:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ mail -s Subject_Line mail_addr@yearl.us&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;testing new mail. This is the body .&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$$mail -s &lt;span style="color:#e6db74"&gt;&amp;#34;log file&amp;#34;&lt;/span&gt; mail_addr@yearl.us &amp;lt; /etc/nginx/nginx.conf&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;[&lt;/span&gt;CTRL+D to send&lt;span style="color:#f92672"&gt;]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Boomshaka!&lt;/p&gt;</description></item><item><title>Installing OpenVPN on Debian 6 (Squeeze)</title><link>http://salopst.yearl.us/installing-openvpn-on-debian-6-squeeze/</link><pubDate>Tue, 28 Feb 2012 21:54:30 +0000</pubDate><guid>http://salopst.yearl.us/installing-openvpn-on-debian-6-squeeze/</guid><description>&lt;h3 id="1-ensure-everything-up-to-date-as--"&gt;1. Ensure everything up to date (as / ):&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;#apt-get update&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;#apt-get upgrade --show-upgraded&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;&#10;&lt;h3 id="2-install-openvpn-and-the-udev-dependency"&gt;2. Install OpenVPN and the udev dependency&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;#apt-get install openvpn udev&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;&#10;&lt;h3 id="3-configure-public-key-infrastructure-variables"&gt;3. Configure Public Key Infrastructure Variables&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$nano /etc/openvpn/easy-rsa/2.0/vars&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;edited the default to (roughly as CA_Cert: ipv6_yearl.us.txt NB to update CACerts): &#10;export KEY_COUNTRY=&amp;#34;US&amp;#34;&#10;export KEY_PROVINCE=&amp;#34;MA&amp;#34;&#10;export KEY_CITY=&amp;#34;Newton&amp;#34;&#10;export KEY_ORG=&amp;#34;US.Yearl&amp;#34; #perhaps should have used myname@yearl.us? &#10;export KEY_EMAIL=&amp;#34;myname@gmail.com&amp;#34;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;hr&gt;&#10;&lt;h3 id="4-initialize-pki-issued"&gt;4. initialize PKI Issued&lt;/h3&gt;&#10;&lt;p&gt;All 3 commands in sequence. Unlike CA_Cert left certain fields not present in &lt;code&gt;/etc/openvpn/easy-rsa/2.0/vars&lt;/code&gt; blank. Not necessary anyway. The point is to create a DN (Distinguished Name).&lt;/p&gt;</description></item><item><title>VPS Scratch</title><link>http://salopst.yearl.us/vps-scratch/</link><pubDate>Sun, 12 Feb 2012 20:51:13 +0000</pubDate><guid>http://salopst.yearl.us/vps-scratch/</guid><description>&lt;p&gt;New VPS ordered today: £7 per quarter, 256MB OpenVZ, Deb. 5 (Lenny), 1 ipv4, 10 ipv6 from &lt;a href="http://www.allsimple.net/"&gt;allsimple.net&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;general setup:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;update, upgrade-stable, update&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;change root&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;disable root ssh&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;change ssh port&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;add vps label to yearl.us zonefile; AAAA only&amp;ndash; 1st ipv6 addr&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;add usr&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;add sudo&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;mail &amp;ndash; ipv6 only?&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;rdns&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;iptables&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;certs&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;WWW &amp;ndash; nginix?&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;mySQL | postgres&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;PHP&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;VPN&amp;ndash; 4 or 6?&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;backups/ vm export&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;hr&gt;&#10;&lt;h3 id="1-upgrade--update"&gt;1. Upgrade &amp;amp; update&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;#apt-get update&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;#apt-get upgrade&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;#apt-get dist-upgrade #apt-get update&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Boomshaka!&lt;/strong&gt; == Debian 6 (squeeze), but after upgrade terminal is in Spanish.&lt;/p&gt;</description></item></channel></rss>