Compare commits
3 Commits
af79a435d2
...
64ccca6cc7
Author | SHA1 | Date |
---|---|---|
Герхард PICCORO Lenz McKAY | 64ccca6cc7 | |
Герхард PICCORO Lenz McKAY | a60c90399f | |
PICCORO Lenz McKAY | 7596343a9c |
|
@ -111,6 +111,10 @@ set ignoreeof
|
||||||
EOF
|
EOF
|
||||||
cp /opt/daru/.cshrc /opt/daru/.bashrc
|
cp /opt/daru/.cshrc /opt/daru/.bashrc
|
||||||
|
|
||||||
|
apk add e2fsprogs e2fsprogs-doc btrfs-progs btrfs-progs-doc exfat-utils exfat-utils-doc f2fs-tools f2fs-tools-doc dosfstools dosfstools-doc xfsprogs xfsprogs-doc jfsutils jfsutils-doc
|
||||||
|
|
||||||
|
apk add testdisk testdisk-doc partimage partimage-doc parted parted-doc util-linux zram-init
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### configuration programs and repositories
|
#### configuration programs and repositories
|
||||||
|
@ -263,33 +267,41 @@ configure the graphical environment to property setup any desktop.
|
||||||
|
|
||||||
1. install programs to manage devices dinamically by the OS and not admin user
|
1. install programs to manage devices dinamically by the OS and not admin user
|
||||||
2. setup service for dynamic device manager at boot, energy management and cpu frecuency management
|
2. setup service for dynamic device manager at boot, energy management and cpu frecuency management
|
||||||
3. install and configure the graphical subsystem and modesetting multi GPU video card support
|
3. install the graphical subsystem and modesetting multi GPU video card support
|
||||||
4. install set of need modules for 2D/3D specific GPU or video card first generation support
|
4. install the programs that manages the 3D backend for graphics
|
||||||
5. install set of need modules for 2D/3D common GPU or video card almost modern still supported
|
5. install set of need modules for basic GPU and dummy ones like virtual machines, avoid if not need.
|
||||||
6. install support for multi resolution and keyboard language configuration over GUI programs
|
6. install set of need modules for 2D/3D specific GPU or video card not so older generation supported
|
||||||
7. install the bus communitacion support, policy management and login backend and frontend
|
7. install set of need modules for 2D/3D common GPU or video card almost modern still supported
|
||||||
8. generate the machine id identification hack for stupid shistemd linux standards
|
8. install support for multi resolution and keyboard language configuration over GUI programs
|
||||||
9. activate the service of the bus cominucations, the policy rules and graphical login backend
|
9. install the bus communitacion support, policy management and login backend and frontend
|
||||||
10. start the service of the bus cominucations, the policy rules and graphical login backend
|
10. generate the machine id identification hack for stupid shistemd linux standards
|
||||||
11. activate the service of the graphical frontend login manager
|
11. activate the service of the bus cominucations, the policy rules and graphical login backend
|
||||||
12. start the service of the graphical frontend login manager
|
12. start the service of the bus cominucations, the policy rules and graphical login backend
|
||||||
13. install support for abstract device filesystem representation using FUSE user space
|
13. activate the service of the graphical frontend login manager
|
||||||
14. activate the service of abstract device filesystem representation using FUSE user space
|
14. start the service of the graphical frontend login manager
|
||||||
15. install software backend for usage of abstract device filesystem representation using FUSE user space
|
15. install support for abstract device filesystem representation using FUSE user space
|
||||||
|
16. activate the service of abstract device filesystem representation using FUSE user space
|
||||||
|
17. install software backend for usage of abstract device filesystem representation using FUSE user space
|
||||||
|
|
||||||
```
|
```
|
||||||
apk add acpi eudev eudev-doc eudev-rule-generator eudev-openrc linux-firmware cpufreqd
|
apk add acpi eudev eudev-doc eudev-rule-generator eudev-openrc linux-firmware cpufreqd pciutils util-linux zram-init
|
||||||
|
|
||||||
rc-update add udev
|
rc-update add udev
|
||||||
rc-update add acpid
|
rc-update add acpid
|
||||||
rc-update add cpufreqd
|
rc-update add cpufreqd
|
||||||
|
|
||||||
setup-xorg-base xinit mesa-dri-gallium xf86-video-dummy xf86-video-modesetting xf86-video-qxl xf86-video-vmware xf86-input-evdev xf86-input-synaptics
|
apk add xorg-server xorg-server-xnest xorg-server-xephyr xorg-server-doc xorg-server-doc xf86-video-dummy xf86-video-modesetting xf86-input-libinput
|
||||||
|
|
||||||
|
apk add mesa xinit mesa-dri-gallium mesa-osmesa mesa-egl mesa-gl mesa-gles freeglut glew glu
|
||||||
|
|
||||||
|
apk add xf86-video-vesa xf86-video-modesetting xf86-video-qxl xf86-video-vmware xf86-input-evdev xf86-input-synaptics
|
||||||
|
|
||||||
apk add xf86-video-r128 xf86-video-s3virge xf86-video-apm xf86-video-i128 xf86-video-glint xf86-video-tdfx xf86-video-openchrome
|
apk add xf86-video-r128 xf86-video-s3virge xf86-video-apm xf86-video-i128 xf86-video-glint xf86-video-tdfx xf86-video-openchrome
|
||||||
|
|
||||||
apk add xf86-video-intel xf86-video-amdgpu xf86-video-ati xf86-video-nouveau xf86-video-nv xf86-video-vesa
|
apk add xf86-video-intel xf86-video-amdgpu xf86-video-ati xf86-video-nouveau xf86-video-nv xf86-video-vesa
|
||||||
|
|
||||||
|
setup-devd udev
|
||||||
|
|
||||||
apk add libxinerama xrandr kbd setxkbmap
|
apk add libxinerama xrandr kbd setxkbmap
|
||||||
|
|
||||||
apk add dbus dbus-x11 elogind elogind-openrc elogind-lang polkit polkit-openrc polkit-elogind lightdm lightdm-lang lightdm-gtk-greeter
|
apk add dbus dbus-x11 elogind elogind-openrc elogind-lang polkit polkit-openrc polkit-elogind lightdm lightdm-lang lightdm-gtk-greeter
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Alpine Linux tutorias and how tos
|
Alpine Linux tutorias and howtos
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
The **tutorials are hands-on docs** expected to try and achieve the goals described
|
The **tutorials are hands-on docs** expected to try and achieve the goals described
|
||||||
|
@ -8,13 +8,16 @@ is the starting point for the following steps.
|
||||||
The **Howtos are smaller articles** explaining how to perform a particular task
|
The **Howtos are smaller articles** explaining how to perform a particular task
|
||||||
with Alpine Linux, that expects a minimal knowledge from reader to perform actions.
|
with Alpine Linux, that expects a minimal knowledge from reader to perform actions.
|
||||||
|
|
||||||
## TUTORIALS AND HOW TOS
|
The **Guides are fast documents** with only direct ways to do a particular task
|
||||||
|
with Alpine Linux, that expects a minimal knowledge from reader to perform actions.
|
||||||
|
|
||||||
|
## TUTORIALS AND HOWTOS
|
||||||
|
|
||||||
We divided the guides, tutorials and howtos in 3 main sections (directories):
|
We divided the guides, tutorials and howtos in 3 main sections (directories):
|
||||||
|
|
||||||
1. [newbies](../newbies) (formal ways of doing things but with explanations, mostly for begginers)
|
1. [newbies](../newbies/README.md) (formal ways of doing things but with explanations, mostly for begginers)
|
||||||
2. [community-way](community-way) (informal ways of doing things, with minimal or no explanations)
|
2. [community-way](community-way/README.md) (quick, fast and forward ways of doing things, mostly for impatients)
|
||||||
3. [professional-way](professional-way) (informal ways but with more explanations and implicit security)
|
3. [professional-way](professional-way/README.md) (informal ways but with more explanations and implicit security)
|
||||||
|
|
||||||
## Acknowledges
|
## Acknowledges
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Alpine XFCE4 desktop setup: FF version
|
# Alpine XFCE4 desktop setup: FF version
|
||||||
===========================================================
|
===========================================================
|
||||||
|
|
||||||
This was using real machine Pentium Dual Core E5500.
|
|
||||||
For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbie/alpine-newbie-xfce-desktop.md)
|
For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbie/alpine-newbie-xfce-desktop.md)
|
||||||
|
|
||||||
### hardware used
|
### hardware used
|
||||||
|
@ -14,7 +13,7 @@ For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../
|
||||||
| GPU | intel G41 | Radeon X1200 For web browsers and modern apps will be need |
|
| GPU | intel G41 | Radeon X1200 For web browsers and modern apps will be need |
|
||||||
| RAM GPU | 256Mb | 1Gb For web browsers and modern apps will be need |
|
| RAM GPU | 256Mb | 1Gb For web browsers and modern apps will be need |
|
||||||
| Storage | 120Gb HDD WD | 256Gb SSD are mandatory for speed |
|
| Storage | 120Gb HDD WD | 256Gb SSD are mandatory for speed |
|
||||||
| ARCH | 32bits (i386/arm6)| 64bits (i386) mandatory for most modern apps unfortunatelly |
|
| ARCH | 32bits (i386/arm6)| 64bits (amd64) mandatory for most modern apps unfortunatelly |
|
||||||
| Audio | AC 97 | HD audio and HDMI audio are a mess |
|
| Audio | AC 97 | HD audio and HDMI audio are a mess |
|
||||||
|
|
||||||
### usernames
|
### usernames
|
||||||
|
@ -27,14 +26,13 @@ For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../
|
||||||
|
|
||||||
|
|
||||||
* [Preparation](#preparation-xfce4-aline)
|
* [Preparation](#preparation-xfce4-aline)
|
||||||
* [Instalation](#instalation)
|
|
||||||
* [setup OS configuration](#setup-os-configuration)
|
* [setup OS configuration](#setup-os-configuration)
|
||||||
* [setup system users](#setup-system-users)
|
* [setup system users](#setup-system-users)
|
||||||
* [setup hardware support](#setup-hardware-support)
|
* [setup hardware support](#setup-hardware-support)
|
||||||
* [setup audio and video](#setup-audio-and-video)
|
* [setup audio and video](#setup-audio-and-video)
|
||||||
* [Instalacion XFCE4 Alpine](#instalacion-xfce4-apine)
|
* [Instalacion XFCE4 Alpine](#instalacion-xfce4-apine)
|
||||||
* [Desktop multimedia and media devices](#desktop-multimedia-and-media-devices)
|
* [Desktop multimedia and media devices](#desktop-multimedia-and-media-devices)
|
||||||
* [Development](#development)
|
* [Development](#development)
|
||||||
* [How to use this guide](#how-to-use-this-guide)
|
* [How to use this guide](#how-to-use-this-guide)
|
||||||
* [Licensing clarifications](#licensing-clarifications)
|
* [Licensing clarifications](#licensing-clarifications)
|
||||||
* [See also](#see-also)
|
* [See also](#see-also)
|
||||||
|
@ -43,13 +41,10 @@ For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../
|
||||||
|
|
||||||
Alpine must be already installed, check [../../newbie/alpine-newbie-install.md](../../newbie/alpine-newbie-install.md),**
|
Alpine must be already installed, check [../../newbie/alpine-newbie-install.md](../../newbie/alpine-newbie-install.md),**
|
||||||
|
|
||||||
**If you dont have direct network connection, please use our direct VenenuX Alpine ISOS**
|
**YOU MUST HAVE DIRECT WIRED INTERNET, if not ask for an ISO from VenenuX:** [https://t.me/alpine_linux/762](https://t.me/s/alpine_linux/762)
|
||||||
[CURRENT LINK https://t.me/alpine_linux/762, but ask in telegram alpine network for newer one or other arches](https://t.me/s/alpine_linux/762)
|
|
||||||
|
|
||||||
#### setup OS configuration
|
#### setup OS configuration
|
||||||
|
|
||||||
For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbie/alpine-newbie-xfce-desktop.md#setup-os-configuration)
|
|
||||||
|
|
||||||
```
|
```
|
||||||
sed -i -r 's|#PermitRootLogin.*|PermitRootLogin no|g' /etc/ssh/sshd_config
|
sed -i -r 's|#PermitRootLogin.*|PermitRootLogin no|g' /etc/ssh/sshd_config
|
||||||
|
|
||||||
|
@ -82,7 +77,7 @@ unsetenv DISPLAY || true
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cp /root/.cshrc /root/.bashrc /root/.profile
|
cp /root/.cshrc /root/.bashrc
|
||||||
|
|
||||||
echo "root:toor" | chpasswd
|
echo "root:toor" | chpasswd
|
||||||
|
|
||||||
|
@ -98,6 +93,7 @@ rm -f /opt/daru/*
|
||||||
mkdir /opt/daru
|
mkdir /opt/daru
|
||||||
cat > /opt/daru/.cshrc << EOF
|
cat > /opt/daru/.cshrc << EOF
|
||||||
unsetenv DISPLAY
|
unsetenv DISPLAY
|
||||||
|
export PAGER=less
|
||||||
set autologout = 6
|
set autologout = 6
|
||||||
set prompt = "$ "
|
set prompt = "$ "
|
||||||
set history = 0
|
set history = 0
|
||||||
|
@ -115,25 +111,32 @@ apk update
|
||||||
|
|
||||||
apk add man-db man-pages nano binutils coreutils readline \
|
apk add man-db man-pages nano binutils coreutils readline \
|
||||||
sed attr dialog lsof less groff wget curl terminus-font \
|
sed attr dialog lsof less groff wget curl terminus-font \
|
||||||
zip p7zip xz tar cabextract cpio binutils lha acpi musl-locales musl-locales-lang
|
zip p7zip xz tar cabextract cpio binutils lha acpi musl-locales musl-locales-lang \
|
||||||
|
e2fsprogs e2fsprogs-doc btrfs-progs btrfs-progs-doc exfat-utils exfat-utils-doc \
|
||||||
|
f2fs-tools f2fs-tools-doc dosfstools dosfstools-doc xfsprogs xfsprogs-doc jfsutils jfsutils-doc \
|
||||||
|
testdisk testdisk-doc partimage partimage-doc parted parted-doc util-linux zram-init
|
||||||
|
|
||||||
export PAGER=less
|
sed -i "s#.*consolefont.*=.*#consolefont="ter-132n.psf.gz"#g" /etc/conf.d/consolefont
|
||||||
|
setfont /usr/share/consolefonts/ter-132n.psf.gz
|
||||||
|
|
||||||
|
rc-update add consolefont boot
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For more extended info check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbie/alpine-newbie-xfce-desktop.md#setup-os-configuration)
|
||||||
|
|
||||||
#### setup system users
|
#### setup system users
|
||||||
|
|
||||||
```
|
```
|
||||||
apk add shadow shadow-uidmap doas musl-locales musl-locales-lang
|
apk add shadow shadow-uidmap doas musl-locales musl-locales-lang
|
||||||
|
|
||||||
cat > /tmp/tmpcs.tmp << EOF
|
cat > /tmp/tmp.tmp << EOF
|
||||||
set history = 10000
|
set history = 10000
|
||||||
set prompt = "$ "
|
set prompt = "$ "
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir /etc/skel
|
mkdir /etc/skel
|
||||||
cat /tmp/tmpcs.tmp > /etc/skel/.cshrc
|
cat /tmp/tmp.tmp > /etc/skel/.cshrc
|
||||||
cat /tmp/tmpbs.tmp > /etc/skel/.bashrc
|
cat /tmp/tmp.tmp > /etc/skel/.bashrc
|
||||||
|
|
||||||
cat > /etc/skel/.Xresources << EOF
|
cat > /etc/skel/.Xresources << EOF
|
||||||
Xft.antialias: 0
|
Xft.antialias: 0
|
||||||
|
@ -173,9 +176,9 @@ For more details check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbi
|
||||||
#### setup hardware support
|
#### setup hardware support
|
||||||
|
|
||||||
```
|
```
|
||||||
apk add acpi eudev eudev-doc eudev-rule-generator eudev-openrc linux-firmware \
|
apk add acpi eudev eudev-doc eudev-rule-generator eudev-openrc pciutils util-linux zram-init \
|
||||||
fuse fuse-exfat-utils fuse-exfat avfs pcre2 cpufreqd bluez bluez-openrc \
|
fuse fuse-exfat-utils fuse-exfat avfs pcre2 cpufreqd bluez bluez-openrc \
|
||||||
wpa_supplicant dhcpcd chrony macchanger wireless-tools iputils \
|
wpa_supplicant dhcpcd chrony macchanger wireless-tools iputils linux-firmware \
|
||||||
networkmanager networkmanager-lang networkmanager-openvpn networkmanager-openvpn-lang
|
networkmanager networkmanager-lang networkmanager-openvpn networkmanager-openvpn-lang
|
||||||
|
|
||||||
rc-update add udev
|
rc-update add udev
|
||||||
|
@ -206,7 +209,8 @@ For more details check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbi
|
||||||
#### setup audio and video
|
#### setup audio and video
|
||||||
|
|
||||||
```
|
```
|
||||||
setup-xorg-base xinit mesa-dri-gallium xf86-video-dummy xf86-video-modesetting xf86-video-vesa
|
apk add xorg-server xorg-server-xnest xorg-server-xnest xorg-server-doc \
|
||||||
|
mesa xinit mesa-dri-gallium xf86-video-dummy xf86-video-modesetting xf86-video-vesa xf86-input-libinput
|
||||||
|
|
||||||
apk add libxinerama xrandr kbd setxkbmap bluez bluez-openrc \
|
apk add libxinerama xrandr kbd setxkbmap bluez bluez-openrc \
|
||||||
dbus dbus-x11 elogind elogind-openrc lightdm lightdm-lang lightdm-gtk-greeter \
|
dbus dbus-x11 elogind elogind-openrc lightdm lightdm-lang lightdm-gtk-greeter \
|
||||||
|
@ -245,7 +249,8 @@ rc-service lightdm restart
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For more details check [../../newbie/alpine-newbie-xfce-desktop.md](../../newbie/alpine-newbie-xfce-desktop.md#setup-software-graphical-fonts-and-languajes)
|
**WARNING** your user name must be `general`, you can put a "human name" as you wish, later.
|
||||||
|
**HINT** check for some xf86-video packages like `xf86-video-intel`, `xf86-video-amdgpu`, `xf86-video-noveau`, `xf86-video-ati` or `xf86-video-nv`
|
||||||
|
|
||||||
## instalacion Xfce4 Alpine
|
## instalacion Xfce4 Alpine
|
||||||
|
|
||||||
|
@ -274,7 +279,7 @@ rc-service lightdm restart
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Desktop multimedia and media devices
|
#### Desktop multimedia and media devices
|
||||||
|
|
||||||
```
|
```
|
||||||
apk add gst-plugins-base gst-plugins-bad gst-plugins-ugly gst-plugins-good gst-plugins-good-gtk \
|
apk add gst-plugins-base gst-plugins-bad gst-plugins-ugly gst-plugins-good gst-plugins-good-gtk \
|
||||||
|
@ -289,9 +294,15 @@ auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
service networking restart
|
||||||
|
|
||||||
|
service wpa_supplicant restart
|
||||||
|
|
||||||
|
service networkmanager restart
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## development
|
#### development
|
||||||
|
|
||||||
```
|
```
|
||||||
apk add pkgconf make cmake gcc gcc-gdc gcc-go g++ gcc-objc gcc-doc \
|
apk add pkgconf make cmake gcc gcc-gdc gcc-go g++ gcc-objc gcc-doc \
|
||||||
|
|
Loading…
Reference in New Issue