INSTALL ALPINE LINUX IN VIRTUALBOX

Description of your first forum.
Post Reply
admin
Site Admin
Posts: 22
Joined: Sat Jun 20, 2020 1:29 pm

INSTALL ALPINE LINUX IN VIRTUALBOX

Post by admin »

Alpine is a lightweight linux distro with full fledged docker support.
Here we will have list of instruction to install alpine in virtualbox.

1. Download alpine linux: https://www.alpinelinux.org/downloads/. Select required version i will select x86_64.
2. Open virtualbox and select "new".
3. Enter a name of the VM and select OS type as "linux" and version "Linux 2.6 / 3.x / 4.x (64-bit)".
4. Select RAM size minimum 512 MB.
5. Create hard disk minimum 8 GB dynamic VDI.
6. Select created VM click on setting and click on "Storage",then on "Controller:IDE" click on "+" and browse to downloaded alpine linux iso file.
7. Start created alpine VM. Login username "root" with no password.
8. To install alpine enter following command:

Code: Select all

setup-alpine
.
9. Enter keyboard layout

Code: Select all

us
.
Enter keyboard option:

Code: Select all

us
10. Enter hostname. Default is localhost.Press "Enter".
11. Network configuration press "Enter" two times for automatic configuration. Dynamic ip address will be shown.
12. Enter password for root user.
13. Select time zone:

Code: Select all

Asia
.
Select sub-zone:

Code: Select all

Kolkata
14. Select NTP providers. Default is chrony press "Enter".
15. List of mirrors will be there type "r" to select random mirrors.
16. Create a username. For default root press "Enter".
17. Permission for SSH login enter

Code: Select all

yes
.
18. Select disk in which you will install alpine linux:

Code: Select all

sda
.
19. Select disk type:

Code: Select all

sys
.
20. Warning the following disk will be erased:

Code: Select all

y
.
21. Alpine will take some time to install. Type "reboot" to restart VM.
22. Change directory to repositories:

Code: Select all

cd /etc/apk/
23. edit repositories:

Code: Select all

vi repositories
remove "#" at the beginning of repositories links.
Press "Esc" to go into command line and to save enter:

Code: Select all

:wq
24. Update alpine:

Code: Select all

apk update
25. Setup graphical interface:

Code: Select all

setup-xorg-base
26. Search video drivers:

Code: Select all

apk search xf86-video
27. Install selected video drivers:

Code: Select all

apk add xf86-video-fbdev xf86-video-intel xf86-video-vesa
28. Search input drivers for keyboard, mouse etc:

Code: Select all

apk search xf86-input
29. Install selected input drivers:

Code: Select all

apk add xf86-input-synaptics xf86-input-vmmouse
30. Install virtualbox guest addition:

Code: Select all

apk add virtualbox-guest-additions
31. Install gnome utilities:

Code: Select all

apk add gnome bash-completion gnome-terminal gnome-desktop gnome-shell gnome-system-monitor gnome menus gnome-calculator gnome-disk-utility gnome-control-center
32. Add services: (dbus, udev, virtualbox-guest-additions, and gnome desktop manager):

Code: Select all

rc-update add dbus

Code: Select all

rc-update add udev
]

Code: Select all

rc-update add virtualbox-guest-additions

Code: Select all

rc-update add gdm
33. Reboot VM.
We have listed all required instruction for installation of alpine with graphical interface and keyboard mouse support. Please feel free to submit feedback.

Thanks,
Admin

Post Reply