.
INSTALL ALPINE
1) Download Alpine Linux ISO file.
https://alpinelinux.org/downloads/
This tutorial uses Alpine Standard Version 3.15.4 (Released Apr 04, 2022)
https://dl-cdn.alpinelinux.org/alpine/v3.15/releases/x86/alpine-standard-3.15.4-x86.iso
2) Create a New Virtual Machine.
Set Option: Memory size=256MB.
Set Option: Create A Virtual Hard Disk Now
Set Option: VDI Hard Disk Type
Set Option: Dynamically Allocated
Set Option: 20GB
Create.
2) Add the ISO file as Virtual Optical Disk.
3) Run the Virtual Machine.
4) Login as root.
Type: root
5) Run setup
Type: setup-alpine
6) Select keyboard layout
Choose your keyboard layout.
If your using a US (QWERTY) keyboard choose: us.
7) Select keyboard variant
Choose your keyboard variant. If you don't know your keyboard variant you will need to figure that out, for US (QWERTY) keyboards choose: us,
8) Enter system hostname
Host name, which will be the name of your computer. using the default localhost is fine, but you can input a custom hostname if you want,
9) Initialize network cards
Choose your network card. Typically, you can just go with the default (press enter),
The second question will ask you whether or not to use dhcp for your IP Address, unless you have a reason to choose none choose: dhcp
The third question will ask you whether or not you would like to do maunal network configuration, if you dont need to or it can wait until after installation choose: n,
10) Initialize network DNS
The DNS should be automatically detected (you shouldnt see this), if not, you will be asked ask for the server addresses. Type "" (empty string) for domain, then press enter.
Press enter to go to the next question.
11) 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.
12) Timezone
Select a timezone, the default is UTC,
13) Proxy
Then setup script will ask for a proxy, if you want to use a proxy input the needed information now, if not leave it as the default (none)
14) Mirrors
Then setup script will ask for repository mirror chooser.. it will default to [1],
15) 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.
Its recommended to type none if you dont intend to use SSH,
16) NTP client
This is for time sync. Press enter to use the image offline. It can be changed after installation.
17) Partitioning and installation
First choose your disk, e.g: sda
Second, choose your installation mode.
E.g. type sys
18) Confirm Installation.
setup-alpine will now ask you for the last time to confirm that you want to erase the disk and continue, if you are sure type y, if not type n.
OPTIONAL: Perform other post installation tasks: https://wiki.alpinelinux.org/wiki/Post_installation
INSTALLING A DISPLAY SERVER (FOR GRAPHICAL SESSIONS)
1) Xorg
Most desktop environments (DE) or Windows Managers (WM) require Xorg (also called: X11, X).
Type: setup-xorg-base
2) Basic Xfce desktop installation
Type: apk add xfce4 xfce4-terminal xfce4-screensaver lightdm-gtk-greeter dbus
3) Starting dbus (desktop bus) service:
Type: rc-service dbus start
4) Enabling dbus to start on boot:
Type: rc-update add dbus
(If dbus is not running it leads to issues like missing icons and keyboard shortcuts.)
5) Enabling udev service:
Type: rc-update add udev
6) Starting Xfce
With a display manager (graphical login)
Type: rc-service lightdm start
After correct operation is verified, lightdm can be enabled to start up during boot:
Type: rc-update add lightdm
From the command line,
Xfce may be started with: startx
7) Allowing shut down and reboot
Type: apk add elogind polkit-elogind
Type: reboot
DOWNLOAD
OVA File: https://archive.org/download/alpine-standard-3.15.4-x-86
REFRENCES:
https://wiki.alpinelinux.org/wiki/Alpine_newbie_installation
No comments:
Post a Comment