Installation pages setup-alpine script normal: Difference between revisions

From Alpine Linux
No edit summary
(→‎Normal setup/install process: always use last images due missing packages in older ones)
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== The setup install for normal process ==
== Normal setup/install process ==


After boot up.. a command line shell of a complete ready to use Alpine will show you.
After boot up, you will see a command line shell of a complete ready to use Alpine


{{Warning|This process ONLY WORK with "EXTENDED" ISO or recent versions of "STANDARD" ISO image downloads.}}
{{Note|This process WORKS BEST with recent versions of "STANDARD" file image downloads. Older alpine images (for Rpi, IBM etc) will have some issues, we recommend always use lasted}}


==== Login prompt as root ====
==== Login as root ====


At the '''login:''' to appear, type '''root''' and press enter, no password will be asked if run from image boot.
'''Log in''' as '''root''' and press enter. No password will be asked for if you're running from the boot image.


[[File:Installation-alpine-alpine-setup-3-root-login.png]]
[[File:Installation-alpine-alpine-setup-3-root-login.png]]
Line 13: Line 13:
==== Running setup alpine script ====
==== Running setup alpine script ====


Run the '''setup-alpine''' script as show in the image:
Run the '''setup-alpine''' script as shown in the image:


[[File:Installation-alpine-alpine-setup-4-setup-scripts.png|none]]
[[File:Installation-alpine-alpine-setup-4-setup-scripts.png|none]]
Line 19: Line 19:
===== Select keyboard layout =====
===== Select keyboard layout =====


Choose your '''keyboard layout'''. If you don't know your keyboard layout choose '''us'''. By example for most Latin American a ''es'' are enough, for Russian (an maybe Cirilyc ones) ''ru'' are enough.
Choose your '''keyboard layout'''. If you don't know your keyboard layout, choose '''us'''. Typically, for a Latin American environment, ''es'' is enough. For Russian (and maybe Cyrilic) ''ru'' is sufficient.


[[File:Installation-alpine-alpine-setup-4-setup-scripts-1-languaje-1.png]]
[[File:Installation-alpine-alpine-setup-4-setup-scripts-1-languaje-1.png]]
Line 25: Line 25:
===== Select keyboard variant =====
===== Select keyboard variant =====


Choose your '''keyboard variant'''. If you don't know your keyboard variant choose default from list. By example for most Latin American must use ''es-winkeys'' are enough.
Choose your '''keyboard variant'''. If you don't know your keyboard variant, choose the default from the list.
For example, the typical Latin American keymap is ''es-winkeys''.


[[File:Installation-alpine-alpine-setup-4-setup-scripts-1-languaje-2.png]]
[[File:Installation-alpine-alpine-setup-4-setup-scripts-1-languaje-2.png]]
Line 31: Line 32:
===== Enter system hostname =====
===== Enter system hostname =====


Host name, which will be the name of your computer; using '''localhost''' are enough and recommended for testing purposes cos permits apply mostly how to's and tutorials of the wiki pages.
Host name, which will be the name of your computer. using '''localhost''' is enough and recommended for testing purposes because permits apply mostly to how-tos and tutorials on the wiki pages.


[[File:Installation-alpine-alpine-setup-5-setup-scripts-hostname.png]]
[[File:Installation-alpine-alpine-setup-5-setup-scripts-hostname.png]]
Line 37: Line 38:
===== Initialize network cards =====
===== Initialize network cards =====


Choose your network card, most people can just go with the default (just press enter), a second question will raised about any other configuration, just type "no" and then press enter to bypass the step to property setup after installation finished property.
Choose your network card. Typically, you can just go with the default (press enter), a second question will ask about any other configuration. Type "no" then press enter to bypass the step to property set up after installation finished property.


[[File:Installation-alpine-alpine-setup-6-setup-scripts-networking.png]]
[[File:Installation-alpine-alpine-setup-6-setup-scripts-networking.png]]


'''IMPORTANT NOTE''': mostly in x86 and x64 ISO images we can let configurations for later, cos at the most modern the network card, the lest supported or still not well tested. Just type <code>done</code> and press enter.. if you made some wired configuration later another question will raised, '''will use dhcp?''' Most people will use DHCP, so press enter again, if you have Internet connection from ISP most settings are just DHCP so all will be configured automatically.
'''IMPORTANT NOTE''': mostly in x86 and x64 ISO images we can let configurations for later, cos at the most modern the network card, the lest supported or still not well tested. Just type <code>done</code> and press enter. If you configured the wired interface, another question will be asked, '''use dhcp?''' Most people will use DHCP, so press enter again. If you have Internet connection from ISP, most settings are just DHCP, so all will be configured automatically.


===== Initialize network DNS =====
===== Initialize network DNS =====


The DNS will be automatically detected, if not will ask for, just type for domain "" (empty) then press enter, later and <code>8.8.8.8</code> as picture show and then press enter to next question:
The DNS will be automatically detected, if not, you will be asked ask for the server addresses. Type "" (empty string) for domain, then press enter.
Later you can change it to <code>8.8.8.8</code> (or the DNS server address of your choice) as shown in the picture. Press enter to go to the next question:


[[File:Installation-alpine-alpine-setup-7-setup-scripts-dns.png]]
[[File:Installation-alpine-alpine-setup-7-setup-scripts-dns.png]]


===== Changing password for root =====
===== Changing the root password =====


Next a root password must be defined, twice for confirmation as picture shows, if are too short will said as a warning "bad" but nothing wrong.. just retype and go. Take '''note that when typed no chars will be show''', all will be invisible when type the password.
Next a root password must be defined. You'll need to type it twice for confirmation as the picture shows. If it's too short you will get a warning, but your
password will still work. Just retype it and go.<br>
 
Note: '''when you type, NO chars will be shown'''.


[[File:Installation-alpine-alpine-setup-8-setup-scripts-root-password.png]]
[[File:Installation-alpine-alpine-setup-8-setup-scripts-root-password.png]]


===== Witch timezone to choose? =====
===== Which timezone to choose? =====


Select a timezone, just press enter to use <code>UTC</code> when perform a single installation.
Select a timezone, just press enter to use <code>UTC</code> when perform a single installation.
Line 73: Line 78:
[[File:Installation-alpine-alpine-setup-9-setup-scripts-repository-mirror.png]]
[[File:Installation-alpine-alpine-setup-9-setup-scripts-repository-mirror.png]]


===== Witch ssh server? =====
===== Which ssh server? =====


Choose an SSH server allows you to remotely manage your machine. OpenSSH is what the big distro's use, Dropbear is a tiny SSH replacement. Recommended to type '''openssh''' and then press enter, cos you able to connect using command line from Unix-like systems also is the offline available in all alpine installer images.
Installing an SSH server enables you to manage your machine remotely. OpenSSH is what the big distros use. Dropbear is a tiny SSH replacement. Recommended to type '''openssh''' and then press enter, because you able to connect using command line from Unix-like systems also is the offline available in all alpine installer images.
[[File:Installation-alpine-alpine-setup-9-setup-scripts-ssh.png]]
[[File:Installation-alpine-alpine-setup-9-setup-scripts-ssh.png]]


===== Witch NTP client to run? =====
===== Which NTP client to run? =====


This is for time sync, just press enter to use the image offline available can be changed at post install.
This is for time sync. Press enter to use the image offline. It can be changed after installation.


[[File:Installation-alpine-alpine-setup-9-setup-scripts-time-ntp.png]]
[[File:Installation-alpine-alpine-setup-9-setup-scripts-time-ntp.png]]

Revision as of 17:42, 23 June 2021

Normal setup/install process

After boot up, you will see a command line shell of a complete ready to use Alpine

Note: This process WORKS BEST with recent versions of "STANDARD" file image downloads. Older alpine images (for Rpi, IBM etc) will have some issues, we recommend always use lasted

Login as root

Log in as root and press enter. No password will be asked for if you're running from the boot image.

Running setup alpine script

Run the setup-alpine script as shown in the image:

Select keyboard layout

Choose your keyboard layout. If you don't know your keyboard layout, choose us. Typically, for a Latin American environment, es is enough. For Russian (and maybe Cyrilic) ru is sufficient.

Select keyboard variant

Choose your keyboard variant. If you don't know your keyboard variant, choose the default from the list. For example, the typical Latin American keymap is es-winkeys.

Enter system hostname

Host name, which will be the name of your computer. using localhost is enough and recommended for testing purposes because permits apply mostly to how-tos and tutorials on the wiki pages.

Initialize network cards

Choose your network card. Typically, you can just go with the default (press enter), a second question will ask about any other configuration. Type "no" then press enter to bypass the step to property set up after installation finished property.

IMPORTANT NOTE: mostly in x86 and x64 ISO images we can let configurations for later, cos at the most modern the network card, the lest supported or still not well tested. Just type done and press enter. If you configured the wired interface, another question will be asked, use dhcp? Most people will use DHCP, so press enter again. If you have Internet connection from ISP, most settings are just DHCP, so all will be configured automatically.

Initialize network DNS

The DNS will be automatically detected, if not, you will be asked ask for the server addresses. Type "" (empty string) for domain, then press enter. Later you can change it to 8.8.8.8 (or the DNS server address of your choice) as shown in the picture. Press enter to go to the next question:

Changing the root password

Next a root password must be defined. You'll need to type it twice for confirmation as the picture shows. If it's too short you will get a warning, but your password will still work. Just retype it and go.

Note: when you type, NO chars will be shown.

Which timezone to choose?

Select a timezone, just press enter to use UTC when perform a single installation.

Proxy chooser

Then setup script will ask for proxy chooser.. just type none and then press enter

Enter mirror number

Then setup script will ask for repository mirror chooser.. just type done and then press enter, this will be configure many times later during usage of the system. Almost any tutorial of newbie pages will explain detailed so lest bypass using "done".

Which ssh server?

Installing an SSH server enables you to manage your machine remotely. OpenSSH is what the big distros use. Dropbear is a tiny SSH replacement. Recommended to type openssh and then press enter, because you able to connect using command line from Unix-like systems also is the offline available in all alpine installer images.

Which NTP client to run?

This is for time sync. Press enter to use the image offline. It can be changed after installation.