From f63ce5bdd80f453dd2c11016ff594001303fc10c Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 19 Dec 2019 14:21:45 +0100 Subject: Initial import --- content/en/docs/adyxax.org/_index.md | 20 +++++++++++++++ content/en/docs/adyxax.org/this_website.md | 39 ++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 content/en/docs/adyxax.org/_index.md create mode 100644 content/en/docs/adyxax.org/this_website.md (limited to 'content/en/docs/adyxax.org') diff --git a/content/en/docs/adyxax.org/_index.md b/content/en/docs/adyxax.org/_index.md new file mode 100644 index 0000000..3cfe834 --- /dev/null +++ b/content/en/docs/adyxax.org/_index.md @@ -0,0 +1,20 @@ +--- +title: "adyxax.org" +linkTitle: "adyxax.org" +weight: 1 +description: > + adyxax.org is how I call my personal computer infrastructure. +--- + +## What is adyxax.org? + +adyxax.org is how I call my personal computer infrastructure. It is very much like a small personnal private cloud of servers hosted here and there. I am using my experience as a +sysadmin to make it all work and provide various services that are useful to me and people close to me. + +It relies on gentoo and openbsd servers interconnected with point to point openvpn links. Services run inside lxd containers and communications between all those services is assured +thanks to dynamic routing with bird and ospf along those openvpn links. + +## Why write about it? + +It is a rather unusual infrastructure that I am proud of, and writing about it helps me to reflect on what I built. Gentoo, OpenBSD and LXD is not the most popular combination of +technologies but it allowed me to build something simple, flexible and I believe somewhat elegant and beautiful. diff --git a/content/en/docs/adyxax.org/this_website.md b/content/en/docs/adyxax.org/this_website.md new file mode 100644 index 0000000..c346534 --- /dev/null +++ b/content/en/docs/adyxax.org/this_website.md @@ -0,0 +1,39 @@ +# This website + +This website is a static website build using [hugo](https://github.com/gohugoio/hugo). This article details how I installed hugo, how I initialised this website and how I manage it. + +## Installing hugo + +{{< highlight sh >}} +go get github.com/gohugoio/hugo +{{< / highlight >}} + +This failed because the master branch in one of the dependencies was tainted, I fixed it with : +{{< highlight sh >}} +cd go/src/github.com/tdewolff/minify/ +tig --all +git checkout v2.6.1 +go get github.com/gohugoio/hugo +{{< / highlight >}} + +This didn't build me the extended version of hugo that I need for the theme I chose, so I had to do : +{{< highlight sh >}} +cd ~/go/src/github.com/gohugoio/hugo/ +go get --tags extended +go install --tags extended +{{< / highlight >}} + +## Bootstraping this site + +{{< highlight sh >}} +hugo new site www +cd www +git init +git submodule add https://github.com/alex-shpak/hugo-book themes/book +{{< / highlight >}} + +## Live server for automatic rebuilding when writing + +{{< highlight sh >}} +hugo server --bind 0.0.0.0 --minify +{{< / highlight >}} -- cgit v1.2.3