qemunet:install:alpine
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
qemunet:install:alpine [2018/02/05 09:59] – orel | qemunet:install:alpine [2024/03/18 15:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 21: | Line 21: | ||
- | Then, you can configure | + | Then, you can add Alpine |
<code bash qemunet.cfg> | <code bash qemunet.cfg> | ||
Line 28: | Line 28: | ||
FS[alpine]=" | FS[alpine]=" | ||
QEMUOPT[alpine]=" | QEMUOPT[alpine]=" | ||
- | # URL[alpine]=" | ||
</ | </ | ||
Line 67: | Line 66: | ||
- edit ''/ | - edit ''/ | ||
- disable DHCP... edit / | - disable DHCP... edit / | ||
- | - enable startup script: '' | + | - enable startup script: '' |
Line 82: | Line 81: | ||
$ cp --sparse=auto alpine.img alpinex.img | $ cp --sparse=auto alpine.img alpinex.img | ||
+ | | ||
+ | Then, add these lines in qemunet.cfg: | ||
- | To install new packages, first enable DHCP in / | + | <code bash qemunet.cfg> |
+ | # linux alpinex | ||
+ | SYS[alpinex]=" | ||
+ | FS[alpinex]=" | ||
+ | QEMUOPT[alpinex]=" | ||
+ | </ | ||
+ | |||
+ | Then run this image in raw mode: | ||
+ | |||
+ | $ ./ | ||
+ | |||
+ | First enable DHCP in / | ||
+ | |||
+ | To enable french keyboard: | ||
+ | |||
+ | $ apk add kbd setxkbmap | ||
+ | $ setxkbmap fr # for french keyboards | ||
+ | |||
+ | Then install Xorg and XFCE desktop environment: | ||
$ setup-xorg-base | $ setup-xorg-base | ||
+ | $ apk add alpine-desktop | ||
+ | $ apk add faenza-icon-theme | ||
+ | $ apk add xf86-input-mouse xf86-input-keyboard # useful? | ||
+ | $ apk add xf86-video-modesetting # recommended for Qemu guests? | ||
$ apk add dbus lxdm sudo | $ apk add dbus lxdm sudo | ||
- | $ apk add xfce4 # or alpine-desktop | ||
- | $ apk add firefox | ||
- | $ adduser toto # password toto | ||
- | $ addgroup sudo ; addgroup toto sudo | ||
- | $ visudo | ||
- | $ apk add xf86-input-mouse xf86-input-keyboard | ||
- | $ apk add kbd setxkbmap | ||
- | $ setxkbmap fr # for french keybords | ||
- | $ apk add faenza-icon-theme | ||
$ rc-update add dbus ; rc-service dbus start | $ rc-update add dbus ; rc-service dbus start | ||
$ rc-update add udev ; rc-service udev start | $ rc-update add udev ; rc-service udev start | ||
- | | + | |
+ | Add a desktop user (as sudoer): | ||
+ | |||
+ | $ adduser toto # password toto | ||
+ | $ addgroup sudo | ||
+ | $ addgroup toto sudo | ||
+ | $ emacs / | ||
+ | |||
+ | Launch the XFCE4 desktop with LXDM: | ||
+ | |||
+ | | ||
+ | |||
+ | If it works... quit XFCE | ||
+ | |||
+ | $ rc-update add lxdm | ||
$ reboot | $ reboot | ||
+ | |||
+ | To enable " | ||
+ | |||
+ | <code text / | ||
+ | Section " | ||
+ | Identifier " | ||
+ | MatchIsKeyboard " | ||
+ | Option " | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Try to get lightweight system by replacing " | ||
+ | |||
__More details:__ http:// | __More details:__ http:// |
qemunet/install/alpine.1517824786.txt.gz · Last modified: 2024/03/18 15:05 (external edit)