Installation: Difference between revisions

From Alpine Linux
m (→‎Advanced: parens)
(→‎Basics: tweak)
Line 35: Line 35:
<dl>
<dl>
<dt>diskless mode
<dt>diskless mode
<dd>You'll boot from read-only medium such as the installation CD, a [[Installing Alpine on USB|USB key]], or a [[Installing Alpine on Compact Flash|Compact Flash card]]. {{Tip| To prepare either of the latter two, you can use the <code>[[setup-bootable]]</code> script; see the pages linked above for details.}} When you use Alpine in this mode, you will use [[Alpine local backup|Alpine Local Backup (lbu)]] to save your modifications between reboots. This will require some writable medium, usually removable. {{Note| The <code>[[setup-alpine]]</code> script will, among other things, let you specify what medium to use.}}
<dd>You'll boot from read-only medium such as the installation CD, a [[Installing Alpine on USB|USB key]], or a [[Installing Alpine on Compact Flash|Compact Flash card]]. {{Tip| To prepare either of the latter two, you can use the <code>[[setup-bootable]]</code> script; see the pages linked above for details.}} When you use Alpine in this mode, you need to use [[Alpine local backup|Alpine Local Backup (lbu)]] to save your modifications between reboots. That requires some writable medium, usually removable. {{Note| When the <code>[[setup-alpine]]</code> script asks for a disk, say "none". It will then prompt whether you'd like to preserve modifications on any writable medium.}}
<dt>data mode
<dt>data mode
<dd>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 {{Path|/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 <code>[[setup-alpine]]</code> script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode <code>data</code>.}} This mode may be used for mailspools, database and log servers, and so on.
<dd>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 {{Path|/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 <code>[[setup-alpine]]</code> 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.
<dt>sys mode
<dt>sys mode
<dd>This is a [[Install to disk|traditional hard-disk install]]. <!-- includes [[Installing Alpine on HDD overwriting everything]] -->
<dd>This is a [[Install to disk|traditional hard-disk install]]. <!-- includes [[Installing Alpine on HDD overwriting everything]] --> Both the boot system and your modifications are written to the hard disk, in a standard Linux hierarchy. {{Note| The <code>[[setup-alpine]]</code> 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 {{Path|/boot}}, {{Path|/}}, and {{Path|swap}}; however you can also <!--
Both the boot system and your modifications are written to the hard disk, in a standard Linux hierarchy. {{Note| The <code>[[setup-alpine]]</code> script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode <code>sys</code>. By default, it will create three partions on your disk, for {{Path|/boot}}, {{Path|/}}, and {{Path|swap}}; however you can also <!--
   FIXME this styling is a hack until [[Template_talk:Note]] is resolved
   FIXME this styling is a hack until [[Template_talk:Note]] is resolved
--><span style{{=}}"text-decoration:underline">[[Setting up disks manually|partition your disk manually]]</span>.
--><span style{{=}}"text-decoration:underline">[[Setting up disks manually|partition your disk manually]]</span>.

Revision as of 08:03, 26 March 2012

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

Burn the ISO onto a blank CD using your favorite CD burning software.


3rd

Boot from the CD, 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 key, or a Compact Flash card.
Tip: To prepare either of the latter two, 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.
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. 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

  • 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)


Further Help and Information