- Instalación de virt-manager
-
Primero necesitamos añadir algo de información para construir virt-manager y qemu correctamente:
echo "app-emulation/virt-manager gui policykit sasl" | sudo tee /etc/portage/package.use/virt-manager
echo "app-emulation/qemu fuse lzo nfs numa opengl plugins python snappy ssh usbredir vde vte " | sudo tee /etc/portage/package.use/qemu
-
## prerequirements (VPS - XL) - after entered the rescuesystem | |
bash | |
mkfs.ext4 /dev/sda1 | |
mkfs.ext4 /dev/sda3 | |
mount /dev/sda3 /mnt/gentoo | |
mkdir /mnt/gentoo/boot | |
cd /mnt/gentoo | |
#stage3: https://www.gentoo.org/downloads/#other-arches | current: http://distfiles.gentoo.org/releases/amd64/autobuilds/20170525/stage3-amd64-20170525.tar.bz2 | |
wget <PASTED_STAGE_URL> |
This will work with either networkd or NetworkManager as a resolver. In fact, this is the only way to do bridged KVM (libvirtd) networking with NetworkManager.
If you're using NetworkManager (on a desktop or laptop, for example) on your KVM host, follow these instructions to set up a bridge interface.
Once you have the host bridge set up, proceed as follows:
- Create a bridge network device inside KVM. Edit and save the below text as file host-bridge.xml:
Had to do this for some advanced networking with KVM, and couldn't figure out how to do it using the Nework Manager gui. Did find an article later that showed how to do it with nmtui, but it's so much easier to record what you did when using the cli.
Note: I now set net.ifnames=0
in grub for all my machines, to ensure my device names are "predictable" (so the first ethernet device will be "eth0" and not "ens1", "eno1 or anything else).
To see what everything looks like before starting:
# Title: Install LMDE (Linux Mint Debian Edition) 17 with LVM on LUKS (encryption) & hibernation support | |
# | |
# Description: These are very rough notes for installing LMDE with | |
# encryption via LVM on top of LUKS. | |
# - This includes SWAP being within LUKS | |
# - Includes fixing hibernation (which will also apply to Debian Jessie or greater) | |
######## | |
# 1. Boot from LMDE DVD/USB/... |
Postman is a usefull app to build and test APIs, most commonly installed on ubuntu-like systems via snap. On recent distributions of Linux Mint (20 and above), snap installs are no longer possible. The instructions below show how to install Postman via the terminal.
$ wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
$ sudo tar -xzf postman.tar.gz -C /opt
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y apt-utils | |
RUN a2enmod rewrite | |
RUN apt install -y libmcrypt-dev | |
RUN docker-php-ext-install mcrypt | |
RUN apt install -y libicu-dev | |
RUN docker-php-ext-install -j$(nproc) intl | |
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
- Mover linea - Alt + ↑ / ↓
- Copiar linea - Shift + Alt + ↑ / ↓
- Seleccionar todas las apariciones - Ctrl + Shift + L
- Crear múltiples cursores - Ctrl + Alt+ ↑ / ↓
- Selección multiple - Alt + Click
- Mover bloque - Seleccionar . Alt + ↑ / ↓
- Copiar bloque - Seleccionar . Shift + Alt + ↑ / ↓
- Comentar linea - Ctrl + \ || esp(Ctrl + ç)