1
shell
localhost login: root # need input root , no need password
...
localhost:~# setup-alpine # begin install on local disk
Select keyborard layout [none]: cn # china
Select variant []: cn # cn
...
Enter system hostname (short form ,e.g. 'foo') [localhost]: alpine # hostname , short form
Which one do you want to initialize ? (or '?' or 'done') [eth0] eth0 # press Enter
Ip address for eth0 ? (or 'dhcp', 'none' , '?' ) [dhcp] none # config ip
Do you want to do any manual network configuration? [no] yes # or no , if yes , add "address= ... netmask= ... gateway= ..."
DNS domain name? (e.g. 'bar.com') [] example.com # domain name
DNS nameserver(s) [] 127.0.0.1 #
Change password for root
New password : ChangeMe # root's password
Retype password: ChangeMe # input again
Which timezone are your in ? ('?' for list) [UTC] Asia/Shanghai # timezone
#What sub-timezone of 'Asia' are you in ? ( '?' for list) Shanghai #
...
HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or 'none') [none] # http://xxx:8080
Which NTP client to run? ('busybox', 'openntpd', 'chrony' or 'none') [chrony] chrony #or press Enter
...
Enter mirror number (1-0) or URL to add (or r/f/e/done) [f]: f #or press Enter
Which SSH server? ('openssh', 'dropbear', 'none') [openssh] openssh #or press Enter
...
Which disk(s) would you like to use ? ( or '?' for help or 'none') [none] sda # disk
How would you like to use it ? ('sys', 'data', 'lvm', or '?' for help ) [?] lvm # lvm
How would you like to use it ? ('sys', 'data' or '?' for help ) [?] sys # for os
...
WARNING: Erase the above disk(s) and continue ? [y/N] y # format disk
...
# reboot