Installation: Difference between revisions
Dubiousjim (talk | contribs) (→Advanced: Add link to new Bootstrapping page) |
Dubiousjim (talk | contribs) (Add links to Bootable USB key to quick-start sequence) |
||
Line 16: | Line 16: | ||
</div> | </div> | ||
<div style="margin-left:65px; background-color:#E0E9E9; border-style:solid; border-color:#606A82; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;"> | <div style="margin-left:65px; background-color:#E0E9E9; border-style:solid; border-color:#606A82; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;"> | ||
[[Burning ISOs| | If you have a CD drive from which you can boot, then [[Burning ISOs|burn the ISO onto a blank CD]] using your favorite CD burning software. Else [[Create a Bootable USB|create a bootable USB key]]. | ||
</div> | </div> | ||
Line 24: | Line 24: | ||
</div> | </div> | ||
<div style="margin-left:65px; background-color:#9faecc; border-style:solid; border-color:#324065; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;"> | <div style="margin-left:65px; background-color:#9faecc; border-style:solid; border-color:#324065; border-width:0px; border-left-width:5px; min-height:55px; padding:5px;"> | ||
Boot from the CD, login as root with no password, and voilà! Enjoy Alpine Linux! | Boot from the CD or USB key, login as root with no password, and voilà! Enjoy Alpine Linux! | ||
</div> | </div> | ||
Revision as of 14:48, 21 January 2015
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 key.
3rd
Boot from the CD or USB key, 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 a USB or Compact Flash card, you can use theWhen 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.
setup-bootable
script; see the pages linked above for details.Note: When thesetup-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: TheThis mode may be used for mailspools, database and log servers, and so on.
setup-alpine
script handles installing Alpine in this mode, too, when you supply a writable partition instead of "none", and request mode "data". - 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: TheThis mode may be used for desktops, development boxes, and virtual servers.
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.
Advanced
- Setting up storage with RAID, LVM, LUKS encryption, iSCSI, or suchlike
- Setting up disks manually
- Partitioning and Bootmanagers
- Migrating data
- Details about Alpine setup scripts
- Install Alpine on VirtualBox, VMware, coLinux, Qemu, , Amazon EC2, or RackSpace
- Xen Dom0 (Setting up Alpine as a dom0 for Xen hypervisor)
- Xen Dom0 on USB or SD
- Create Alpine Linux PV DomU
- Xen LiveCD
- Setting up a basic vserver
- Setting up the build environment on HDD
- Setting up a compile vserver for official or for third party packages
Post-Install
- 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 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