<?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=4351&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Success Story] Installing Devuan 3.1 (Beowulf)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4351</link>
		<description><![CDATA[The most recent posts in [Success Story] Installing Devuan 3.1 (Beowulf).]]></description>
		<lastBuildDate>Fri, 04 Jun 2021 13:32:25 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Success Story] Installing Devuan 3.1 (Beowulf)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=30019#p30019</link>
			<description><![CDATA[<div class="quotebox"><cite>golinux wrote:</cite><blockquote><div><p>Welcome to the forum starbreaker!&#160; Just one quick note about sources.list designations in Devuan.&#160; Since we are not always in sync with Debian releases, it is safer to use Codenames rather than Suite names.&#160; I not sure that &quot;unstable&quot; is filtered for banned packages so ceres might be safer.&#160; It&#039;s all explained <span class="bbu"><a href="https://www.devuan.org/os/releases" rel="nofollow">on this page</a></span>.</p></div></blockquote></div><p>Thanks for the advice, I updated from &quot;unstable&quot; to &quot;ceres&quot; and did a full-upgrade. There weren&#039;t any changes, so I guess I was lucky.</p><div class="quotebox"><cite>golinux wrote:</cite><blockquote><div><p>Nice to see that you&#039;re using gemini and your sig is oh, so true.</p></div></blockquote></div><p>That line was hilarious in 1987; today it&#039;s just tragicomic.</p>]]></description>
			<author><![CDATA[dummy@example.com (starbreaker)]]></author>
			<pubDate>Fri, 04 Jun 2021 13:32:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=30019#p30019</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Success Story] Installing Devuan 3.1 (Beowulf)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=30009#p30009</link>
			<description><![CDATA[<p>Welcome to the forum starbreaker!&#160; Just one quick note about sources.list designations in Devuan.&#160; Since we are not always in sync with Debian releases, it is safer to use Codenames rather than Suite names.&#160; I not sure that &quot;unstable&quot; is filtered for banned packages so ceres might be safer.&#160; It&#039;s all explained <span class="bbu"><a href="https://www.devuan.org/os/releases" rel="nofollow">on this page</a></span>.</p><p>Nice to see that you&#039;re using gemini and your sig is oh, so true.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Fri, 04 Jun 2021 04:45:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=30009#p30009</guid>
		</item>
		<item>
			<title><![CDATA[[Success Story] Installing Devuan 3.1 (Beowulf)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=30006#p30006</link>
			<description><![CDATA[<p>I just joined the forum after switching to Devuan. These are the notes I took during my installation. I thought I&#039;d share them in case they help others.</p><p><strong>***</strong></p><p>I&#039;ve been using Debian lately, but with a stripped down environment. For the most part I use a text console when logging in, and live mainly in Emacs. When I want to use Firefox, I have a X11 session with Openbox as my window mangler.</p><p>This being the case, Debian with its default systemd is overkill. However, Debian has a working console setup that provides UTF-8 support and lets me remap Caps Lock to Compose without using X11, so I want to keep it.</p><p>I&#039;m hoping the migrating from Debian to Devuan will let me reproduce my text-mode setup without having to depend on systemd. If this post seems disjointed, it&#039;s because I wrote it as notes to myself documenting my installation so I can reproduce it on other machines.</p><h5>Getting Devuan</h5><p>I followed the <a href="https://www.devuan.org/get-devuan" rel="nofollow">instructions on this page</a> to get the netinstall ISO image for Devuan 3.1 (Beowulf).</p><p>Afterward, I was able to prep a USB drive with the following command.</p><div class="codebox"><pre><code>sudo dd if=Downloads/devuan_beowulf_3.1.1_amd64_netinstall.iso of=/dev/sdb bs=1M status=progress</code></pre></div><h5>Installing Devuan</h5><p>The image I put on my flash drive supports both BIOS systems and UEFI systems, but I&#039;m old-school so I&#039;m sticking with BIOS. Since I don&#039;t dual boot with Windows, I don&#039;t need UEFI. I&#039;ll be installing on my desktop machine first. It&#039;s a Lenovo ThinkCentre M92P that was originally manufactured in 2012. I bought it from a refurbisher in 2017, added a SSD, and maxed out the RAM.</p><p>Setting language to English...</p><p>Setting country to United States...</p><p>Setting keymap to American (US) English...</p><p>The installer used DHCP on eth0. I&#039;ll want to go back and set a static IP of 192.168.1.100 since that&#039;s where my router expects to find this machine.</p><p>Setting hostname to [redacted]...</p><p>Setting domain name to [redacted]...</p><p>Not gonna write anything about my root password or user setup.</p><p>Setting time zone to [redacted]...</p><p>Using manual partitioning since I already have partitions and don&#039;t want /home to get nuked.</p><ul><li><p>/dev/sda1 is /: 128GB, ext4, bootable, noatime</p></li><li><p>/dev/sda2 is swap: 32GB</p></li><li><p>/dev/sda3 is /home: 840.2GB, ext4, noatime</p></li></ul><p>I&#039;m going to use deb.devuan.org as my archive mirror. I don&#039;t need a proxy.</p><p>Since Devuan asked me to opt into package installation telemetry using popularity-contest instead of making me opt out, I decided to opt in.</p><p>For software selection I&#039;m going with the following:</p><ul><li><p>Console productivity</p></li><li><p>print service</p></li><li><p>SSH server</p></li><li><p>standard system utilities</p></li></ul><p>I&#039;ve turned off &quot;Devuan desktop environment&quot; because I want a bare-bones graphical environment built from selected packages. As I mentioned earlier, I want to live mainly in the console (and GNU Emacs) with only occasional forays into X11.</p><p>I&#039;m going to stick with sysvinit as my init system. It works, and I&#039;m not doing anything fancy so it&#039;s good enough.</p><p>GRUB is going into the master boot record on /dev/sda.</p><p>Installation is complete. Time to reboot and install additional packages...</p><h5>First Boot</h5><p>Though I have an ordinary user, I&#039;m logging in as root first. I need to enable sudo for my ordinary user, and want to configure my console. I might as well do my package installation while I&#039;m at it.</p><p><strong>Console Setup</strong></p><p>To setup the console, I need to enter the following command.</p><div class="codebox"><pre><code>dpkg-reconfigure console-setup</code></pre></div><ul><li><p>encoding: UTF-8</p></li><li><p>character set: guess optimal</p></li><li><p>console font: TerminusBold</p></li><li><p>font size: 16x32 (framebuffer only)</p></li></ul><p>Next is keyboard configuration:</p><div class="codebox"><pre><code>dpkg-reconfigure keyboard-configuration</code></pre></div><ul><li><p>keyboard model: Generic 105-key PC (intl.)</p></li><li><p>keyboard layout: English (US)</p></li><li><p>key to function as AltGr: default</p></li><li><p>compose key: Caps Lock</p></li></ul><p><strong>Upgrading User Privileges</strong></p><p>To upgrade my regular user, I ran the following command.</p><div class="codebox"><pre><code>usermod -a -G sudo,audio,video,cdrom [username]</code></pre></div><p>Running visudo on Devuan shows that anybody in group &quot;sudo&quot; will be able to use sudo to escalate privileges as needed. Adding my username to group &quot;cdrom&quot; allows me to rip CDs using abcde.</p><p>Yes, I <em>still</em> buy CDs because I like to own my music and because most musicians get paid fuck-all on services like Spotify, Deezer, etc.</p><p><strong>Additional Packages</strong></p><p>I&#039;m adding the following to round out my experience.</p><ul><li><p>build-essential</p></li><li><p>git</p></li><li><p>emacs</p></li><li><p>libvterm-dev</p></li><li><p>cmake</p></li><li><p>neofetch</p></li><li><p>offline-imap</p></li><li><p>maildir-utils</p></li><li><p>mu4e</p></li><li><p>abcde</p></li><li><p>mpv</p></li><li><p>fonts-noto</p></li><li><p>fonts-noto-cjk</p></li><li><p>fonts-noto-color-emoji</p></li><li><p>fonts-firacode</p></li><li><p>openbox</p></li><li><p>lxappearance</p></li><li><p>comixcursors-righthanded-opaque</p></li><li><p>materia-gtk-theme</p></li><li><p>papirus-icon-theme</p></li><li><p>stalonetray</p></li><li><p>redshift-gtk</p></li><li><p>quodlibet</p></li><li><p>firefox-esr</p></li><li><p>xscreensaver-gl</p></li><li><p>dict</p></li><li><p>dictd</p></li><li><p>dict-devil</p></li><li><p>dict-elements</p></li><li><p>dict-foldoc</p></li><li><p>dict-gcide</p></li><li><p>dict-jargon</p></li><li><p>dict-vera</p></li><li><p>dict-wn</p></li><li><p>fortune-mod</p></li><li><p>fortune-anarchism</p></li><li><p>fortunes-bofh-excuses</p></li><li><p>fortunes-debian-hints</p></li><li><p>fortunes-off</p></li><li><p>gawk</p></li><li><p>m4</p></li><li><p>anarchism</p></li><li><p>gawk-doc</p></li><li><p>m4-doc</p></li></ul><p>I ended up installing &quot;task-desktop&quot; after all because my wife came up and asked me what I thought would happen if she needed to use this particular computer and XFCE (her preferred environment on GNU/Linux) wasn&#039;t available.</p><p>Which reminds me; I need to create a user account for her, too.</p><p><strong>Disabling Graphical Login</strong></p><p>Installing &quot;task-desktop&quot; also installed slim and enabled graphical login by default. That&#039;s not what I wanted, so this is how I fixed it.</p><div class="codebox"><pre><code>service stop slim
update-rc.d disable slim</code></pre></div><p><strong>Setting a Static IP on eth0</strong></p><p>Since my desktop doesn&#039;t use wifi and doesn&#039;t get moved (I missed out on LAN parties, LOL), there&#039;s no need for DHCP networking. Let&#039;s set up a static IP on the home LAN instead.</p><p>First, let&#039;s edit /etc/network/interface and delete everything after the &quot;allow hotplug eth0&quot; line. Then add the following to /etc/network/interface.d/eth0.</p><div class="codebox"><pre><code>iface eth0 inet static
      address 192.168.1.100
      netmask 255.255.255.0
      gateway 192.168.1.1</code></pre></div><p><strong>Problems with GNU Emacs 26.1, eww, SSL, and MELPA</strong></p><p>eww in GNU Emacs 26.1 can&#039;t access websites via HTTPS. Pulling package listings from MELPA is likewise a no go. I don&#039;t get paid enough to debug this, and Emacs 26.1 is old and busted anyway, so I might as well just upgrade to unstable.</p><p>This entails editing /etc/apt/sources.list.</p><div class="codebox"><pre><code>deb http://deb.devuan.org/merged unstable main contrib non-free
deb-src http://deb.devuan.org/merged unstable main contrib non-free</code></pre></div><p>Next, run the following commands and say yes to all questions.</p><div class="codebox"><pre><code>apt update
apt full-upgrade
reboot</code></pre></div><p>N.B.: Only run &quot;apt full-upgrade&quot; when changing releases. Otherwise, &quot;apt upgrade&quot; is fine. I rebooted because the migration upgraded my kernel version from 4.19 to 5.10.</p><p>(This post originally appeared in my <a href="https://portal.mozz.us/gemini/starbreaker.org/gemlog/06-03-installing-devuan-beowulf.gmi" rel="nofollow">gemini capsule</a>.)</p>]]></description>
			<author><![CDATA[dummy@example.com (starbreaker)]]></author>
			<pubDate>Fri, 04 Jun 2021 03:17:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=30006#p30006</guid>
		</item>
	</channel>
</rss>
