Prepare ISO
- Download Alpine Linux ISO.
- Choose the Virtual version.
- I used this version for this blog.
- Attach the ISO to the DVD Drive.
- Start the Virtual Machine.
Initial Boot
- Login as root.
localhost login: root
- Start setup-alpine.
localhost:~# setup-alpine
- us is usually a good choice.
Select keyboard layout: [none]: us
- us is usually a good choice.
Select variant []: us
- I named my system myalpine.
Enter system hostname (short form, e.g. 'foo') [localhost]: myalpine
- Accept the default eth0.
Which one do you want to initiatize? (or '?' or 'done') [eht0]
- Accept the default dhcp. Or enter an IP address (and subnet mask) if you want.
IP address for eth0? (or 'dhcp', 'none', '?') [dhcp]
- This is used for entering IPv6 information. I don't need this. So I accept the default no.
Do you want to do any manual network configuration? [no]
- Enter and re-enter your password.
New password:
Retype password:
- I used Singapore. Choose whatever timezone you want.
Which timezone are you in? ('?' for list) [UTC] Singapore
- This should be none, unless you need to use a HTTP/FTP to access the Internet.
HTTP/FTP proxy URL? (e.g.'http://proxy:8080', or 'none') [none]
- Accept the default chrony.
Which NTP client to run? ('busybox', 'openntpd', 'chrony', or 'none') [chrony]
- I find 27 (mirror.xtom.com.hk) to be a good mirror at where I am.
Enter mirror number (1-46) or URL to add (or r/f/e/done) [1] 27
- Accept the default openssh.
Which SSH server? ('openssh', 'dropbear', or 'none') [openssh]
- Enter sda.
Which disk(s) would you like to use? (or '?' for help or 'none') [none] sda
- Enter sys.
How would you like to use it? ('sys', 'data', 'lvm' or '?' for help) [?] sys
- Enter y.
WARNING: Erase the above disk(s) and continue? [y/N] y
- After the disk has been formatted and set up, poweroff the Virtual Machine.
localhost:~# poweroff