Skip to content

Instantly share code, notes, and snippets.

@mezcel
Last active December 26, 2018 01:45
Show Gist options
  • Select an option

  • Save mezcel/8aa8e2c61275381ca34e0097653dc0a9 to your computer and use it in GitHub Desktop.

Select an option

Save mezcel/8aa8e2c61275381ca34e0097653dc0a9 to your computer and use it in GitHub Desktop.
Alpine Linux Notes

Alpine Linux

Just some post install apps for Alpine Linux

#!/bin/bash
# ip link set wlan0 up
# iwlist wlan0 scanning
# iwconfig wlan0 essid youSSidName
# nano /etc/apk/repositories
echo "http://mirror.math.princeton.edu/pub/alpinelinux/v3.8/main" >> /etc/apk/repositories
echo "http://mirror.math.princeton.edu/pub/alpinelinux/v3.8/community" >> /etc/apk/repositories
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
/etc/init.d/wpa_supplicant start
echo "
apk update
"
apk update
apk add wireless-tools wpa_supplicant
read -p "[enter]" pauseVar
echo "
apk add man man-pages
"
apk add man man-pages
read -p "[enter]" pauseVar
echo "
apk add bash bash-doc bash-completion
"
apk add bash bash-doc bash-completion
read -p "[enter]" pauseVar
echo "
apk add util-linux
"
apk add util-linux
read -p "[enter]" pauseVar
echo "
apk add pciutils usbutils coreutils
"
apk add pciutils usbutils coreutils
read -p "[enter]" pauseVar
echo "
apk add udisks2 udisks2-doc
"
apk add udisks2 udisks2-doc
read -p "[enter]" pauseVar
echo "
apk add build-base
setup-xorg-base
"
apk add build-base
setup-xorg-base
read -p "[enter]" pauseVar
echo "
apk add git nano
apk add xterm
apk add openbox
apk add dbus
apk add faenza-icon-theme
apk add xf86-input-mouse xf86-input-keyboard
apk add kbd
"
apk add git nano
apk add xterm
apk add openbox feh
apk add dbus
apk add faenza-icon-theme
apk add xf86-input-mouse xf86-input-keyboard
apk add xf86-video-amdgpu xf86-video-ati
apk add kbd
apk add ncurses gawk grep dialog sed bc
# echo 'awesome' >> ~/.xinitrc
# echo "exec startxfce4" >> ~/.xinitrc
sudo cp -R /etc/xdg/openbox ~/.config/
echo "exec openbox-session" >> ~/.xinitrc
# mkdir ~/.config
# cp -r /etc/xdg/awesome ~/.config
sudo rc-update add dbus
# rc-update add lxdm
apk add alsa-utils alsa-utils-doc alsa-lib alsaconf
sudo adduser -g 'mezcel' mezcel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment