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
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
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/
Code: Select all
vi repositories
Press "Esc" to go into command line and to save enter:
Code: Select all
:wq
Code: Select all
apk update
Code: Select all
setup-xorg-base
Code: Select all
apk search xf86-video
Code: Select all
apk add xf86-video-fbdev xf86-video-intel xf86-video-vesa
Code: Select all
apk search xf86-input
Code: Select all
apk add xf86-input-synaptics xf86-input-vmmouse
Code: Select all
apk add virtualbox-guest-additions
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
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
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