ezup.dev

Source Code of Dash Eclipse's Personal Site (ezup.dev)
git clone git://ezup.dev/ezup.dev.git
Log | Files | Refs | README | LICENSE

commit 5044223e4ee8641b2b9bc6062eb9bfe4d7fa79de
parent 47e8ccbbd3ef262b3de114b154ebd2ab64e004c6
Author: Dash Eclipse <dash@ezup.dev>
Date:   Sat, 14 Nov 2020 21:49:29 +0000

Update homepage

Diffstat:
M.web/blog/create-and-use-openpgp-keys.html | 26+++++++++++++-------------
M.web/blog/fat32-partitionless-voidlinux-liveusb.html | 54+++++++++++++++++++++++++++---------------------------
M.web/blog/index.html | 4++--
M.web/blog/rss.xml | 4++--
M.web/index.html | 6+++---
Mindex.html | 6+++---
Mposts/rss.org | 4++--
7 files changed, 52 insertions(+), 52 deletions(-)

diff --git a/.web/blog/create-and-use-openpgp-keys.html b/.web/blog/create-and-use-openpgp-keys.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> -<!-- 2020-11-09 --> +<!-- 2020-11-14 --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Create and Use OpenPGP Keys</title> @@ -37,8 +37,8 @@ In this article I'm gonna explain how do I generate and use OpenPGP keys. </p> -<section id="outline-container-orgeb29ad5" class="outline-2"> -<h2 id="orgeb29ad5"><span class="section-number-2">1</span> Install GnuPG</h2> +<section id="outline-container-orge2746c0" class="outline-2"> +<h2 id="orge2746c0"><span class="section-number-2">1</span> Install GnuPG</h2> <div class="outline-text-2" id="text-1"> <p> On macOS you can use brew to install GnuPG <code>brew install gnupg</code>, you will also need <code>pinentry-mac</code> package if you are going to use it with GUI programs such like Thunderbird with Eng @@ -46,8 +46,8 @@ On macOS you can use brew to install GnuPG <code>brew install gnupg</code>, you </div> </section> -<section id="outline-container-org3738e2d" class="outline-2"> -<h2 id="org3738e2d"><span class="section-number-2">2</span> OpenPGP key generation</h2> +<section id="outline-container-orgfa08bab" class="outline-2"> +<h2 id="orgfa08bab"><span class="section-number-2">2</span> OpenPGP key generation</h2> <div class="outline-text-2" id="text-2"> <p> Beside <code>gpg --full-generate-key</code>, you can also create a key with gpg in batch mode<sup><a id="fnr.1" class="footref" href="#fn.1">1</a></sup>. @@ -84,8 +84,8 @@ gpg --batch --generate-key first-last.txt </div> </section> -<section id="outline-container-orgd51658a" class="outline-2"> -<h2 id="orgd51658a"><span class="section-number-2">3</span> Use subkeys</h2> +<section id="outline-container-org3dc790d" class="outline-2"> +<h2 id="org3dc790d"><span class="section-number-2">3</span> Use subkeys</h2> <div class="outline-text-2" id="text-3"> <p> I use encryption and signing subkeys instead of just use one key for everything, because it's safer when you keep your master key elsewhere and use different keys for different purposes. Debian also recommend to use subkeys.<sup><a id="fnr.2" class="footref" href="#fn.2">2</a></sup> @@ -104,8 +104,8 @@ gpg --edit-key &lt;key-id&gt; passwd </pre> </div> </div> -<div id="outline-container-orgb241ab8" class="outline-3"> -<h3 id="orgb241ab8"><span class="section-number-3">3.1</span> Thunderbird and Enigmail</h3> +<div id="outline-container-org06e944d" class="outline-3"> +<h3 id="org06e944d"><span class="section-number-3">3.1</span> Thunderbird and Enigmail</h3> <div class="outline-text-3" id="text-3-1"> <p> I use Thunderbird with Enigmail to send and receive PGP encrypted emails, you can follow <a href="https://ssd.eff.org/en/module/how-use-pgp-mac-os-x">the guide by EFF SSD</a> to set it up. Note you need to install <code>pinentry-mac</code> the package to use GPG with such GUI programs. @@ -117,8 +117,8 @@ I use Thunderbird with Enigmail to send and receive PGP encrypted emails, you ca </div> </div> </div> -<div id="outline-container-orgd71ee3f" class="outline-3"> -<h3 id="orgd71ee3f"><span class="section-number-3">3.2</span> Git</h3> +<div id="outline-container-org75c3354" class="outline-3"> +<h3 id="org75c3354"><span class="section-number-3">3.2</span> Git</h3> <div class="outline-text-3" id="text-3-2"> <div class="org-src-container"> <pre class="src src-sh">git config --global gpg.program $(<span class="org-builtin">which</span> gpg) @@ -133,8 +133,8 @@ In case you don't want to sign commits for specific repo, just run <code>git con </p> </div> </div> -<div id="outline-container-org4b1f2b6" class="outline-3"> -<h3 id="org4b1f2b6"><span class="section-number-3">3.3</span> pass (the standard unix password manager)</h3> +<div id="outline-container-org5997b0a" class="outline-3"> +<h3 id="org5997b0a"><span class="section-number-3">3.3</span> pass (the standard unix password manager)</h3> <div class="outline-text-3" id="text-3-3"> <p> I use <a href="https://www.passwordstore.org/">pass</a> to manage my passwords, with a different key. pass store passwords in a git repo, you can also store the <code>$GNUPGHOME</code> in a git repo or just in the same repo. diff --git a/.web/blog/fat32-partitionless-voidlinux-liveusb.html b/.web/blog/fat32-partitionless-voidlinux-liveusb.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> -<!-- 2020-11-09 --> +<!-- 2020-11-14 --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>FAT32 Partitionless Void Linux Live USB</title> @@ -37,26 +37,26 @@ <h2>Table of Contents</h2> <div id="text-table-of-contents"> <ul> -<li><a href="#org99b6221">1. What is this about and why do I create Live USB this way</a> +<li><a href="#orgd312493">1. What is this about and why do I create Live USB this way</a> <ul> -<li><a href="#org03acfd0">1.1. Advantages</a></li> -<li><a href="#orgeda59d0">1.2. How does it work?</a></li> +<li><a href="#orgca49207">1.1. Advantages</a></li> +<li><a href="#org174ae26">1.2. How does it work?</a></li> </ul> </li> -<li><a href="#org7d85467">2. FAT32 filesystem creation and file directory structure</a></li> -<li><a href="#org4c2a2a3">3. UEFI</a></li> -<li><a href="#orga3ce551">4. Legacy BIOS</a> +<li><a href="#orge716b77">2. FAT32 filesystem creation and file directory structure</a></li> +<li><a href="#org6b4a65a">3. UEFI</a></li> +<li><a href="#org78a914d">4. Legacy BIOS</a> <ul> -<li><a href="#orgb79392e">4.1. Minimal config</a></li> -<li><a href="#org957306e">4.2. Graphical boot menu</a></li> +<li><a href="#orgb949db7">4.1. Minimal config</a></li> +<li><a href="#orgc5068ff">4.2. Graphical boot menu</a></li> </ul> </li> </ul> </div> </nav> -<section id="outline-container-org99b6221" class="outline-2"> -<h2 id="org99b6221"><span class="section-number-2">1</span> What is this about and why do I create Live USB this way</h2> +<section id="outline-container-orgd312493" class="outline-2"> +<h2 id="orgd312493"><span class="section-number-2">1</span> What is this about and why do I create Live USB this way</h2> <div class="outline-text-2" id="text-1"> <p> I use void-live as my Live USB because it supports booting into RAM, so I can eject USB stick after boot into LiveOS. And it's esay to use void-mklive to generate customized iso, it's simple and just works. @@ -71,8 +71,8 @@ The solution is pretty simple, just create one FAT32 filesystem on the USB stick </p> </div> -<div id="outline-container-org03acfd0" class="outline-3"> -<h3 id="org03acfd0"><span class="section-number-3">1.1</span> Advantages</h3> +<div id="outline-container-orgca49207" class="outline-3"> +<h3 id="orgca49207"><span class="section-number-3">1.1</span> Advantages</h3> <div class="outline-text-3" id="text-1-1"> <ul class="org-ul"> <li>Works for both UEFI and Legacy BIOS</li> @@ -85,8 +85,8 @@ The solution is pretty simple, just create one FAT32 filesystem on the USB stick </div> </div> -<div id="outline-container-orgeda59d0" class="outline-3"> -<h3 id="orgeda59d0"><span class="section-number-3">1.2</span> How does it work?</h3> +<div id="outline-container-org174ae26" class="outline-3"> +<h3 id="org174ae26"><span class="section-number-3">1.2</span> How does it work?</h3> <div class="outline-text-3" id="text-1-2"> <p> It's pretty simple, just install the bootloader, configure it to load <code>vmlinuz</code> the linux kernel and <code>initrd</code> the initramfs and it will load <code>LiveOS/squashfs.img</code> from the FAT32 filesystem which labeled as <code>VOID_‚ÄčLIVE</code>. @@ -107,8 +107,8 @@ For Legacy BIOS, when you have a partition table on the hard drive, you need to </div> </section> -<section id="outline-container-org7d85467" class="outline-2"> -<h2 id="org7d85467"><span class="section-number-2">2</span> FAT32 filesystem creation and file directory structure</h2> +<section id="outline-container-orge716b77" class="outline-2"> +<h2 id="orge716b77"><span class="section-number-2">2</span> FAT32 filesystem creation and file directory structure</h2> <div class="outline-text-2" id="text-2"> <p> Assume the USB stick where we are going to create Live USB on is <code>/dev/sdc</code> and the FAT32 volume name is <code>VOID_LIVE</code>, you can create it with this command. Note the volume name can be other value but must be identical as boot options specified in bootloader configuration files. @@ -149,8 +149,8 @@ VOID_LIVE </div> </section> -<section id="outline-container-org4c2a2a3" class="outline-2"> -<h2 id="org4c2a2a3"><span class="section-number-2">3</span> UEFI</h2> +<section id="outline-container-org6b4a65a" class="outline-2"> +<h2 id="org6b4a65a"><span class="section-number-2">3</span> UEFI</h2> <div class="outline-text-2" id="text-3"> <p> I use rEFInd Boot Manager for UEFI boot, you can just download it from <a href="https://www.rodsbooks.com/refind/getting.html">the official website</a> and copy it to the FAT32 filesystem, or install <code>refind</code> the voidlinux package and then copy it from <code>/usr/share/refind</code>. It looks better with themes such like <a href="https://github.com/munlik/refind-theme-regular">refind-theme-regular</a>. You are free to customize it. @@ -159,7 +159,7 @@ I use rEFInd Boot Manager for UEFI boot, you can just download it from <a href=" <p> <code>EFI/{BOOT,refind}/refind.conf</code> </p> -<pre class="example" id="orgefa0d14"> +<pre class="example" id="orgf94191a"> timeout 20 menuentry "Void Linux (x86_64-musl)" { @@ -177,16 +177,16 @@ menuentry "Void Linux (x86_64-musl) (RAM)" { </div> </section> -<section id="outline-container-orga3ce551" class="outline-2"> -<h2 id="orga3ce551"><span class="section-number-2">4</span> Legacy BIOS</h2> +<section id="outline-container-org78a914d" class="outline-2"> +<h2 id="org78a914d"><span class="section-number-2">4</span> Legacy BIOS</h2> <div class="outline-text-2" id="text-4"> <p> I use syslinux because it's more lightweight than grub, <code>syslinux</code> the package is required to install syslinux to USB stick. You can use the minimal config or graphical boot menu config, I recommend to use the minimal one. </p> </div> -<div id="outline-container-orgb79392e" class="outline-3"> -<h3 id="orgb79392e"><span class="section-number-3">4.1</span> Minimal config</h3> +<div id="outline-container-orgb949db7" class="outline-3"> +<h3 id="orgb949db7"><span class="section-number-3">4.1</span> Minimal config</h3> <div class="outline-text-3" id="text-4-1"> <p> To avoid syslinux <code>Boot Error</code> I just use this minimal configuration without any non-core syslinux modules, and only run the extlinux/syslinux command once. I recommend you to create the Live USB in this order. @@ -202,7 +202,7 @@ To avoid syslinux <code>Boot Error</code> I just use this minimal configuration <p> <code>syslinux/syslinux.cfg</code> </p> -<pre class="example" id="orgb498331"> +<pre class="example" id="org9f58af5"> PROMPT 1 TIMEOUT 50 DEFAULT voidram @@ -218,8 +218,8 @@ LABEL voidram </div> </div> -<div id="outline-container-org957306e" class="outline-3"> -<h3 id="org957306e"><span class="section-number-3">4.2</span> Graphical boot menu</h3> +<div id="outline-container-orgc5068ff" class="outline-3"> +<h3 id="orgc5068ff"><span class="section-number-3">4.2</span> Graphical boot menu</h3> <div class="outline-text-3" id="text-4-2"> <p> You can check <code>boot/isolinux/{*.c32,isolinux.cfg}</code> from void-live iso for dependencies and config to use graphical boot menu, but from my experience you need to create the Live USB in this order to avoid syslinux <code>Boot Error</code> (not able to boot), especially when the squashfs.img is large. diff --git a/.web/blog/index.html b/.web/blog/index.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> -<!-- 2020-11-09 --> +<!-- 2020-11-14 --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Blog Index</title> @@ -31,7 +31,7 @@ <main id="content"> <header> <h1 class="title">Blog Index</h1> -<p class="subtitle">Published on 2020-11-09 by Dash Eclipse</p> +<p class="subtitle">Published on 2020-11-14 by Dash Eclipse</p> </header><ul class="org-ul"> <li><p> <a href="fat32-partitionless-voidlinux-liveusb.html">FAT32 Partitionless Void Linux Live USB</a> diff --git a/.web/blog/rss.xml b/.web/blog/rss.xml @@ -14,8 +14,8 @@ <link>https://ezup.dev/blog/</link> <description><![CDATA[]]></description> <language>en</language> - <pubDate>Mon, 09 Nov 2020 16:44:25 +0000</pubDate> - <lastBuildDate>Mon, 09 Nov 2020 16:44:25 +0000</lastBuildDate> + <pubDate>Sat, 14 Nov 2020 21:48:52 +0000</pubDate> + <lastBuildDate>Sat, 14 Nov 2020 21:48:52 +0000</lastBuildDate> <generator>Emacs 27.1 Org-mode 9.4</generator> <webMaster>dash@ezup.dev (Dash Eclipse)</webMaster> <image> diff --git a/.web/index.html b/.web/index.html @@ -154,9 +154,9 @@ target="_blank">https://ezup.dev/repo/voidlinux/current</a> "_blank">Notes</a></b> How do I do various stuff - * <b><a href="https://ezup.dev/status/" target= -"_blank">Server status</a></b> - How is this potato running? + * <b><a href="https://ezup.dev/stats/" target= +"_blank">Service Statistics</a></b> + Satistics for public and private services run on this server </pre></div> </body> </html> diff --git a/index.html b/index.html @@ -154,9 +154,9 @@ target="_blank">https://ezup.dev/repo/voidlinux/current</a> "_blank">Notes</a></b> How do I do various stuff - * <b><a href="https://ezup.dev/status/" target= -"_blank">Server status</a></b> - How is this potato running? + * <b><a href="https://ezup.dev/stats/" target= +"_blank">Service Statistics</a></b> + Satistics for public and private services run on this server </pre></div> </body> </html> diff --git a/posts/rss.org b/posts/rss.org @@ -4,11 +4,11 @@ :PROPERTIES: :RSS_PERMALINK: fat32-partitionless-voidlinux-liveusb.html :PUBDATE: 2020-07-14 -:ID: 3016886e-ce0a-4688-a6fe-26328cc790ad +:ID: d574a795-9897-4394-ad69-28d75e7ebc04 :END: * Create and Use OpenPGP Keys :PROPERTIES: :RSS_PERMALINK: create-and-use-openpgp-keys.html :PUBDATE: 2020-06-30 -:ID: 76460ea8-9172-4ee3-84ce-071321e939a7 +:ID: a6898d77-19e9-4acb-9df8-72e075d71d41 :END: