From 3faf3fc060c47d281aed02677f6dcd8de241e57b Mon Sep 17 00:00:00 2001 From: lw-everestlinux Date: Sun, 30 Oct 2022 17:52:41 -0400 Subject: [PATCH] 10/30/22 --- css/everest.css | 4 +-- install.html | 92 ++++++++++++------------------------------------ install.html.old | 90 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+), 72 deletions(-) create mode 100644 install.html.old diff --git a/css/everest.css b/css/everest.css index f888087..a630d63 100755 --- a/css/everest.css +++ b/css/everest.css @@ -45,12 +45,12 @@ p { padding-top: 2px; padding-bottom: 2px; } -code { +/*code { padding-left: 16px; padding-right: 16px; padding-top: 2px; padding-bottom: 2px; -} +}*/ ul { list-style-type: none; margin: 0px; diff --git a/install.html b/install.html index adc2e61..af81486 100644 --- a/install.html +++ b/install.html @@ -11,80 +11,32 @@
  • Handbook
  • Packages
  • Downloads
  • -
  • Git
  • +
  • Git
  • banner-hb

    Installation Handbook

    -

    This guide goes into detail on how to install Everest.

    +

    This guide will go into depth on how to install Everest Linux.

    +

    If you nedd assistance, feel free to reach out on IRC (#everestlinux), or Discord.

    Prerequisites

    -

    There are 2 officially supported ways of installing Everest, systemd/glibc/GNU or init/musl/busybox. This guide covers the init/musl/busybox installation as it recieves the most support and is the intended way. For the GNU installation, it may be a good idea to read the Linux from Scratch wiki.

    -

    -

    For highly customized installations (such as a custom init), it is recommended to know exactly what you're doing.

    -

    -

    Everest may be installed through 2 methods:

    -

    - ISO: can be flashed to a usb and booted

    -

    - rootfs tarball (RECOMMENDED): unpacked to a directory (usually /mnt) and instaled through an existing distribution.

    -

    -

    Note that no matter what option you choose, you will need the rootfs tarball.

    -

    -

    Commands prefixed with (user)$ should be run as the normal user.

    +

    The following steps will be used to complete the installation:

    +

    - Set up the environment by creating proper mountpoints and users

    +

    - Download the Everest Linux rootfs image

    +

    - Unpack the rootfs image onto the previously set up mountpoint

    +

    - Chroot into the new system

    +

    - Set up Glacier

    +

    - Install system software

    +

    - Install the Linux kernel

    +

    - Set up init scripts/services

    +

    - Reboot the system

    +

    Note: Everest is highly flexible, and every aspect of the system can be changed.

    +

    If you are changing anything, it is assumed you know exactly what you're doing.

    +

    Commands prefixed with (user)$ should be run as an unprivileged user.

    Commands prefixed with (root)# should be run as the root user.

    -

    Commands prefixed with (chroot)$ should be run as the normal user inside the chroot environment.

    Commands prefixed with (chroot)# should be run as the root user inside the chroot environment.

    -

    This guide assumes your system has access to the internet. There are no tools for configuring the network in the iso. Use of a hardwired ethernet connection is recommended.

    - -

    Setup the environment

    -

    Obtain the ELIF source tree. This is required for the initial setup.

    -(user)$ git clone https://git.everestlinux.org/EverestLinux/elif -(user)$ cd elif -

    Run the setup script, defining your intended method of install.

    -(root)# elif setup live -(root)# elif setup tar -

    A new file will be created, called build.conf.Edit this file and change any settings you wish.

    -

    Once you are happy with your configuration, run the build script.

    -(user)# elif build -

    This will set up a partial Everest installation at your specified mountpoint.

    -

    Chroot into the new installation.

    -(root)# chroot /mnt/everest - -

    Install the kernel

    -

    Download the kernel source tree to the Glacier cache.

    -(chroot)# glacier -c linux -

    Move the source tree to its correct location.

    -(chroot)# cd /var/cache/glacier -(chroot)# mv linux.tar.gz /usr/src -(chroot)# cd /usr/src -(chroot)# mkdir linux -(chroot)# mv linux.tar.gz linux -(chroot)# cd linux -

    Unpack the tarball.

    -(chroot)# tar -xvf linux.tar.gz -

    Ensure the source tree is clean.

    -(chroot)# make mrproper -

    Configure the kernel.

    -(chroot)# ./autobuild.sh -

    OR

    -(chroot)# make menuconfig -

    Build the kernel and modules.

    -(chroot)# make && make modules_install -

    Copy the kernel image to /boot.

    -(chroot)# make install -

    Build an initramfs.

    -(chroot)# glacier -f dracut -(chroot)# dracut - -

    Configure the system

    -

    The following system daemons are recommended to install:

    -

    - system logger (sysklogd, syslog-ng, etc)

    -

    - cron daemon (cronie)

    -

    - ssh daemon (sshd)

    -

    - time sync (chrony)

    -

    In this example, we will be installing all of these.

    -

    Install the packages.

    -(chroot)# glacier -f sysklogd -(chroot)# glacier -f cronie -(chroot)# glacier -f chrony -

    Start the services.

    -

    On busybox init: (chroot)# esv start sysklogd && esv start cronie && esv start chronyd

    -

    On systemd: (chroot)# systemctl enable sysklogd cronie chronyd

    +

    Set up the Environment

    +

    Our environment needs to be set up correctly before any other steps can proceed.

    +

    Create the system mountpoint:

    +

    (root)# mkdir -v /mnt/everest

    +

    Assign the system mounpoint a variable for ease of use:

    +

    (root)# export EVEREST=/mnt/everest

    diff --git a/install.html.old b/install.html.old new file mode 100644 index 0000000..adc2e61 --- /dev/null +++ b/install.html.old @@ -0,0 +1,90 @@ + + + +Everest Linux - Installation Handbook + + + + +banner-hb +

    Installation Handbook

    +

    This guide goes into detail on how to install Everest.

    +

    Prerequisites

    +

    There are 2 officially supported ways of installing Everest, systemd/glibc/GNU or init/musl/busybox. This guide covers the init/musl/busybox installation as it recieves the most support and is the intended way. For the GNU installation, it may be a good idea to read the Linux from Scratch wiki.

    +

    +

    For highly customized installations (such as a custom init), it is recommended to know exactly what you're doing.

    +

    +

    Everest may be installed through 2 methods:

    +

    - ISO: can be flashed to a usb and booted

    +

    - rootfs tarball (RECOMMENDED): unpacked to a directory (usually /mnt) and instaled through an existing distribution.

    +

    +

    Note that no matter what option you choose, you will need the rootfs tarball.

    +

    +

    Commands prefixed with (user)$ should be run as the normal user.

    +

    Commands prefixed with (root)# should be run as the root user.

    +

    Commands prefixed with (chroot)$ should be run as the normal user inside the chroot environment.

    +

    Commands prefixed with (chroot)# should be run as the root user inside the chroot environment.

    +

    This guide assumes your system has access to the internet. There are no tools for configuring the network in the iso. Use of a hardwired ethernet connection is recommended.

    + +

    Setup the environment

    +

    Obtain the ELIF source tree. This is required for the initial setup.

    +(user)$ git clone https://git.everestlinux.org/EverestLinux/elif +(user)$ cd elif +

    Run the setup script, defining your intended method of install.

    +(root)# elif setup live +(root)# elif setup tar +

    A new file will be created, called build.conf.Edit this file and change any settings you wish.

    +

    Once you are happy with your configuration, run the build script.

    +(user)# elif build +

    This will set up a partial Everest installation at your specified mountpoint.

    +

    Chroot into the new installation.

    +(root)# chroot /mnt/everest + +

    Install the kernel

    +

    Download the kernel source tree to the Glacier cache.

    +(chroot)# glacier -c linux +

    Move the source tree to its correct location.

    +(chroot)# cd /var/cache/glacier +(chroot)# mv linux.tar.gz /usr/src +(chroot)# cd /usr/src +(chroot)# mkdir linux +(chroot)# mv linux.tar.gz linux +(chroot)# cd linux +

    Unpack the tarball.

    +(chroot)# tar -xvf linux.tar.gz +

    Ensure the source tree is clean.

    +(chroot)# make mrproper +

    Configure the kernel.

    +(chroot)# ./autobuild.sh +

    OR

    +(chroot)# make menuconfig +

    Build the kernel and modules.

    +(chroot)# make && make modules_install +

    Copy the kernel image to /boot.

    +(chroot)# make install +

    Build an initramfs.

    +(chroot)# glacier -f dracut +(chroot)# dracut + +

    Configure the system

    +

    The following system daemons are recommended to install:

    +

    - system logger (sysklogd, syslog-ng, etc)

    +

    - cron daemon (cronie)

    +

    - ssh daemon (sshd)

    +

    - time sync (chrony)

    +

    In this example, we will be installing all of these.

    +

    Install the packages.

    +(chroot)# glacier -f sysklogd +(chroot)# glacier -f cronie +(chroot)# glacier -f chrony +

    Start the services.

    +

    On busybox init: (chroot)# esv start sysklogd && esv start cronie && esv start chronyd

    +

    On systemd: (chroot)# systemctl enable sysklogd cronie chronyd

    +