menu
techminis

A naukri.com initiative

google-web-stories
source image

Itsfoss

2w

read

43

img
dot

Image Credit: Itsfoss

Exploring the Lightweight Alpine Linux in Virtual Box

  • Alpine Linux is an independent distribution that uses OpenRC as the init system and BusyBox by default. It is popular as a container distro since the base docker image is only 5 MB.
  • In this tutorial, the author explains how to install Alpine Linux with Xfce desktop in VirtualBox.
  • First, download the x86_64 Virt ISO that is made specifically for virtual machine setups.
  • Then set up the VirtualBox VM with Alpine ISO. Next, start the VM and login as root to begin the text-based install.
  • During installation, you will go through several steps like keyboard layout, interface selection, root password, timezone settings, SSH settings, partitioning the disk, etc.
  • Once installed, you will land in the console since there is no desktop installed yet. To set up a minimal Xfce desktop and LightDM display manager, install Nano editor using 'apk add nano'.
  • After editing and tweaking some config files, enable the community repositories and install the Xfce and related packages.
  • Now start the LightDM using 'rc-service lightdm start'. If your LightDM GUI has started and prompts a login, log in as root and open a terminal. Next, run the command to enable LightDM to start up during boot.
  • If you want to allow the users to shut down the machine or reboot the system, you need to have polkit-elogind and elogind installed.
  • Finally, reboot the system to run Alpine Linux.

Read Full Article

like

2 Likes

For uninterrupted reading, download the app