When you turn on the computer, boot from your Devuan CD/USB. On the
installer menu, select Expert install so that we
can have more control over the installation process, as the defaults
assume that you are setting up a generic desktop computer.
Select Choose language followed by your language
and country/territory/area and locale. For the United States: you
would most likely do English, United
States, and en_US. Do not select
additional locales, as they will not be necessary here.
Select Configure the keyboard and use whichever
language applies to your keyboard type. In the United States, this
would most likely be American English.
Select Detect and mount installation media
followed by Load installer components from installation
media. Do not check any boxes, as the required components
will automatically load. What is listed there are optional
components.
Select Detect network hardware and
then Configure the network once that finishes.
Press Enter to begin link detection with the default time, unless you
need to change it for a good reason, and select your computer's
Ethernet interface. Auto-configure the network. Once again select
the default link detection time unless you need to change it for a
good reason. Now enter your hostname. It would be good to name your
digital signage computer based on where it is. For example, the
Department of War could use ds-lobby.in.war.gov
(or my personal suggestion for domain
names: ds-lobby.in.war.fed.us) for a sign in the
main lobby.
Select Set up users and passwords and allow
logging in as root. Set a secure-enough password. On most days,
however, you will never actually need to log on to these signs to do
anything, as updates for both apt packages and Flan can (and should)
be automated via cron jobs.
Select Configure the clock and use NTP with the
server set to your organization's time servers, such
as pool.ntp.aperture.akron.oh.us, along with your
local timezone. In Akron, this would be Eastern.
Select Detect disks and then Partition
disks. Select Guided - use entire
disk, use the internal hard disk (or solid-state drive),
put all files into one partition, and then write the partitions to the
disk with their default sizes. When asked to confirm, do so.
Select Install the base system and wait. The
amount of time this will take depends on the speed of your computer,
CD/USB device, etc. When asked about a kernel,
select linux-image-amd64 with
only targeted drivers/firmware.
Select Configure the package manager.
Select us.deb.devuan.org as your mirror unless you
have a good enough reason to use something else. Regardless of which
mirror you use: leave HTTP proxy information blank unless you
absolutely need a proxy. Select no for non-free
firmware, non-free software, and contrib software, along with source
repositories, as none of those are necessary here. When asked about
enabling either security or release updates, enable security, but
leave release and backports disabled.
Select Select and install software. Since this
will be a mainly unattended computer, have it automatically install
security updates. Normally it is best to leave that disabled, where
you (or other the machine's user) checks for updates by
himself/herself, but exceptions can be made in cases like this.
Participate in the package usage survey, or don't, it makes no
difference really. Select only standard system
utilities, as everything else (including SSH) is
unnecessary, and wait for the packages to install.
Select Select an init system and
use sysvinit. sysv-init is both Devuan's
recommended choice, and the only supported option for Flan.
Select Install the GRUB boot loader. If asked for
either: force installation to the EFI removable media path and update
NVRAM variables to automatically boot into Devuan. Do not have
os-prober detect other operating systems, as this computer should not
have other systems installed on it.
Now Finish the installation,
select yes to have the system clock set to UTC,
and then select continue to reboot. Eject the
VF/USB drive once you get back to the UEFI logo screen, and boot into
Devuan GNU/Linux. Once you get to the login prompt, sign in with root
with your chosen password, and continue on to the process
for installing Flan.
Installing Flan
This part is one that I was able to automate more quickly. Flan can
be installed with the following commands that will download the
program and compile the binary. With the way Flan is configured,
pre-built binaries will be difficult, especially due to the lack of
static compiling for dependencies like X11. However, the program is
very small in size, so compiling will be super fast on most hardware!
# apt-get install make gcc xorg \
lib{bsd,xml2-*,x{11,pm},curl4-gnutls}-dev \
xinit xfonts-{base,{75,100}dpi} && \
# make
# make install
# update-rc.d flan defaults
# service flan restart
If Flan appears on the screen after you run the systemctl command,
then Flan is now installed! You may want to reboot the computer after
Flan loads for the first time to ensure that it will load correctly
again on startup. If you had errors, check either systemctl
status flan or journalctl -xeu flan for
more information.
Notes
You do not need to log in to root every time you want to start Flan,
as it will automatically start on boot with the SystemD service.
If your organization maintains its own local copy of Flan with
customizations not present in the upstream version, replace the
www.aperture.akron.oh.us URL with your local repo. For example, the
University of Akron Information Technology Service's Computer Center
may use something
like http://www.cvs.cc.uakron.edu/flan/ for their
version of Flan.
If you would like a customized install, you will want to write a
script (Perl, Bash, etc) to manage deployment. As an example of that,
see the setup.pl script for use at
the University of Akron's College of Business which sets a custom
config.h and ico.xpm file to customize their signs with UA branding.