I marked the line with a comment:
"TerminalServerUsers=tsuers"
in file /etc/xrdp/sesman.ini
and it worked for me.
Oracle Universal Credits - How do they work? What discount rates are possible and how you can use existing software licenses to optimize your purchase.
How to securely store, retrieve, and use sensitive data with Docker services
How to deploy a stack to a swarm
I have a docker image tagged as me/my-image, and I have a private repo on the dockerhub named me-private.
When I push my me/my-image, I end up always hitting the public repo.
What is the exact syn...
The personal, minimalist, super fast, database-free bookmarking service
How to pass command line arguments to a python Docker container - Before getting into the docker container arguments we must know about python command line arguments and how they are accessed by the developer. Command line arguments are of great use when we want our python script to be controlled outside of the program. Access the python script’s command line ar
We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.
Make an Intel Mac Boot Directly to Startup Manager
How to install Graphical User Interface (GUI) and XRDP for AlmaLinux 9 & Rocky Linux 9 Cloud Servers - LayerStack Tutorials
Desinstalación de paquetes previos
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
Instalación
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Prueba de funcionamiento
sudo docker run hello-world
Error relativo a AppArmor
docker: Error response from daemon: AppArmor enabled on system but the docker-default profile could not be loaded: running `/usr/sbin/apparmor_parser apparmor_parser -Kr /var/lib/docker/tmp/docker-default3965615640` failed with output: apparmor_parser: Unable to replace "docker-default". Permission denied; attempted to load a profile while confined?
Desinstalación de AppArmor
systemctl stop apparmor
systemctl disable apparmor
apt remove --assume-yes --purge apparmor
Si todavía error de permisos
- Habilitar el Nesting en las propiedades del contenedor Proxmox
-
systemctl status/start/stop pve-container@107
-
Para entrar desde PVE en un contenedor: pct enter CTID
-
Ruta de los ficheros de configuración de los contenedores LXC: root@elite:/etc/pve/nodes/elite/lxc#
-
Ruta de los ficheros de configuración de las VMs: root@elite:/etc/pve/nodes/elite/qemu-server#
-
Rutas de las discos (.raw) de contenedores LXC: root@elite:/var/lib/vz/images/102/vm-102-disk-0.raw
-
Ficheros cfg de configuración del entorno: /etc/pve#
root@elite:/etc/pve# ls *.c* -la
-rw-r----- 1 root www-data 447 Feb 4 13:01 corosync.conf
-rw-r----- 1 root www-data 13 Jan 15 2023 datacenter.cfg
-rw-r----- 1 root www-data 0 Feb 4 14:38 replication.cfg
-rw-r----- 1 root www-data 600 Feb 4 13:40 storage.cfg
-rw-r----- 1 root www-data 44 Feb 1 2023 user.cfg
AÑADIR ACCESO POR VNC A UNA VM
- Add a line to the VM's configuration file /etc/pve/local/qemu-server/<VMID>.conf which specifies the VNC display number as follows ("77" in the example below):
args: -vnc 0.0.0.0:77 - If you want to use password protection, add:
args: -vnc 0.0.0.0:77,password=on - Go to the VM's 'Monitor' panel in the web interface, or otherwise open an HMP connection. Then, use the following command:
set_password vnc foobar1 -d vnc2 - Conectar con el cliente VNC al servidor Proxmox, no a la VM, por el puerto 5977 en este caso (59+port)
SI NO APARECEN LOS CT TEAMPLATES DE TURNKEY
# pveam update
MONTAR UNA RUTA NFS EN UN LXC SIN PRIVILEGIOS
- Add a line to the VM's configuration file /etc/pve/local/lxc/<lxcid>.conf which specifies the folder in the PVE host and the folder in the LXC container:
mp0: /mnt/qnap_multimedia,mp=/mnt/qnap_multimedia - Restart container
DAR A UN NODO MÁS DE UN VOTO DE CARA A QUORUM
- Editar con nano /etc/pve/corosync.conf
- Anadir un voto adicional al nodo correspondiente en quorum_votes:
- Añadir en una unidad config_version: en totem
logging {
debug: off
to_syslog: yes
}
nodelist {
node {
name: elite
nodeid: 2
quorum_votes: 2
ring0_addr: 192.168.1.225
}
node {
name: pve
nodeid: 1
quorum_votes: 1
ring0_addr: 192.168.1.230
}
}
quorum {
provider: corosync_votequorum
}
totem {
cluster_name: proxmoxcl
config_version: 3
interface {
linknumber: 0
}
ip_version: ipv4-6
link_mode: passive
secauth: on
version: 2
}
FORZAR EL ARRANQUE DE CLUSTER SIN CONTAR CON QUORUM
pvecm expected 1Supported NSX and ESXi versions on stateful servers.
VMware NSX is a network virtualization solution that allows you to build SDN in virtualized datacenters. The difference between NSX-v and VMware NSX-T is explained below.
Overview With the release of VMware NSX 4.0 VMware announced the deprecation of NSX standard load balancer and the intention to replace it with NSX Advanced Load Balancer (formerly Avi Networks). This is not quite a new message since the advise to adopt NSX ALB for greenfield deployments has been out and followed for quite