The following information will assist you with the installation of Alpine Linux.
Installation Quick-Start in 3 Easy Steps
Now Alpine are complete running from the media source, you can install it by running the
Alpine can be booted or not, just use it. Alpine Linux installation process are so flexible that indeed can just boot up inside other broken Linux. You believe that every system needs a DVD disc, or a USB to install it?, but Alpine may not even need it, so much so that it can even boot from its phone memory. Obviously the more exquisite the more complicated method.
A proper setup of your system are need, but if you deploy all of an ecosystems in your own home and job.. in your only machine... you will need a proper guide to setup your main system (or maybe a parallel system?).
As any Linux installation, Alpine start process by booting from an external device (CD/DVD, USB Drive, etc...).
As Alpine uses Linux kernel, start step of collecting information to initialize a minimum system, the
setup-alpine will copy files. This minimun system started before proceed to property install are a diskless mode started from the orig medium.
The post installation step provides the way to choose the root password, and eventually boot up the new installed system.
Overview of run modes for Alpine system
Alpine can be used in any of three modes respected the install process:
When you use Alpine in this mode, you need to use Alpine Local Backup (lbu) to save your modifications between reboots. That requires some writable medium, usually removable. If your boot medium is, for example, a USB drive, you can save modifications there; you don't need a separate partition or drive. See also Local APK cache.
As in diskless mode, your OS is run from a read-only medium. However, here a writable partition (usually on a hard disk) is used to store the data in /var. That partition is accessed directly, rather than copied into a tmpfs; so this is better-suited to uses where large amounts of data need to be preserved between reboots.
This mode may be used for mailspools, database and log servers, and so on.
This is a traditional hard-disk install (see link for details). Both the boot system and your modifications are written to the hard disk in a standard Linux hierarchy.
This mode may be used for desktops, development boxes, and virtual servers.
- Setting up Networking
- Package Management (apk) (How to add/remove packages on your Alpine)
- Alpine local backup (lbu) (Permanently store your modifications in case your box needs reboot)
- Init System (OpenRC) (Configure a service to automatically boot at next reboot)
- Setting up Xorg
- Setting up a ssh-server (Using ssh is a good way to administer your box remotely)
- setup-acf (Configures ACF (webconfiguration) so you can manage your box through https)
- Hosting services on Alpine(Links to several mail/web/ssh server setup pages)
- Changing passwords
- Setting the timezone (Not needed for the default musl- or uClibc-based installs)