update to pelican v4.6.0

This commit is contained in:
Jesús 2021-09-20 20:59:37 -05:00
parent 4e9acc1892
commit 8597539c45
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
10 changed files with 287 additions and 33 deletions

View File

@ -47,6 +47,7 @@ The basic requirements are:
From a terminal, install the yowsup2 package with pip as root. From a terminal, install the yowsup2 package with pip as root.
:::console
# pip install yowsup2 # pip install yowsup2
After you have installed it, make sure that in the file After you have installed it, make sure that in the file

View File

@ -41,6 +41,7 @@ Los requisitos básicos son:
Desde un terminal, instala el paquete yowsup2 con pip como root. Desde un terminal, instala el paquete yowsup2 con pip como root.
:::console
# pip install yowsup2 # pip install yowsup2
Después de haberlo instalado, asegúrate que en el archivo Después de haberlo instalado, asegúrate que en el archivo

View File

@ -107,13 +107,13 @@ In the first one, I will create the files that I put as an example
**script.sh:** **script.sh:**
#!bash :::bash
#!/bin/bash #!/bin/bash
echo "Hello world" echo "Hello world"
**script.sh.new:** **script.sh.new:**
#!sh :::sh
#!/bin/sh #!/bin/sh
echo "Hello world" echo "Hello world"
echo "This is a patched file :D" echo "This is a patched file :D"
@ -125,7 +125,7 @@ Now we will do what most internet tutorials tell you to do:
And it looks like this: And it looks like this:
#!diff :::diff
--- script.sh 2018-03-16 15:52:49.887087539 -0300 --- script.sh 2018-03-16 15:52:49.887087539 -0300
+++ script.sh.new 2018-03-16 15:53:02.490420209 -0300 +++ script.sh.new 2018-03-16 15:53:02.490420209 -0300
@@ -1,2 +1,3 @@ @@ -1,2 +1,3 @@
@ -140,7 +140,7 @@ Everything apparently fine, but now let's apply that patch
$ diff -u script.sh script.sh.new | patch -p1 -i /dev/stdin $ diff -u script.sh script.sh.new | patch -p1 -i /dev/stdin
``` ```
#!diff :::diff
can't find file to patch at input line 3 can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option? Perhaps you used the wrong -p or --strip option?
The text leading up to this was: The text leading up to this was:
@ -168,7 +168,7 @@ Okay, now let's make the patch with diff:
$ diff -ur a b $ diff -ur a b
``` ```
#!diff :::diff
Only in b: binary_file.bin Only in b: binary_file.bin
diff -ur a/script.sh b/script.sh diff -ur a/script.sh b/script.sh
--- a/script.sh 2018-03-16 15:37:27.513802777 -0300 --- a/script.sh 2018-03-16 15:37:27.513802777 -0300
@ -193,7 +193,7 @@ See what happens if I use `git` instead of `diff`:
$ git diff --no-prefix --no-index --no-renames --binary a b $ git diff --no-prefix --no-index --no-renames --binary a b
``` ```
#!diff :::diff
diff --git b/binary_file.bin b/binary_file.bin diff --git b/binary_file.bin b/binary_file.bin
new file mode 100644 new file mode 100644
index 0000000000000000000000000000000000000000..1ce3c1c596d7a7f400b0cc89bda5a41eed2780c5 index 0000000000000000000000000000000000000000..1ce3c1c596d7a7f400b0cc89bda5a41eed2780c5

View File

@ -98,13 +98,13 @@ En el primero, crearé los archivos que puse de ejemplo (valga la redundancia) y
**script.sh:** **script.sh:**
#!sh :::bash
#!/bin/bash #!/bin/bash
echo "Hello world" echo "Hello world"
**script.sh.new:** **script.sh.new:**
#!sh :::sh
#!/bin/sh #!/bin/sh
echo "Hello world" echo "Hello world"
echo "This is a patched file :D" echo "This is a patched file :D"
@ -116,7 +116,7 @@ Ahora haremos lo que la mayoría de tutoriales de internet te dicen que hagas:
Y me queda así: Y me queda así:
#!diff :::diff
--- script.sh 2018-03-16 15:52:49.887087539 -0300 --- script.sh 2018-03-16 15:52:49.887087539 -0300
+++ script.sh.new 2018-03-16 15:53:02.490420209 -0300 +++ script.sh.new 2018-03-16 15:53:02.490420209 -0300
@@ -1,2 +1,3 @@ @@ -1,2 +1,3 @@
@ -131,7 +131,7 @@ Todo aparentemente bien, pero ahora apliquemos dicho parche
$ diff -u script.sh script.sh.new | patch -p1 -i /dev/stdin $ diff -u script.sh script.sh.new | patch -p1 -i /dev/stdin
``` ```
#!diff :::diff
can't find file to patch at input line 3 can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option? Perhaps you used the wrong -p or --strip option?
The text leading up to this was: The text leading up to this was:
@ -159,7 +159,7 @@ Bien, ahora hagamos el parche con diff:
$ diff -ur a b $ diff -ur a b
``` ```
#!diff :::diff
Sólo en b: archivo_binario.bin Sólo en b: archivo_binario.bin
diff -ur a/script.sh b/script.sh diff -ur a/script.sh b/script.sh
--- a/script.sh 2018-03-16 15:37:27.513802777 -0300 --- a/script.sh 2018-03-16 15:37:27.513802777 -0300
@ -184,7 +184,7 @@ Mira lo que pasa si uso `git` en vez de `diff`:
$ git diff --no-prefix --no-index --no-renames --binary a b $ git diff --no-prefix --no-index --no-renames --binary a b
``` ```
#!diff :::diff
diff --git b/archivo_binario.bin b/archivo_binario.bin diff --git b/archivo_binario.bin b/archivo_binario.bin
new file mode 100644 new file mode 100644
index 0000000000000000000000000000000000000000..1ce3c1c596d7a7f400b0cc89bda5a41eed2780c5 index 0000000000000000000000000000000000000000..1ce3c1c596d7a7f400b0cc89bda5a41eed2780c5

View File

@ -22,10 +22,12 @@ that will be updated.
We check if there is an Internet connection We check if there is an Internet connection
:::console
# ping -c 3 gnu.org # ping -c 3 gnu.org
Partition disk Partition disk
:::console
# cfdisk # cfdisk
- In case of the partition chosen as **swap** go to "Type" option and select **82 (Linux swap)** from list. - In case of the partition chosen as **swap** go to "Type" option and select **82 (Linux swap)** from list.
@ -49,76 +51,92 @@ example:
`wifi` detect `wifi` detect
:::console
# iw dev # iw dev
Enable device of network Enable device of network
:::console
# ip link set <device-name> up # ip link set <device-name> up
Enable Internet with `wpa_supplicant` Enable Internet with `wpa_supplicant`
:::console
# wpa_supplicant -B -i <device-name> -c <(wpa_passphrase "ssid" "psk") # wpa_supplicant -B -i <device-name> -c <(wpa_passphrase "ssid" "psk")
Renew IPv4 with `dhcpcd` Renew IPv4 with `dhcpcd`
:::console
# dhcpcd <device-name> # dhcpcd <device-name>
### Partition Formatting ### Partition Formatting
- `/boot`, **ext4** will be used - `/boot`, **ext4** will be used
:::console
# mkfs -t ext4 /dev/sda1 # mkfs -t ext4 /dev/sda1
- `/`, **ext4** will be used - `/`, **ext4** will be used
:::console
# mkfs -t ext4 /dev/sda2 # mkfs -t ext4 /dev/sda2
- `/home`, **ext4** will be used - `/home`, **ext4** will be used
:::console
# mkfs -t ext4 /dev/sda3 # mkfs -t ext4 /dev/sda3
- `swap`, **mkswap** will be used - `swap`, **mkswap** will be used
:::console
# mkswap /dev/sda4 # mkswap /dev/sda4
- Enable swap partition - Enable swap partition
:::console
# swapon /dev/sda4 # swapon /dev/sda4
### Organization of Partitions ### Organization of Partitions
- Mount root in /mnt - Mount root in /mnt
:::console
# mount /dev/sda2 /mnt # mount /dev/sda2 /mnt
- Make directories of other partitions - Make directories of other partitions
- boot - boot
:::console
# mkdir /mnt/boot # mkdir /mnt/boot
- home - home
:::console
# mkdir /mnt/home # mkdir /mnt/home
- Mount other partitions - Mount other partitions
- Mount boot - Mount boot
:::console
# mount /dev/sda1 /mnt/boot # mount /dev/sda1 /mnt/boot
- Mount home - Mount home
:::console
# mount /dev/sda3 /mnt/home # mount /dev/sda3 /mnt/home
### Base System Installation ### Base System Installation
Update keys of hyperiso: Update keys of hyperiso:
:::console
# pacman -Sy hyperbola-keyring # pacman -Sy hyperbola-keyring
Install base packages: Install base packages:
:::console
# pacstrap /mnt base base-devel grub-bios wpa_supplicant iw kernel-firmware ldns xenocara-input-synaptics # pacstrap /mnt base base-devel grub-bios wpa_supplicant iw kernel-firmware ldns xenocara-input-synaptics
> Install `xenocara-input-synaptics` only on laptops > Install `xenocara-input-synaptics` only on laptops
@ -127,70 +145,86 @@ Install base packages:
- Generate fstab file - Generate fstab file
:::console
# genfstab -U -p /mnt >> /mnt/etc/fstab # genfstab -U -p /mnt >> /mnt/etc/fstab
- Inside chroot and configure base system - Inside chroot and configure base system
:::console
# arch-chroot /mnt # arch-chroot /mnt
- Set hostname, to edit `/etc/hostname` file: - Set hostname, to edit `/etc/hostname` file:
Example: Example:
:::console
# echo hyperpc > /etc/hostname # echo hyperpc > /etc/hostname
- Set localtime - Set localtime
:::console
# ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime # ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime
- Update system time to UTC (Optional) - Update system time to UTC (Optional)
:::console
# hwclock --systohc --utc # hwclock --systohc --utc
- Enable our location, uncomment - Enable our location, uncomment
# sed -e 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' -i /etc/locale.gen :::console
# sed -e 's|^#en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|g' -i /etc/locale.gen
- Set location preferences - Set location preferences
:::console
# echo LANG=en_US.UTF-8 > /etc/locale.conf # echo LANG=en_US.UTF-8 > /etc/locale.conf
- Generate location - Generate location
:::console
# locale-gen # locale-gen
- If you need to change keymap, configure in `/etc/conf.d/keymaps` file - If you need to change keymap, configure in `/etc/conf.d/keymaps` file
:::console
# sed -e 's/^keymap="us"/keymap="uk"/g' -i /etc/conf.d/keymaps # sed -e 's/^keymap="us"/keymap="uk"/g' -i /etc/conf.d/keymaps
- Install Grub - Install Grub
:::console
# grub-install --target=i386-pc --recheck /dev/sda # grub-install --target=i386-pc --recheck /dev/sda
- Create grub.cfg file - Create grub.cfg file
:::console
# grub-mkconfig -o /boot/grub/grub.cfg # grub-mkconfig -o /boot/grub/grub.cfg
- Edit ramdisk - Edit ramdisk
:::console
# nano -w /etc/mkinitcpio.conf # nano -w /etc/mkinitcpio.conf
----------------------------- -----------------------------
HOOKS="base udev autodetect modconf block filesystems keyboard fsck" HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
- Generate ramdisk - Generate ramdisk
:::console
# mkinitcpio -p linux-libre-lts # mkinitcpio -p linux-libre-lts
- Set root user password - Set root user password
:::console
# passwd # passwd
- Configure [wpa_supplicant][wpa_link]{:target='_blank' rel='noopener noreferrer'} - Configure [wpa_supplicant][wpa_link]{:target='_blank' rel='noopener noreferrer'}
:::console
# nano -w /etc/wpa_supplicant/wpa_supplicant.conf # nano -w /etc/wpa_supplicant/wpa_supplicant.conf
and inside: and inside:
:::bash
#!bash #!bash
ctrl_interface=/var/run/wpa_supplicant ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel ctrl_interface_group=wheel
@ -203,50 +237,61 @@ Install base packages:
Add to service by default Add to service by default
:::console
# rc-update add wpa_supplicant default # rc-update add wpa_supplicant default
- [DHCPCD][dhcpcd_link]{:target='_blank' rel='noopener noreferrer'} - [DHCPCD][dhcpcd_link]{:target='_blank' rel='noopener noreferrer'}
Add to service by default Add to service by default
:::console
# rc-update add dhcpcd default # rc-update add dhcpcd default
- Close chroot - Close chroot
:::console
# exit # exit
- Unmount partitions - Unmount partitions
:::console
# umount '/mnt/{boot,home,}' # umount '/mnt/{boot,home,}'
- Reboot - Reboot
:::console
# reboot # reboot
### Adding a user ### Adding a user
- Create user group, for example: `libre` - Create user group, for example: `libre`
:::console
# groupadd libre # groupadd libre
- Create user `freedom` and add it to basic groups - Create user `freedom` and add it to basic groups
:::console
# useradd -m -G audio,disk,games,http,input,lp,network,optical,power,scanner,storage,sys,video,wheel -g libre -s /bin/bash freedom # useradd -m -G audio,disk,games,http,input,lp,network,optical,power,scanner,storage,sys,video,wheel -g libre -s /bin/bash freedom
- Assign password - Assign password
:::console
# passwd freedom # passwd freedom
- Edit `/etc/sudoers` file - Edit `/etc/sudoers` file
# sed -i /etc/sudoers -e 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' :::console
# sed -i /etc/sudoers -e 's|^# %wheel ALL=(ALL) ALL|%wheel ALL=(ALL) ALL|g'
- Reboot pc - Reboot pc
:::console
# reboot # reboot
- Upgrade system - Upgrade system
:::console
$ sudo pacman -Syu $ sudo pacman -Syu
### BASE graphical interface ### BASE graphical interface
@ -255,36 +300,44 @@ Install base packages:
Check video trademark: Check video trademark:
:::console
# lspci | grep -e VGA # lspci | grep -e VGA
Install one, depending of trademark: Install one, depending of trademark:
AMD: AMD:
:::console
# pacman -S xorg-video-amdgpu # pacman -S xorg-video-amdgpu
Ati: Ati:
:::console
# pacman -S xenocara-video-ati # pacman -S xenocara-video-ati
Intel: Intel:
:::console
# pacman -S xorg-video-intel # pacman -S xorg-video-intel
Nvidia: Nvidia:
:::console
# pacman -S xorg-video-nouveau # pacman -S xorg-video-nouveau
Vesa (generic): Vesa (generic):
:::console
# pacman -S xenocara-video-vesa # pacman -S xenocara-video-vesa
#### Xenocara components #### Xenocara components
:::console
# pacman -S xenocara-server xenocara-xinit xenocara # pacman -S xenocara-server xenocara-xinit xenocara
#### Mesa demos #### Mesa demos
:::console
# pacman -S mesa mesa-demos # pacman -S mesa mesa-demos
#### Setting in keyboard language for Xenocara #### Setting in keyboard language for Xenocara
@ -296,10 +349,12 @@ maintained after reboot.
Here's an example: Here's an example:
:::console
# nano -w /etc/X11/xorg.conf.d/00-keyboard.conf # nano -w /etc/X11/xorg.conf.d/00-keyboard.conf
and inside write: and inside write:
:::bash
#!bash #!bash
Section "InputClass" Section "InputClass"
Identifier "system-keyboard" Identifier "system-keyboard"
@ -320,10 +375,12 @@ key combination.
- Check keyboard settings: - Check keyboard settings:
:::console
# setxkbmap -print -verbose 10 # setxkbmap -print -verbose 10
- Typefaces - Typefaces
:::console
# pacman -S ttf-liberation ttf-bitstream-vera ttf-dejavu ttf-droid # pacman -S ttf-liberation ttf-bitstream-vera ttf-dejavu ttf-droid
Next, we will proceed to create the personal folders. Next, we will proceed to create the personal folders.
@ -334,24 +391,29 @@ generates this directories.
- Directory generator installation: - Directory generator installation:
:::console
# pacman -S xdg-user-dirs # pacman -S xdg-user-dirs
- Automatic directory creation: - Automatic directory creation:
:::console
# xdg-user-dirs-update # xdg-user-dirs-update
#### Audio support #### Audio support
Install `pulseadio` Install `pulseadio`
:::console
# pacman -S pulseaudio pulseaudio-alsa alsa-utils pavucontrol # pacman -S pulseaudio pulseaudio-alsa alsa-utils pavucontrol
Add audio service to default Add audio service to default
:::console
# rc-update add alsasound default # rc-update add alsasound default
#### Configure pulseaudio #### Configure pulseaudio
:::console
# sed -e 's/^; autospawn = yes/autospawn = yes/g' -i /etc/pulse/client.conf # sed -e 's/^; autospawn = yes/autospawn = yes/g' -i /etc/pulse/client.conf
### Officially supported desktop environments ### Officially supported desktop environments
@ -365,6 +427,7 @@ traditional desktop experience.
- Installation - Installation
:::console
# pacman -S mate mate-extra # pacman -S mate mate-extra
Where: Where:
@ -381,6 +444,7 @@ remaining visually attractive and easy to use.
- Installation - Installation
:::console
# pacman -S xfce4 xfce4-goodies # pacman -S xfce4 xfce4-goodies
Where: Where:
@ -396,6 +460,7 @@ LXDE is a free desktop environment. Abbreviation means
- Installation - Installation
:::console
# pacman -S lxde # pacman -S lxde
#### Install KDE Plasma #### Install KDE Plasma
@ -411,6 +476,7 @@ released on July 15, 2014.
- Installation - Installation
:::console
# pacman -S plasma kde-applications plasma-wayland-session # pacman -S plasma kde-applications plasma-wayland-session
Where: Where:
@ -425,6 +491,7 @@ Where:
Uncomment your desktop installed, example file `~/.xinitrc`: Uncomment your desktop installed, example file `~/.xinitrc`:
:::bash
#!bash #!bash
#!/bin/sh #!/bin/sh
# #
@ -443,7 +510,7 @@ Where:
# exec gnome-session # exec gnome-session
# exec gnome-session --session=gnome-classic # exec gnome-session --session=gnome-classic
# exec startkde # exec startkde
# exec startxfce4 exec startxfce4
# exec startfluxbox # exec startfluxbox
# exec openbox-session # exec openbox-session
# exec cinnamon-session # exec cinnamon-session
@ -463,14 +530,17 @@ Where:
Example: `lightdm` Example: `lightdm`
:::console
# pacman -S lightdm lightdm-gtk-greeter # pacman -S lightdm lightdm-gtk-greeter
Add to service by default Add to service by default
:::console
# rc-update add lightdm default # rc-update add lightdm default
- Reboot - Reboot
:::console
# reboot # reboot
### Tools ### Tools
@ -479,34 +549,40 @@ Where:
- gvfs to mount disks - gvfs to mount disks
:::console
# pacman -S gamin gvfs # pacman -S gamin gvfs
#### Net #### Net
- dhcpcd-ui for IP management - dhcpcd-ui for IP management
:::console
# pacman -S dhcpcd-ui # pacman -S dhcpcd-ui
#### Key manager #### Key manager
- gnome-kering - gnome-kering
:::console
# pacman -S gnome-keyring # pacman -S gnome-keyring
#### Volume applet #### Volume applet
- Volume icon - Volume icon
:::console
# pacman -S volumeicon # pacman -S volumeicon
#### Synchronize Local Time #### Synchronize Local Time
Install NTP Install NTP
:::console
# pacman -S ntp # pacman -S ntp
Synchronize Time Synchronize Time
:::console
# ntpdate -u hora.roa.es # ntpdate -u hora.roa.es
#### File compressors #### File compressors
@ -519,40 +595,49 @@ of these file compressors, we will add support for 7Z, RAR, ZIP and others.
- GZip (known with extension ".tar.gz"): - GZip (known with extension ".tar.gz"):
:::console
# pacman -S zlib haskell-zlib # pacman -S zlib haskell-zlib
- BZip2: - BZip2:
:::console
# pacman -S bzip2 # pacman -S bzip2
- RAR: - RAR:
:::console
# pacman -S unar # pacman -S unar
- 7Zip: - 7Zip:
:::console
# pacman -S p7zip lrzip # pacman -S p7zip lrzip
- ZIP: - ZIP:
:::console
# pacman -S zip libzip unzip # pacman -S zip libzip unzip
#### Partition detector #### Partition detector
- Udisk utility: - Udisk utility:
:::console
# pacman -S udevil autofs # pacman -S udevil autofs
- Reading and writing NTFS file systems: - Reading and writing NTFS file systems:
:::console
# pacman -S ntfs-3g # pacman -S ntfs-3g
- FAT32 file system read and write: - FAT32 file system read and write:
:::console
# pacman -S fatsort exfat-utils dosfstools # pacman -S fatsort exfat-utils dosfstools
- Reading and writing XFS file systems: - Reading and writing XFS file systems:
:::console
# pacman -S xfsprogs # pacman -S xfsprogs
#### Multimedia support #### Multimedia support
@ -563,30 +648,37 @@ Here I suggest some players that you may find useful.
- Codecs: - Codecs:
:::console
# pacman -S ffmpeg gstreamer gst-libav gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-plugins-base gstreamer-vaapi gst-transcoder ffms2 x264 libvorbis libvpx libtheora opus vorbis-tools # pacman -S ffmpeg gstreamer gst-libav gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-plugins-base gstreamer-vaapi gst-transcoder ffms2 x264 libvorbis libvpx libtheora opus vorbis-tools
- Audacious player: - Audacious player:
:::console
# pacman -S audacious # pacman -S audacious
- SMPlayer: - SMPlayer:
:::console
# pacman -S smplayer smplayer-themes smplayer-skins # pacman -S smplayer smplayer-themes smplayer-skins
- VLC player: - VLC player:
:::console
# pacman -S vlc # pacman -S vlc
- MPV player: - MPV player:
:::console
# pacman -S mpv # pacman -S mpv
- Lightweight image viewer - Lightweight image viewer
:::console
# pacman -S viewnior # pacman -S viewnior
- PDF viewer - PDF viewer
:::console
# pacman -S epdfview # pacman -S epdfview
#### Aplicaciones UXP #### Aplicaciones UXP
@ -599,14 +691,17 @@ internet suite and a email-manager called
- Iceweasel-UXP: - Iceweasel-UXP:
:::console
# pacman -S iceweasel-uxp # pacman -S iceweasel-uxp
- Iceape-UXP: - Iceape-UXP:
:::console
# pacman -S iceape-uxp # pacman -S iceape-uxp
- Icedove-UXP: - Icedove-UXP:
:::console
# pacman -S icedove-uxp # pacman -S icedove-uxp
#### LibreOffice #### LibreOffice
@ -614,21 +709,25 @@ In general, when using an Operating System, at least you have an office suite.
In GNU/Linux, it's customary to have one. Fortunately in Hyperbola, Libreoffice In GNU/Linux, it's customary to have one. Fortunately in Hyperbola, Libreoffice
is presented in its stable version. For install, run: is presented in its stable version. For install, run:
:::console
# pacman -S libreoffice-still # pacman -S libreoffice-still
##### Spell check ##### Spell check
To check spelling you will need hunspell and a hunspell dictionary (such as hunspell-en_US, hunspell-es, etc) To check spelling you will need hunspell and a hunspell dictionary (such as hunspell-en_US, hunspell-es, etc)
:::console
# pacman -S hunspell hunspell-en_US # pacman -S hunspell hunspell-en_US
##### Hyphenation and justification ##### Hyphenation and justification
To have provide rules you also need `hyphen` + a set of rules (hyphen-en, hyphen-de, etc) To have provide rules you also need `hyphen` + a set of rules (hyphen-en, hyphen-de, etc)
:::console
# pacman -S hyphen hyphen-en # pacman -S hyphen hyphen-en
##### Synonyms ##### Synonyms
For Synonyms option you will need `mythes` + a mythes synonym library (`mythes-en` `mythes-es`) For Synonyms option you will need `mythes` + a mythes synonym library (`mythes-en` `mythes-es`)
:::console
# pacman -S mythes mythes-en # pacman -S mythes mythes-en
#### Security #### Security
@ -637,6 +736,7 @@ a tool called **[firejail][firejail]{:target='_blank' rel='noopener noreferrer'}
in combination with a graphical interface in combination with a graphical interface
**[firetools][firetools]{:target='_blank' rel='noopener noreferrer'}**. **[firetools][firetools]{:target='_blank' rel='noopener noreferrer'}**.
:::console
# pacman -S firejail firetools # pacman -S firejail firetools
#### Social #### Social
@ -644,15 +744,18 @@ Hyperbola have programs for communication:
- Gajim - Gajim
:::console
# pacman -S gajim python2-axolotl # pacman -S gajim python2-axolotl
- Tox - Tox
- qtox: - qtox:
:::console
# pacman -S qtox # pacman -S qtox
- toxic: - toxic:
:::console
# pacman -S toxic # pacman -S toxic
#### Identifying keycodes #### Identifying keycodes
@ -662,6 +765,7 @@ for a key to be pressed and, if there is none for 10 seconds, closes.
To run showkey you need to be in a virtual console, not in a graphical To run showkey you need to be in a virtual console, not in a graphical
environment: environment:
:::console
# showkey --keycodes # showkey --keycodes
[video-guide]: https://lablibre.tuxfamily.org/hyperbola-gnu-linux-libre-base/ [video-guide]: https://lablibre.tuxfamily.org/hyperbola-gnu-linux-libre-base/

View File

@ -20,14 +20,17 @@ que se irá actualizando.
Configuración teclado temporal Configuración teclado temporal
:::console
# loadkeys es # loadkeys es
Comprobamos si hay conexión a Internet Comprobamos si hay conexión a Internet
:::console
# ping -c 3 gnu.org # ping -c 3 gnu.org
Particionar disco Particionar disco
:::console
# cfdisk # cfdisk
- En el caso de la partición elegida como **swap** ir a la opción "Type" y seleccionar **82 (Linux swap)** de la lista. - En el caso de la partición elegida como **swap** ir a la opción "Type" y seleccionar **82 (Linux swap)** de la lista.
@ -51,76 +54,92 @@ ejemplo:
Detectar `wifi` Detectar `wifi`
:::console
# iw dev # iw dev
Activar dispositivo de Red Activar dispositivo de Red
:::console
# ip link set <nombre-del-dispositivo> up # ip link set <nombre-del-dispositivo> up
Activar Internet con `wpa_supplicant` Activar Internet con `wpa_supplicant`
:::console
# wpa_supplicant -B -i <nombre-de-dispositivo> -c <(wpa_passphrase "ssid" "psk") # wpa_supplicant -B -i <nombre-de-dispositivo> -c <(wpa_passphrase "ssid" "psk")
Renovar IPv4 con `dhcpcd` Renovar IPv4 con `dhcpcd`
:::console
# dhcpcd <nombre-de-dispositivo> # dhcpcd <nombre-de-dispositivo>
### Formateo de Particiones ### Formateo de Particiones
- En `/boot` se utilizará **ext4** - En `/boot` se utilizará **ext4**
:::console
# mkfs -t ext4 /dev/sda1 # mkfs -t ext4 /dev/sda1
- En `/` se utilizará **ext4** - En `/` se utilizará **ext4**
:::console
# mkfs -t ext4 /dev/sda2 # mkfs -t ext4 /dev/sda2
- En `/home`, se utilizará **ext4** - En `/home`, se utilizará **ext4**
:::console
# mkfs -t ext4 /dev/sda3 # mkfs -t ext4 /dev/sda3
- En `swap`, se utilizará **mkswap** - En `swap`, se utilizará **mkswap**
:::console
# mkswap /dev/sda4 # mkswap /dev/sda4
- Activamos la partición swap - Activamos la partición swap
:::console
# swapon /dev/sda4 # swapon /dev/sda4
### Organización de Particiones ### Organización de Particiones
- Montamos root en /mnt - Montamos root en /mnt
:::console
# mount /dev/sda2 /mnt # mount /dev/sda2 /mnt
- Creamos los directorios de las otras particiones - Creamos los directorios de las otras particiones
- boot - boot
:::console
# mkdir /mnt/boot # mkdir /mnt/boot
- home - home
:::console
# mkdir /mnt/home # mkdir /mnt/home
- Montamos las particiones correspondientes - Montamos las particiones correspondientes
- Montar boot - Montar boot
:::console
# mount /dev/sda1 /mnt/boot # mount /dev/sda1 /mnt/boot
- Montar home - Montar home
:::console
# mount /dev/sda3 /mnt/home # mount /dev/sda3 /mnt/home
### Instalación del Sistema Base ### Instalación del Sistema Base
Actualizamos las llaves de la iso: Actualizamos las llaves de la iso:
:::console
# pacman -Sy hyperbola-keyring # pacman -Sy hyperbola-keyring
Instalamos los paquetes base: Instalamos los paquetes base:
:::console
# pacstrap /mnt base base-devel grub-bios wpa_supplicant iw kernel-firmware ldns xenocara-input-synaptics # pacstrap /mnt base base-devel grub-bios wpa_supplicant iw kernel-firmware ldns xenocara-input-synaptics
> Instalar `xenocara-input-synaptics` Solo en laptops (ordenadores portátiles) > Instalar `xenocara-input-synaptics` Solo en laptops (ordenadores portátiles)
@ -129,71 +148,87 @@ Instalamos los paquetes base:
- Generar el archivo fstab - Generar el archivo fstab
:::console
# genfstab -U -p /mnt >> /mnt/etc/fstab # genfstab -U -p /mnt >> /mnt/etc/fstab
- Efectuar chroot y configurar el sistema base - Efectuar chroot y configurar el sistema base
:::console
# arch-chroot /mnt # arch-chroot /mnt
- Establecer nombre del equipo para esto tenemos que editar el archivo `/etc/hostname`: - Establecer nombre del equipo para esto tenemos que editar el archivo `/etc/hostname`:
Ejemplo: Ejemplo:
:::console
# echo hyperpc > /etc/hostname # echo hyperpc > /etc/hostname
- Configurar lugar - Configurar lugar
:::console
# ln -s /usr/share/zoneinfo/America/Lima /etc/localtime # ln -s /usr/share/zoneinfo/America/Lima /etc/localtime
- Actualizar hora del sistema (Opcional) - Actualizar hora del sistema (Opcional)
:::console
# hwclock --systohc --utc # hwclock --systohc --utc
- Activar nuestra localización, descomentar - Activar nuestra localización, descomentar
:::console
# sed -e 's/^#es_ES.UTF-8 UTF-8/es_ES.UTF-8 UTF-8/g' -i /etc/locale.gen # sed -e 's/^#es_ES.UTF-8 UTF-8/es_ES.UTF-8 UTF-8/g' -i /etc/locale.gen
- Establecer las preferencias de localización - Establecer las preferencias de localización
:::console
# echo LANG=es_ES.UTF-8 > /etc/locale.conf # echo LANG=es_ES.UTF-8 > /etc/locale.conf
- Generamos la localización - Generamos la localización
:::console
# locale-gen # locale-gen
- Como la configuración regional, debe configurar el mapa de teclas en el archivo `/etc/conf.d/keymaps`. - Como la configuración regional, debe configurar el mapa de teclas en el archivo `/etc/conf.d/keymaps`.
Ver lista completa con `cat /usr/share/X11/xkb/rules/evdev.lst` Ver lista completa con `cat /usr/share/X11/xkb/rules/evdev.lst`
:::console
# sed -e 's/^keymap="us"/keymap="es"/g' -i /etc/conf.d/keymaps # sed -e 's/^keymap="us"/keymap="es"/g' -i /etc/conf.d/keymaps
- Instalación del Grub - Instalación del Grub
:::console
# grub-install --target=i386-pc --recheck /dev/sda # grub-install --target=i386-pc --recheck /dev/sda
- Creamos el archivo grub.cfg - Creamos el archivo grub.cfg
:::console
# grub-mkconfig -o /boot/grub/grub.cfg # grub-mkconfig -o /boot/grub/grub.cfg
- Editar ramdisk - Editar ramdisk
:::console
# nano -w /etc/mkinitcpio.conf # nano -w /etc/mkinitcpio.conf
----------------------------- -----------------------------
HOOKS="base udev autodetect modconf block filesystems keyboard fsck" HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
- Generar ramdisk - Generar ramdisk
:::console
# mkinitcpio -p linux-libre-lts # mkinitcpio -p linux-libre-lts
- Establecer contraseña del usuario root - Establecer contraseña del usuario root
:::console
# passwd # passwd
- Configurar [wpa_supplicant][wpa_link]{:target='_blank' rel='noopener noreferrer'} - Configurar [wpa_supplicant][wpa_link]{:target='_blank' rel='noopener noreferrer'}
:::console
# nano -w /etc/wpa_supplicant/wpa_supplicant.conf # nano -w /etc/wpa_supplicant/wpa_supplicant.conf
y dentro: y dentro:
:::bash
#!bash #!bash
ctrl_interface=/var/run/wpa_supplicant ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel ctrl_interface_group=wheel
@ -206,50 +241,61 @@ Instalamos los paquetes base:
Agregar a servicio por defecto Agregar a servicio por defecto
:::console
# rc-update add wpa_supplicant default # rc-update add wpa_supplicant default
- [DHCPCD][dhcpcd_link]{:target='_blank' rel='noopener noreferrer'} - [DHCPCD][dhcpcd_link]{:target='_blank' rel='noopener noreferrer'}
Agregar a servicio por defecto Agregar a servicio por defecto
:::console
# rc-update add dhcpcd default # rc-update add dhcpcd default
- Cerrar chroot - Cerrar chroot
:::console
# exit # exit
- Desmontar particiones - Desmontar particiones
:::console
# umount '/mnt/{boot,home,}' # umount '/mnt/{boot,home,}'
- Reiniciar - Reiniciar
:::console
# reboot # reboot
### Creación de usuario ### Creación de usuario
Crear el grupo de usuario, por ejemplo: `libre` Crear el grupo de usuario, por ejemplo: `libre`
:::console
# groupadd libre # groupadd libre
Creamos el usuario `freedom` y lo agregamos a los grupos básicos Creamos el usuario `freedom` y lo agregamos a los grupos básicos
:::console
# useradd -m -G audio,disk,games,http,input,lp,network,optical,power,scanner,storage,sys,video,wheel -g libre -s /bin/bash freedom # useradd -m -G audio,disk,games,http,input,lp,network,optical,power,scanner,storage,sys,video,wheel -g libre -s /bin/bash freedom
- Asignamos contraseña - Asignamos contraseña
:::console
# passwd freedom # passwd freedom
- Editamos el archivo `/etc/sudoers` - Editamos el archivo `/etc/sudoers`
:::console
# sed -i /etc/sudoers -e 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g' # sed -i /etc/sudoers -e 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/g'
- Reiniciamos el equipo - Reiniciamos el equipo
:::console
# reboot # reboot
- Actualización del sistema - Actualización del sistema
:::console
$ sudo pacman -Syu $ sudo pacman -Syu
### Interfaz gráfica BASE ### Interfaz gráfica BASE
@ -258,36 +304,44 @@ Creamos el usuario `freedom` y lo agregamos a los grupos básicos
Comprobar marca: Comprobar marca:
:::console
# lspci | grep -e VGA # lspci | grep -e VGA
Instalar una de ellas dependiendo de la marca: Instalar una de ellas dependiendo de la marca:
AMD: AMD:
:::console
# pacman -S xorg-video-amdgpu # pacman -S xorg-video-amdgpu
Ati: Ati:
:::console
# pacman -S xenocara-video-ati # pacman -S xenocara-video-ati
Intel: Intel:
:::console
# pacman -S xorg-video-intel # pacman -S xorg-video-intel
Nvidia: Nvidia:
:::console
# pacman -S xorg-video-nouveau # pacman -S xorg-video-nouveau
Vesa (genérico): Vesa (genérico):
:::console
# pacman -S xenocara-video-vesa # pacman -S xenocara-video-vesa
#### Componentes Xenocara #### Componentes Xenocara
:::console
# pacman -S xenocara-server xenocara-xinit xenocara # pacman -S xenocara-server xenocara-xinit xenocara
#### Mesa demos #### Mesa demos
:::console
# pacman -S mesa mesa-demos # pacman -S mesa mesa-demos
#### Ajuste en el idioma de teclado para Xenocara #### Ajuste en el idioma de teclado para Xenocara
@ -298,11 +352,12 @@ Este método crea la configuración para todo el sistema, que se mantiene despu
He aquí un ejemplo: He aquí un ejemplo:
:::console
# nano -w /etc/X11/xorg.conf.d/00-keyboard.conf # nano -w /etc/X11/xorg.conf.d/00-keyboard.conf
y dentro colocar: y dentro colocar:
#!bash :::bash
Section "InputClass" Section "InputClass"
Identifier "system-keyboard" Identifier "system-keyboard"
MatchIsKeyboard "on" MatchIsKeyboard "on"
@ -321,10 +376,12 @@ al otro solo basta usar la combinación de teclas `ALT+SHIFT`
- Comprobar la configuración del teclado: - Comprobar la configuración del teclado:
:::console
# setxkbmap -print -verbose 10 # setxkbmap -print -verbose 10
- Tipografías - Tipografías
:::console
# pacman -S ttf-liberation ttf-bitstream-vera ttf-dejavu ttf-droid # pacman -S ttf-liberation ttf-bitstream-vera ttf-dejavu ttf-droid
A continuación, procederemos a crear las carpetas personales. A continuación, procederemos a crear las carpetas personales.
@ -334,24 +391,29 @@ automática los directorios.
- Instalación del generador de directorios: - Instalación del generador de directorios:
:::console
# pacman -S xdg-user-dirs # pacman -S xdg-user-dirs
- Creación automática de directorios: - Creación automática de directorios:
:::console
# xdg-user-dirs-update # xdg-user-dirs-update
#### Soporte de audio #### Soporte de audio
Instalar `pulseadio` Instalar `pulseadio`
:::console
# pacman -S pulseaudio pulseaudio-alsa alsa-utils pavucontrol # pacman -S pulseaudio pulseaudio-alsa alsa-utils pavucontrol
Agregar el servicio de audio a por defecto Agregar el servicio de audio a por defecto
:::console
# rc-update add alsasound default # rc-update add alsasound default
#### Configurar pulseaudio #### Configurar pulseaudio
:::console
# sed -e 's/^; autospawn = yes/autospawn = yes/g' -i /etc/pulse/client.conf # sed -e 's/^; autospawn = yes/autospawn = yes/g' -i /etc/pulse/client.conf
### Entornos de escritorio soportados oficialmente ### Entornos de escritorio soportados oficialmente
@ -365,6 +427,7 @@ tradicional de un escritorio.
- Instalación: - Instalación:
:::console
# pacman -S mate mate-extra # pacman -S mate mate-extra
Donde: Donde:
@ -381,6 +444,7 @@ sin dejar de ser visualmente atractivo y fácil de usar.
- Instalación - Instalación
:::console
# pacman -S xfce4 xfce4-goodies # pacman -S xfce4 xfce4-goodies
Donde: Donde:
@ -396,6 +460,7 @@ que en español significa: Entorno de escritorio X11 ligero.
- Instalación - Instalación
:::console
# pacman -S lxde # pacman -S lxde
#### Instalar KDE Plasma #### Instalar KDE Plasma
@ -411,6 +476,7 @@ inicialmente el 15 de julio de 2014.
- Instalación - Instalación
:::console
# pacman -S plasma kde-applications plasma-wayland-session # pacman -S plasma kde-applications plasma-wayland-session
Donde: Donde:
@ -425,6 +491,7 @@ Donde:
Descomentar el escritorio que usted instaló, ejemplo de archivo `~/.xinitrc`: Descomentar el escritorio que usted instaló, ejemplo de archivo `~/.xinitrc`:
:::bash
#!bash #!bash
#!/bin/sh #!/bin/sh
# #
@ -443,7 +510,7 @@ Donde:
# exec gnome-session # exec gnome-session
# exec gnome-session --session=gnome-classic # exec gnome-session --session=gnome-classic
# exec startkde # exec startkde
# exec startxfce4 exec startxfce4
# exec startfluxbox # exec startfluxbox
# exec openbox-session # exec openbox-session
# exec cinnamon-session # exec cinnamon-session
@ -463,14 +530,17 @@ Donde:
Ejemplo: `lightdm` Ejemplo: `lightdm`
:::console
# pacman -S lightdm lightdm-gtk-greeter # pacman -S lightdm lightdm-gtk-greeter
Agregar servicio lightdm Agregar servicio lightdm
:::console
# rc-update add lightdm default # rc-update add lightdm default
- Reiniciar - Reiniciar
:::console
# reboot # reboot
### UTILIDADES ### UTILIDADES
@ -479,34 +549,40 @@ Donde:
- gvfs para montar discos - gvfs para montar discos
:::console
# pacman -S gamin gvfs # pacman -S gamin gvfs
#### Red #### Red
- dhcpcd-ui para gestión de IP's - dhcpcd-ui para gestión de IP's
:::console
# pacman -S dhcpcd-ui # pacman -S dhcpcd-ui
#### Gestor de claves #### Gestor de claves
- gnome-kering - gnome-kering
:::console
# pacman -S gnome-keyring # pacman -S gnome-keyring
#### Applet de volumen #### Applet de volumen
- Ícono de volumen - Ícono de volumen
:::console
# pacman -S volumeicon # pacman -S volumeicon
#### Sincronizar el Horario Local #### Sincronizar el Horario Local
Instalar NTP Instalar NTP
:::console
# pacman -S ntp # pacman -S ntp
Sincronizar Hora Sincronizar Hora
:::console
# ntpdate -u hora.roa.es # ntpdate -u hora.roa.es
#### Compresores de archivos #### Compresores de archivos
@ -519,40 +595,49 @@ le añadiremos el soporte para 7Z, RAR, ZIP y otros.
- GZip (conocidos por la extensión ".tar.gz"): - GZip (conocidos por la extensión ".tar.gz"):
:::console
# pacman -S zlib haskell-zlib # pacman -S zlib haskell-zlib
- BZip2: - BZip2:
:::console
# pacman -S bzip2 # pacman -S bzip2
- RAR: - RAR:
:::console
# pacman -S unar # pacman -S unar
- 7Zip: - 7Zip:
:::console
# pacman -S p7zip lrzip # pacman -S p7zip lrzip
- ZIP: - ZIP:
:::console
# pacman -S zip libzip unzip # pacman -S zip libzip unzip
#### Detector de particiones #### Detector de particiones
- Utilitario Udisk: - Utilitario Udisk:
:::console
# pacman -S udevil autofs # pacman -S udevil autofs
- Lectura y escritura de sistemas de archivos NTFS: - Lectura y escritura de sistemas de archivos NTFS:
:::console
# pacman -S ntfs-3g # pacman -S ntfs-3g
- Lectura y escritura de sistema de archivos FAT32: - Lectura y escritura de sistema de archivos FAT32:
:::console
# pacman -S fatsort exfat-utils dosfstools # pacman -S fatsort exfat-utils dosfstools
- Lectura y escritura de sistemas de archivos XFS: - Lectura y escritura de sistemas de archivos XFS:
:::console
# pacman -S xfsprogs # pacman -S xfsprogs
#### Soporte multimedia #### Soporte multimedia
@ -563,30 +648,37 @@ Aquí les sugiero algunos reproductores que les puede resultar útiles.
- Códecs: - Códecs:
:::console
# pacman -S ffmpeg gstreamer gst-libav gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-plugins-base gstreamer-vaapi gst-transcoder ffms2 x264 libvorbis libvpx libtheora opus vorbis-tools # pacman -S ffmpeg gstreamer gst-libav gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-plugins-base gstreamer-vaapi gst-transcoder ffms2 x264 libvorbis libvpx libtheora opus vorbis-tools
- Reproductor Audacious: - Reproductor Audacious:
:::console
# pacman -S audacious # pacman -S audacious
- Reproductor SMPlayer: - Reproductor SMPlayer:
:::console
# pacman -S smplayer smplayer-themes smplayer-skins # pacman -S smplayer smplayer-themes smplayer-skins
- Reproductor VLC: - Reproductor VLC:
:::console
# pacman -S vlc # pacman -S vlc
- Reproductor MPV: - Reproductor MPV:
:::console
# pacman -S mpv # pacman -S mpv
- Visor de imagenes ligero - Visor de imagenes ligero
:::console
# pacman -S viewnior # pacman -S viewnior
- Visor PDF - Visor PDF
:::console
# pacman -S epdfview # pacman -S epdfview
#### Aplicaciones UXP #### Aplicaciones UXP
@ -599,14 +691,17 @@ y un gestor de correos llamado **[Icedove-UXP][icedove-uxp]{:target='_blank' re
- Iceweasel-UXP: - Iceweasel-UXP:
:::console
# pacman -S iceweasel-uxp iceweasel-uxp-l10n-es-es # pacman -S iceweasel-uxp iceweasel-uxp-l10n-es-es
- Iceape-UXP: - Iceape-UXP:
:::console
# pacman -S iceape-uxp iceape-uxp-l10n-es-es # pacman -S iceape-uxp iceape-uxp-l10n-es-es
- Icedove-UXP: - Icedove-UXP:
:::console
# pacman -S icedove-uxp icedove-uxp-l10n-es-es # pacman -S icedove-uxp icedove-uxp-l10n-es-es
#### LibreOffice #### LibreOffice
@ -614,21 +709,25 @@ Por lo general, a la hora de usar un Sistema Operativo, por lo menos se tiene un
En GNU/Linux, se acostumbra a tener una. Felizmente en Hyperbola, Libreoffice se presenta es su versión estable. En GNU/Linux, se acostumbra a tener una. Felizmente en Hyperbola, Libreoffice se presenta es su versión estable.
Lo único que necesitaríamos es efectuar el siguiente comando: Lo único que necesitaríamos es efectuar el siguiente comando:
:::console
# pacman -S libreoffice-still libreoffice-still-l10n-es # pacman -S libreoffice-still libreoffice-still-l10n-es
##### Corrección de ortografía ##### Corrección de ortografía
Para revisar la ortografía necesitará hunspell y un diccionario de hunspell (como hunspell-es, hunspell-en, etc.) Para revisar la ortografía necesitará hunspell y un diccionario de hunspell (como hunspell-es, hunspell-en, etc.)
:::console
# pacman -S hunspell hunspell-es # pacman -S hunspell hunspell-es
##### Reglas de división de palabras ##### Reglas de división de palabras
Para disponer de las reglas de división también necesitará hyphen + un conjunto de reglas (hyphen-en, hyphen-de) Para disponer de las reglas de división también necesitará hyphen + un conjunto de reglas (hyphen-en, hyphen-de)
:::console
# pacman -S hyphen hyphen-es # pacman -S hyphen hyphen-es
##### Sinónimos ##### Sinónimos
Para la opción Sinónimos necesitará `mythes` + un libro de sinónimos de mythes (`mythes-en mythes-es`) Para la opción Sinónimos necesitará `mythes` + un libro de sinónimos de mythes (`mythes-en mythes-es`)
:::console
# pacman -S mythes mythes-es # pacman -S mythes mythes-es
#### Seguridad #### Seguridad
@ -637,6 +736,7 @@ llamada **[firejail][firejail]{:target='_blank' rel='noopener noreferrer'}**
en combinación con una interfaz gráfica en combinación con una interfaz gráfica
**[firetools][firetools]{:target='_blank' rel='noopener noreferrer'}**. **[firetools][firetools]{:target='_blank' rel='noopener noreferrer'}**.
:::console
# pacman -S firejail firetools # pacman -S firejail firetools
#### Comunicación #### Comunicación
@ -644,15 +744,18 @@ La comunicación a través de Internet es requerida a día de hoy. En Hyperbola
- Gajim - Gajim
:::console
# pacman -S gajim python2-axolotl # pacman -S gajim python2-axolotl
- Tox - Tox
- qtox: - qtox:
:::console
# pacman -S qtox # pacman -S qtox
- toxic: - toxic:
:::console
# pacman -S toxic # pacman -S toxic
#### Identificando keycodes #### Identificando keycodes
@ -662,6 +765,7 @@ showkey espera a que se presione una tecla y, si no hay ninguna durante 10 segun
se cierra. Para ejecutar showkey necesita estar en una consola virtual, se cierra. Para ejecutar showkey necesita estar en una consola virtual,
no en un entorno gráfico. Ejecute el siguiente comando: no en un entorno gráfico. Ejecute el siguiente comando:
:::console
# showkey --keycodes # showkey --keycodes
[video-guide]: https://lablibre.tuxfamily.org/hyperbola-gnu-linux-libre-base/ [video-guide]: https://lablibre.tuxfamily.org/hyperbola-gnu-linux-libre-base/

View File

@ -39,10 +39,12 @@ which is very complete when virtualizing operating systems.
### Check if your PC supports virtualization ### Check if your PC supports virtualization
:::console
$ LC_ALL=C lscpu | grep Virtualization $ LC_ALL=C lscpu | grep Virtualization
or run the command: or run the command:
:::console
$ lsmod | grep kvm $ lsmod | grep kvm
If your computer supports virtualization, you should see the If your computer supports virtualization, you should see the
@ -51,6 +53,7 @@ otherwise your computer is not capable of virtualizing.
### Virtual Machine Manager Installing ### Virtual Machine Manager Installing
:::console
# pacman -Sy # pacman -Sy
# pacman -S virt-manager qemu vde2 dnsmasq bridge-utils openbsd-netcat libvirt firewalld # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils openbsd-netcat libvirt firewalld
@ -61,6 +64,7 @@ otherwise your computer is not capable of virtualizing.
### Check kvm group ### Check kvm group
:::console
# grep -E 'group="kvm"|group="78"' /etc/libvirt/qemu.conf # grep -E 'group="kvm"|group="78"' /etc/libvirt/qemu.conf
Check if there is `group="kvm"` or `group="78"` Check if there is `group="kvm"` or `group="78"`
@ -69,14 +73,17 @@ Check if there is `group="kvm"` or `group="78"`
- kvm_intel module (Intel processors) - kvm_intel module (Intel processors)
:::console
# modprobe kvm_intel # modprobe kvm_intel
- kvm_amd module (AMD processors) - kvm_amd module (AMD processors)
:::console
# modprobe kvm_amd # modprobe kvm_amd
### Verify that the virtual machine is configured correctly ### Verify that the virtual machine is configured correctly
:::console
$ virt-host-validate $ virt-host-validate
### Services ### Services
@ -88,18 +95,22 @@ Here we explain how to start these services:
#### Start libvirtd #### Start libvirtd
:::console
# rc-service libvirtd start # rc-service libvirtd start
#### Add libvirtd for default #### Add libvirtd for default
:::console
# rc-update add libvirtd default # rc-update add libvirtd default
#### Start firewalld #### Start firewalld
:::console
# rc-service firewalld start # rc-service firewalld start
#### Add firewalld for default #### Add firewalld for default
:::console
# rc-update add firewalld default # rc-update add firewalld default
#### Remove Services #### Remove Services
@ -107,6 +118,7 @@ Here we explain how to start these services:
If you want to remove the services and start If you want to remove the services and start
only when you want, run: only when you want, run:
:::console
# rc-update del libvirtd default # rc-update del libvirtd default
# rc-update del firewalld default # rc-update del firewalld default
@ -127,6 +139,7 @@ if you see `0` or `N`, nested virtualization is not supported.
For example: For example:
:::console
$ cat /sys/module/kvm_intel/parameters/nested $ cat /sys/module/kvm_intel/parameters/nested
Y Y
@ -134,16 +147,19 @@ For example:
1. Turn off all running virtual machines and reload `kvm_intel` module: 1. Turn off all running virtual machines and reload `kvm_intel` module:
:::console
# modprobe -r kvm_intel # modprobe -r kvm_intel
2. Activate the nesting function 2. Activate the nesting function
:::console
# modprobe kvm_intel nested=1 # modprobe kvm_intel nested=1
3. Nested virtualization is enabled until the host is restarted. 3. Nested virtualization is enabled until the host is restarted.
To enable it permanently, add the following line to To enable it permanently, add the following line to
`/etc/modprobe.d/kvm.conf` file: `/etc/modprobe.d/kvm.conf` file:
:::console
# nano -w /etc/modprobe.d/kvm.conf # nano -w /etc/modprobe.d/kvm.conf
---------------------------------- ----------------------------------
options kvm_intel nested=1 options kvm_intel nested=1
@ -152,16 +168,19 @@ For example:
1. Turn off all running virtual machines and reload `kvm_amd` module: 1. Turn off all running virtual machines and reload `kvm_amd` module:
:::console
# modprobe -r kvm_amd # modprobe -r kvm_amd
2. Activate the nesting function 2. Activate the nesting function
:::console
# modprobe kvm_amd nested=1 # modprobe kvm_amd nested=1
3. Nested virtualization is enabled until the host is restarted. 3. Nested virtualization is enabled until the host is restarted.
To enable it permanently, add the following line to To enable it permanently, add the following line to
`/etc/modprobe.d/kvm.conf` file: `/etc/modprobe.d/kvm.conf` file:
:::console
# nano -w /etc/modprobe.d/kvm.conf # nano -w /etc/modprobe.d/kvm.conf
---------------------------------- ----------------------------------
options kvm_intel nested=1 options kvm_intel nested=1
@ -190,6 +209,7 @@ security issues which is L1TF and SMT CPU error
with possible data leak. with possible data leak.
It's recommended to disable it as follows: It's recommended to disable it as follows:
:::console
# modprobe -r vhost_net # modprobe -r vhost_net
If you are in Hyperbola GNU/Linux-libre If you are in Hyperbola GNU/Linux-libre

View File

@ -39,10 +39,12 @@ el cual es muy completo al momento de virtualizar sistemas operativos.
### Revisar si su PC soporta virtualización ### Revisar si su PC soporta virtualización
:::console
$ LC_ALL=C lscpu | grep Virtualization $ LC_ALL=C lscpu | grep Virtualization
o ejecutar el comando: o ejecutar el comando:
:::console
$ lsmod | grep kvm $ lsmod | grep kvm
Si su computadora admite virtualización, debería ver Si su computadora admite virtualización, debería ver
@ -51,6 +53,7 @@ caso contrario su ordenador no es capaz de virtualizar.
### Instalando Virtual Machine Manager ### Instalando Virtual Machine Manager
:::console
# pacman -Sy # pacman -Sy
# pacman -S virt-manager qemu vde2 dnsmasq bridge-utils openbsd-netcat libvirt firewalld # pacman -S virt-manager qemu vde2 dnsmasq bridge-utils openbsd-netcat libvirt firewalld
@ -61,6 +64,7 @@ caso contrario su ordenador no es capaz de virtualizar.
### Revisar el grupo kvm ### Revisar el grupo kvm
:::console
# grep -E 'group="kvm"|group="78"' /etc/libvirt/qemu.conf # grep -E 'group="kvm"|group="78"' /etc/libvirt/qemu.conf
Comprobar si existe `group="kvm"` o `group="78"` Comprobar si existe `group="kvm"` o `group="78"`
@ -69,14 +73,17 @@ Comprobar si existe `group="kvm"` o `group="78"`
- Módulo kvm_intel (procesadores Intel) - Módulo kvm_intel (procesadores Intel)
:::console
# modprobe kvm_intel # modprobe kvm_intel
- Módulo kvm_amd (procesadores AMD) - Módulo kvm_amd (procesadores AMD)
:::console
# modprobe kvm_amd # modprobe kvm_amd
### Verifique que la máquina virtual este configurada correctamente ### Verifique que la máquina virtual este configurada correctamente
:::console
$ virt-host-validate $ virt-host-validate
### Servicios ### Servicios
@ -88,18 +95,22 @@ A continuación le explicamos cómo inciar esos servicios:
#### Iniciar libvirtd #### Iniciar libvirtd
:::console
# rc-service libvirtd start # rc-service libvirtd start
#### Agregar libvirtd por defecto #### Agregar libvirtd por defecto
:::console
# rc-update add libvirtd default # rc-update add libvirtd default
#### Iniciar firewalld #### Iniciar firewalld
:::console
# rc-service firewalld start # rc-service firewalld start
#### Agregar firewalld por defecto #### Agregar firewalld por defecto
:::console
# rc-update add firewalld default # rc-update add firewalld default
#### Quitar Servicios #### Quitar Servicios
@ -107,6 +118,7 @@ A continuación le explicamos cómo inciar esos servicios:
Si desea quitar los servicios e iniciar solo cuando Si desea quitar los servicios e iniciar solo cuando
usted desee, ejecute: usted desee, ejecute:
:::console
# rc-update del libvirtd default # rc-update del libvirtd default
# rc-update del firewalld default # rc-update del firewalld default
@ -128,6 +140,7 @@ si ve `0` o `N`, la virtualización anidada no es compatible.
Por ejemplo: Por ejemplo:
:::console
$ cat /sys/module/kvm_intel/parameters/nested $ cat /sys/module/kvm_intel/parameters/nested
Y Y
@ -135,16 +148,19 @@ Por ejemplo:
1. Apague todas las máquinas virtuales en ejecución y recargue el módulo `kvm_intel`: 1. Apague todas las máquinas virtuales en ejecución y recargue el módulo `kvm_intel`:
:::console
# modprobe -r kvm_intel # modprobe -r kvm_intel
2. Activa la función de anidamiento 2. Activa la función de anidamiento
:::console
# modprobe kvm_intel nested=1 # modprobe kvm_intel nested=1
3. La virtualización anidada se habilita hasta que se reinicia el host. 3. La virtualización anidada se habilita hasta que se reinicia el host.
Para habilitarlo permanentemente, agregue la siguiente línea al Para habilitarlo permanentemente, agregue la siguiente línea al
archivo `/etc/modprobe.d/kvm.conf`: archivo `/etc/modprobe.d/kvm.conf`:
:::console
# nano -w /etc/modprobe.d/kvm.conf # nano -w /etc/modprobe.d/kvm.conf
---------------------------------- ----------------------------------
options kvm_intel nested=1 options kvm_intel nested=1
@ -153,16 +169,19 @@ Por ejemplo:
1. Apague todas las máquinas virtuales en ejecución y recargue el módulo `kvm_amd`: 1. Apague todas las máquinas virtuales en ejecución y recargue el módulo `kvm_amd`:
:::console
# modprobe -r kvm_amd # modprobe -r kvm_amd
2. Activa la función de anidamiento 2. Activa la función de anidamiento
:::console
# modprobe kvm_amd nested=1 # modprobe kvm_amd nested=1
3. La virtualización anidada se habilita hasta que se reinicia el host. 3. La virtualización anidada se habilita hasta que se reinicia el host.
Para habilitarlo permanentemente, agregue la siguiente línea al Para habilitarlo permanentemente, agregue la siguiente línea al
archivo `/etc/modprobe.d/kvm.conf`: archivo `/etc/modprobe.d/kvm.conf`:
:::console
# nano -w /etc/modprobe.d/kvm.conf # nano -w /etc/modprobe.d/kvm.conf
---------------------------------- ----------------------------------
options kvm_amd nested=1 options kvm_amd nested=1
@ -191,6 +210,7 @@ que es un error de CPU L1TF y SMT con posible fuga
de datos. Lo recomendable es desactivarlo de la de datos. Lo recomendable es desactivarlo de la
siguiente manera: siguiente manera:
:::console
# modprobe -r vhost_net # modprobe -r vhost_net
Si estás en Hyperbola GNU/Linux-libre este módulo Si estás en Hyperbola GNU/Linux-libre este módulo

View File

@ -77,6 +77,7 @@ AUTHORS_URL = 'pages/créditos/'
AUTHORS_SAVE_AS = 'pages/créditos/index.html' AUTHORS_SAVE_AS = 'pages/créditos/index.html'
ARCHIVES_URL = 'archives/' ARCHIVES_URL = 'archives/'
ARCHIVES_SAVE_AS = 'archives/index.html' ARCHIVES_SAVE_AS = 'archives/index.html'
STATIC_CREATE_LINKS = True
STATIC_PATHS = [ STATIC_PATHS = [
'.htaccess', '.htaccess',
'heckyel_pub.asc', 'heckyel_pub.asc',

View File

@ -1,18 +1,21 @@
Babel==2.8.0 Babel==2.9.1
beautifulsoup4==4.8.2 beautifulsoup4==4.10.0
blinker==1.4 blinker==1.4
docutils==0.16 docutils==0.17.1
feedgenerator==1.9 feedgenerator==1.9.2
html5validator==0.3.3 html5validator==0.4.0
Jinja2==2.10.3 importlib-metadata==4.8.1
Markdown==3.1.1 Jinja2==3.0.1
Markdown==3.3.4
markdown-extra==1.0.1 markdown-extra==1.0.1
MarkupSafe==1.1.1 MarkupSafe==2.0.1
pelican==4.2.0 pelican==4.6.0
Pygments==2.4.2 Pygments==2.10.0
python-dateutil==2.8.1 python-dateutil==2.8.2
pytz==2019.3 pytz==2021.1
PyYAML==5.3 PyYAML==5.4.1
six==1.13.0 six==1.16.0
soupsieve==1.9.5 soupsieve==2.2.1
Unidecode==1.1.1 typing-extensions==3.10.0.2
Unidecode==1.3.2
zipp==3.5.0