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/01 12:47] – 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]=" | ||
</ | </ | ||
==== Install Alpine Packages ==== | ==== Install Alpine Packages ==== | ||
- | | + | |
Once Alpine image is started with Qemu... It will by default launch DHCP client as defined in "/ | Once Alpine image is started with Qemu... It will by default launch DHCP client as defined in "/ | ||
Line 67: | Line 66: | ||
- edit ''/ | - edit ''/ | ||
- disable DHCP... edit / | - disable DHCP... edit / | ||
- | - enable startup script: '' | + | - enable startup script: '' |
Line 79: | Line 78: | ||
==== Install Alpine Desktop ==== | ==== Install Alpine Desktop ==== | ||
- | => http:// | + | Let's create a new QemuNet image called " |
- | __Note__: to install new packages, first enable DHCP in / | + | $ cp --sparse=auto alpine.img alpinex.img |
+ | |||
+ | Then, add these lines in qemunet.cfg: | ||
+ | |||
+ | <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 xfce4 lxdm firefox | + | $ 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 | ||
+ | $ rc-update add dbus ; rc-service dbus start | ||
+ | $ rc-update add udev ; rc-service udev start | ||
+ | |||
+ | Add a desktop user (as sudoer): | ||
$ adduser toto # password toto | $ adduser toto # password toto | ||
- | $ addgroup sudo ; addgroup toto sudo | + | $ addgroup sudo |
- | $ visudo | + | $ addgroup toto sudo |
- | $ rc-update add lxdm | + | $ emacs / |
- | $ apk add faenza-icon-theme # for icons | + | |
+ | Launch the XFCE4 desktop with LXDM: | ||
+ | |||
+ | $ rc-service | ||
+ | |||
+ | 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:// | ||
==== Biblio ==== | ==== Biblio ==== |
qemunet/install/alpine.1517489263.txt.gz · Last modified: 2024/03/18 15:05 (external edit)