Installation: Difference between revisions

From Alpine Linux
m (→‎Post-Install: Move new reference below comment to avoid interruption)
(2 intermediate revisions by 2 users not shown)
Line 46: Line 46:


=== Advanced ===
=== Advanced ===
* [[Create UEFI boot USB]]
* [[Tutorials_and_Howtos#Storage|Setting up storage with RAID, LVM, LUKS encryption, iSCSI, or suchlike]]
* [[Tutorials_and_Howtos#Storage|Setting up storage with RAID, LVM, LUKS encryption, iSCSI, or suchlike]]
* [[Setting up disks manually]]
* [[Setting up disks manually]]
Line 61: Line 62:
<!-- If you edit the following, please coordinate with Developer_Documentation#Configuring_your_system.  Note that these two sections are not exact duplicates. -->
<!-- If you edit the following, please coordinate with Developer_Documentation#Configuring_your_system.  Note that these two sections are not exact duplicates. -->
* [[Installing Alpine Linux in a chroot]]
* [[Installing Alpine Linux in a chroot]]
 
* [[Install Alpine on LXC]]
* [[Install Alpine on LXD|Install Alpine on Ubuntu with LXD]]
* Install Alpine on [[Install Alpine on VirtualBox|VirtualBox]], [[Install Alpine on VMware|VMware]], [[Install Alpine on coLinux|coLinux]], [[Qemu]], <!-- includes [[Install Alpine in Qemu]], [[Running Alpine in Qemu Live mode]], [[Running Alpine Linux As a QEMU networked Guest]] -->, [[Install Alpine on Amazon EC2|Amazon EC2]], or [[Install Alpine on Rackspace|RackSpace]]
* Install Alpine on [[Install Alpine on VirtualBox|VirtualBox]], [[Install Alpine on VMware|VMware]], [[Install Alpine on coLinux|coLinux]], [[Qemu]], <!-- includes [[Install Alpine in Qemu]], [[Running Alpine in Qemu Live mode]], [[Running Alpine Linux As a QEMU networked Guest]] -->, [[Install Alpine on Amazon EC2|Amazon EC2]], or [[Install Alpine on Rackspace|RackSpace]]



Revision as of 07:37, 28 April 2017

The following information will assist you with the installation of Alpine Linux.


Installation Quick-Start in 3 Easy Steps

1st

Download the latest stable-release ISO.


2nd

If you have a CD drive from which you can boot, then burn the ISO onto a blank CD using your favorite CD burning software. Else create a bootable USB drive.


3rd

Boot from the CD or USB drive, login as root with no password, and voilà! Enjoy Alpine Linux!


One of the first commands you might want to use is setup-alpine.

Installation Handbook

Basics

Alpine can be used in any of three modes:

diskless mode
You'll boot from read-only medium such as the installation CD, a USB drive, or a Compact Flash card.
Tip: To prepare either a USB or Compact Flash card, you can use the setup-bootable script; see the pages linked above for details.
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.
Note: When the setup-alpine script asks for a disk, say "none". It will then prompt whether you'd like to preserve modifications on any writable medium.
data mode
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.
Note: The setup-alpine script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode "data".
This mode may be used for mailspools, database and log servers, and so on.
sys mode
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.
Note: The setup-alpine script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode "sys". By default, it will create three partions on your disk, for /boot, /, and swap; however you can also partition your disk manually.
This mode may be used for desktops, development boxes, and virtual servers.

Advanced

Post-Install

Further Help and Information