<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zekai</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zekai"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Zekai"/>
	<updated>2026-05-01T16:50:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=17790</id>
		<title>Installation</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Installation&amp;diff=17790"/>
		<updated>2020-07-04T02:58:04Z</updated>

		<summary type="html">&lt;p&gt;Zekai: minor grammar and clarity fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please help with sorting out the current wiki documentation, once you have explored though the further pages enough to give you a good grasp to sort out the further things precisely and nicely as well.&lt;br /&gt;
[[Image:hdd_mount.png|left|link=]]&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This page will get you started, but it can also help to skim through the [[Alpine_Linux:FAQ| Frequenty Asked Questions (FAQ)]] (also part of the left sidebar).&lt;br /&gt;
== Typical Hardware Requirements ==&lt;br /&gt;
&lt;br /&gt;
* At least 100 MB of RAM (A graphical desktop system may require up to 1 GB minimum.)&lt;br /&gt;
* A writable storage device. Optional for saving data and configuration of systems running in &amp;quot;diskless&amp;quot; mode. Required for running in &amp;quot;sys&amp;quot; or &amp;quot;data&amp;quot; mode (explained below).&lt;br /&gt;
&lt;br /&gt;
== Installation Overview ==&lt;br /&gt;
(To install on ARM systems that do not support .iso images refer to [[Alpine_on_ARM|Alpine on ARM]] instead.)&lt;br /&gt;
&lt;br /&gt;
As with most linux distributions, the first installation steps usually consist of:&amp;lt;br&amp;gt;&lt;br /&gt;
([[Installation#additional details|additional details]] below)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.)&#039;&#039;&#039; Downloading and verifying the proper [http://alpinelinux.org/downloads stable-release ISO image] for your computer&#039;s architecture, and the corresponding &amp;lt;code&amp;gt;sha256&amp;lt;/code&amp;gt; (checksum) and &amp;lt;code&amp;gt;GPG&amp;lt;/code&amp;gt; (signature) files. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.)&#039;&#039;&#039; Either burning the ISO image onto a blank CD/DVD/Blue-ray disk with your favorite disk burning software, or flashing the image onto a bootable storage device (USB-device, CF-/MMC-/SD-card, floppy, ...).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.)&#039;&#039;&#039; Booting the computer from the prepared disk or storage device.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The boot process first copies the entire system into the RAM memory, and then runs it completely from RAM, so that the started command line environment does not depend on reading from the (slow) initial boot media anymore.&lt;br /&gt;
&lt;br /&gt;
Log-in as the user &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; with its initially empty password.&lt;br /&gt;
&lt;br /&gt;
Now an interactive script called &amp;lt;code&amp;gt;[[Alpine_setup_scripts#setup-alpine|setup-alpine]]&amp;lt;/code&amp;gt;, as well as more specific [[Alpine_setup_scripts|setup-scripts]], the [[Alpine_Linux_package_management|apk package manager]], and all the general command line tools of course, can be used to configure the initial Alpine Linux system, to install further packages, and to prepare the system for the next boot.&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;code&amp;gt;[[Alpine_setup_scripts#setup-alpine|setup-alpine]]&amp;lt;/code&amp;gt; supports to configure the system to boot into one of three general &#039;&#039;&#039;Alpinelinux runtime modes&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;diskless mode&#039;&#039;&#039; This is the default boot mode of the .iso images. &amp;lt;code&amp;gt;[[Alpine_setup_scripts#setup-alpine|setup-alpine]]&amp;lt;/code&amp;gt; configures this if selecting to install to &amp;quot;disk=none&amp;quot;, and it means that the whole  operating system and the applications run extremely fast from within RAM (saving unnecessary disk spin-ups, power and wear). A customized configuration and package selection may still be completely preserved on permanent storage media by using the &amp;quot;local backup utility&amp;quot; &amp;lt;code&amp;gt;[[Alpine_local_backup|lbu]]&amp;lt;/code&amp;gt; and a [[Alpine_Linux_package_management#Local_Cache|local package cache]]. [Fixme: &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; still needs [[Alpine_local_backup#Saving_and_loading_ISO_image_customizations| this detour]] to prepare a partition for this:] In setup-alpine, select to store configs and the package cache on a partition. (That mounted partition may later also be used by configuring some important applications to keep their data on it.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;data mode&#039;&#039;&#039; This mode is still accelerated by running the system from RAM, however swap storage and the whole {{Path|/var}} directory tree gets mounted from a persistent storage device (two newly created partitions). This location holds e.g. all log files, mailspools, databases, etc., as well as &amp;lt;code&amp;gt;[[Alpine_local_backup|lbu]]&amp;lt;/code&amp;gt; backup commits and the package cache. The mode is useful for having RAM accelerated servers with amounts of variable user-data that exceed the available RAM size, and to let the entire current system state (not just the boot state) survive a system crash according to the particular filesystem&#039;s guarantees. [Fixme: Storing lbu configs to disk is not auto-configured after configuring the data partition, one still has to select saving configs to &amp;quot;none&amp;quot; first (the new data partition is not listed), and to manually set e.g. LBU_MEDIA=sda2 in /etc/lbu/lbu.conf and &amp;lt;code&amp;gt;echo &amp;quot;/dev/sda2 /media/sda2 vfat rw 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&amp;lt;/code&amp;gt; afterwards.] The boot device may remain to be the one initially used, and can even be immutable (read-only).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;sys mode&#039;&#039;&#039; This is a traditional hard-disk install. If this mode is selected, the &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt; script defaults to create three partitions on the selected storage device, {{Path|/boot}}, {{Path|swap}} and {{Path|/}} (the filesystem root). This mode may be used for generic [[Desktops|desktop]] and development machines, for example.&lt;br /&gt;
&lt;br /&gt;
== Questions asked by &amp;lt;code&amp;gt;setup-alpine&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;[[setup-alpine]]&amp;lt;/code&amp;gt; script offers to configure:&lt;br /&gt;
&lt;br /&gt;
* Keyboard map (e.g. &#039;&#039;us&#039;&#039; and variant of &#039;&#039;us-nodeadkeys&#039;&#039;)&lt;br /&gt;
* Hostname (The name for the computer.)&lt;br /&gt;
* Network (e.g. automatic DHCP IP address discovery)&lt;br /&gt;
* DNS Servers (For privacy reasons, it is NOT recommended to use servers like google&#039;s 8.8.8.8 etc.)&lt;br /&gt;
* Timezone&lt;br /&gt;
* Proxy (&amp;quot;None&amp;quot; for direct connections to the internet.)&lt;br /&gt;
* SSH (Openssh is part of the default images.)&lt;br /&gt;
* NTP (Chrony is part of the default images.)&lt;br /&gt;
* Runtime Mode (Select between &amp;quot;diskless&amp;quot; (disk=none), &amp;quot;data&amp;quot; or &amp;quot;sys&amp;quot;, all described above.)&lt;br /&gt;
&lt;br /&gt;
== Additional Details ==&lt;br /&gt;
&lt;br /&gt;
{{Expand|  }}&lt;br /&gt;
&lt;br /&gt;
This &amp;quot;Additional Details&amp;quot; section needs to be consolidated with the work at &#039;&#039;&#039;[https://docs.alpinelinux.org https://docs.alpinelinux.org] (not finished)&#039;&#039;&#039; &lt;br /&gt;
(Restructuring things there, moving and linking from here or there?). &lt;br /&gt;
&lt;br /&gt;
=== Verifying the downloaded image file ===&lt;br /&gt;
&lt;br /&gt;
{|  class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:95%; align=center&amp;quot;&lt;br /&gt;
|+ Commands to verify the checksum and GPG signature of a downloaded image file on different systems.&lt;br /&gt;
|-&lt;br /&gt;
! width=100px |  OS type&lt;br /&gt;
!  &amp;lt;code&amp;gt;sha265&amp;lt;/code&amp;gt; check !! &amp;lt;code&amp;gt;sha265&amp;lt;/code&amp;gt; calculation (to be compared manually) !! &amp;lt;code&amp;gt;GPG&amp;lt;/code&amp;gt; signature verification&lt;br /&gt;
|-&lt;br /&gt;
! Linux&lt;br /&gt;
| &amp;lt;code&amp;gt;sha256sum -c alpine-*.iso.sha256&amp;lt;/code&amp;gt; ||        || &amp;lt;code&amp;gt;curl https://alpinelinux.org/keys/ncopa.asc &amp;amp;#124; gpg --import ;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt; gpg --verify alpine-&amp;lt;version&amp;gt;.iso.asc alpine-&amp;lt;version&amp;gt;.iso&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! Windows (PowerShell installed)&lt;br /&gt;
|                 - ? -             || &amp;lt;code&amp;gt;Get-FileHash .\alpine-&amp;lt;image-version&amp;gt;.iso -Algorithm SHA256&amp;lt;/code&amp;gt; || - ? -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Booting from external devices ===&lt;br /&gt;
&lt;br /&gt;
Insert the boot media to a proper drive or port of the computer and turn the machine on, or restart it, if already running.&lt;br /&gt;
&lt;br /&gt;
If the computer does not automatically boot from the desired device, one needs to bring up the boot menu selection for choosing the media to boot from. Depending on the computer the menu may be accessed by quickly (repeatedly) pressing a key when booting starts, or sometimes it is needed to press the button before starting the computer and keep holding it when it boots. Typical keys are:  `F9`-`F12`, sometimes `F7` or `F8`. If these don&#039;t bring up the boot menu, it may be necessary to enter the BIOS configuration and adjust the boot settings, for which typical keys are: `Del.` `F1` `F2` `F6` or `Esc.`&lt;br /&gt;
&lt;br /&gt;
=== Rebooting and testing the new system ===&lt;br /&gt;
&lt;br /&gt;
After the installation is completed, the system may be power-cycled or rebooted to confirm that everything is working.&lt;br /&gt;
If the configured runtime mode was &amp;quot;sys&amp;quot;, then remove the initial installation media to boot the newly installed system.&lt;br /&gt;
&lt;br /&gt;
The relevant commands for this are &amp;lt;code&amp;gt;reboot&amp;lt;/code&amp;gt; or  &amp;lt;code&amp;gt;poweroff&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Further Documentation =&lt;br /&gt;
&lt;br /&gt;
=== Installing ===&lt;br /&gt;
&lt;br /&gt;
* [[Directly booting an ISO file]] &#039;&#039;(without flashing it to a disk or device)&#039;&#039;&lt;br /&gt;
* [[Tutorials_and_Howtos#Networking|Setting up Networking]] &#039;&#039;(incl. non-standard configurations)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Post-Install ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- If you edit post-install, also consider [[Tutorials_and_Howtos#Post-Install]], [[Developer_Documentation#Package_management]] and the Handbook. These are not exact duplicates. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [[Setting up a new user]]&lt;br /&gt;
&lt;br /&gt;
* [[Enable Community Repository]] &#039;&#039;(Providing additional packages)&#039;&#039;&lt;br /&gt;
* [[Alpine Linux package management|Package Management (apk)]] &#039;&#039;(general search/add/del packages etc.)&#039;&#039;&lt;br /&gt;
* [[Alpine setup scripts#setup-xorg-base|&amp;lt;code&amp;gt;setup-xorg-base&amp;lt;/code&amp;gt;]] &#039;&#039;(display graphics, if required)&#039;&#039;&lt;br /&gt;
** [[Xfce_Setup]] / [[Desktop-notes]] / [[Xfce_Desktop]]&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_local_backup|Local backup utility &amp;lt;code&amp;gt;lbu&amp;lt;/code&amp;gt;]] &#039;&#039;(persisting RAM system configurations)&#039;&#039;&lt;br /&gt;
** [[Back Up a Flash Memory Installation]] &#039;&#039;(&amp;quot;diskless mode&amp;quot; systems)&#039;&#039;&lt;br /&gt;
** [[Manually_editing_a_existing_apkovl]] &#039;&#039;(the stored custom configs)&#039;&#039;&lt;br /&gt;
* [[Alpine Linux Init System|Init System (OpenRC)]] &#039;&#039;(Configure a service to automatically boot at next reboot)&#039;&#039;&lt;br /&gt;
** [[Multiple Instances of Services]]&lt;br /&gt;
** [[Writing Init Scripts]]&lt;br /&gt;
&lt;br /&gt;
* [[Hosting services on Alpine]] &#039;&#039;(Links to several mail/web/ssh server setup pages)&#039;&#039;&lt;br /&gt;
* Runnig programs and services in their own [[Firejail Security Sandbox]]&lt;br /&gt;
&lt;br /&gt;
* [[Alpine_Linux_package_management#Upgrade_a_Running_System|Upgrading Alpine]] &#039;&#039;(checking for and installing updates)&#039;&#039;&lt;br /&gt;
* [[How_to_make_a_custom_ISO_image_with_mkimage]]&lt;br /&gt;
&lt;br /&gt;
=== Further Help and Information ===&lt;br /&gt;
&lt;br /&gt;
* [[Running glibc programs]] &#039;&#039;(Installation and development)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- * [[setup-acf]] &#039;&#039;(Configures ACF (webconfiguration) so you can manage your box through https)&#039;&#039;&lt;br /&gt;
* [[Changing passwords for ACF|Changing passwords]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[FAQ|FAQs]]&lt;br /&gt;
* [[Tutorials and Howtos]]&lt;br /&gt;
&lt;br /&gt;
* [[Contribute|How to Contribute]]&lt;br /&gt;
* [[Developer Documentation]]&lt;br /&gt;
* [[Alpine_Linux:Wiki_etiquette|Wiki etiquette]] &#039;&#039;to collaborate on this documentation&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Tip| Alpine linux packages stay close to the upstream design. Therefore, all upstream documentation about configuring a software package, as well as good configuration guides from other distributions that stay close to upstream, like e.g. in the [https://wiki.archlinux.org/ Arch Wiki], are to a large degree also well applicable to configure the software on alpine linux, thus can be very useful.}}&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
There may still be something useful to find and sort out of the newbie&#039;s install notes in this wiki, moving godd things into the structured handbook style documentation.&lt;br /&gt;
&lt;br /&gt;
# [[Newbie_Alpine_Ecosystem]]&lt;br /&gt;
# [[Alpine newbie install manual]]&lt;br /&gt;
# [[Alpine_newbie#Install|Alpine_newbie Install section]]&lt;br /&gt;
# [https://mckayemu.github.io/alpineinstalls/ https://mckayemu.github.io/alpineinstalls/ All informatin for Spanish users]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Zekai</name></author>
	</entry>
</feed>