diff --git a/wiki/.gitignore b/wiki/.gitignore new file mode 100644 index 0000000..e5af9ee --- /dev/null +++ b/wiki/.gitignore @@ -0,0 +1 @@ +/unix/index.html diff --git a/wiki/Makefile b/wiki/Makefile index 772e1c4..9c05f58 100644 --- a/wiki/Makefile +++ b/wiki/Makefile @@ -1,5 +1,5 @@ all: unix/index.html -unix/index.html: unix/* +unix/index.html: unix/*.m4 $(MAKE) -C unix clean: $(MAKE) -C unix clean diff --git a/wiki/index.html b/wiki/index.html index 828fbe1..c8d28d3 100644 --- a/wiki/index.html +++ b/wiki/index.html @@ -20,8 +20,10 @@
  • All contributions are public domain and anyone may steal, pilfer, and otherwise plaigarize from this Wiki.
  • However, contributions to this Wiki must be original or properly quoted and cited from other sources.
  • Original research is encouraged and this Wiki serves as either a primary or secondary source when appropriate.
  • -
  • Articles are written with semantic markup in m4 m4 macros.
  • - +

    +The contents of this site is generated by the Git repository at https://git.sr.ht/~trinity/wiki. +

    diff --git a/wiki/unix/linux.m4 b/wiki/unix/linux.m4 index 70f15dd..06507d4 100644 --- a/wiki/unix/linux.m4 +++ b/wiki/unix/linux.m4 @@ -79,9 +79,39 @@ _subheader(`Distributions') Linux is usually obtained as part of a software distribution put together to form a useable operating system.

    Alpine

    +

    +Alpine Linux is a small Linux distribution based on musl libc. +Its main purpose is to serve as a server distribution, however many have found use for it as a desktop distribution. +

    +
    Bootstrapping
    +

    +Alpine's bootstrapping procedure is quite manual; you should probably use _code(`setup-alpine'). +However, it is possible and quite easy to perform the steps manually. +

    + +

    +Alpine does not have a _man(`chroot(1)') helper; you must manually do that with a one-liner such as +_code(`for i in dev proc sys; do mount -o bind "/$i" "/mnt/$i"; done; cp /etc/resolv.conf /mnt/etc/resolv.conf') +which you can chroot into. +

    +

    +After chrooting in, you must configure basics such as users, passwords, _man(`fstab(5)'), and the bootloader yourself. +

    Always install manual pages

    Alpine doesn't include man pages in program packages to save on space, instead keeping them in _code(`[package]-doc') sibling packages.