podman inspect <container id|name> | grep Pid
ps -fp <PID>
kill -9 <PID>
# to verify:
ps -o pid,stat,cmd -p <PID>
- Creamos el archivo de configuración del SAN
Por ejemplo san.cnfs
[ req ]
default_bits = 2048
prompt = no
default_md = sha256
req_extensions = req_ext
- Crear el directorio de servicios de usuario (si no existe)
mkdir -p ~/.config/systemd/user/
- Crear el archivo del servicio
cat > ~/.config/systemd/user/portainer.service << 'EOF'
[Unit]
- Generate the CA and self-signed certs
openssl req -new -x509 -days 3650 -keyout ca.key -out ca.crt
openssl req -newkey rsa:2048 -nodes -keyout node.key -out node.csr
openssl x509 -req -in node.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out node.crt -days 365
-
Put the certs in
/etc/clickhouse-server/certs/
and adjust the permissions -
Set up your Clickhouse server
Command to create a new user with a home dir, bash login shell and the ability to sudo
sudo useradd -m -s $(which bash) -G sudo <USERNAME>
Error:
This Flatpak does not have write access to ~/.local/share/applications and ~/.local/share/icons, so it cannot install or uninstall PWAs.
Once you grant access to those two directories (Flatseal is the easiest method), you can attempt to re-create the shortcuts from chrome://apps.
Close.
Solution:
flatpak override --user --filesystem=~/.local/share/applications --filesystem=~/.local/share/icons com.google.Chrome # or your preferred browser
- create the rule:
$ sudo nano /etc/udev/rules.d/99-persistent-usb-serial.rules
# write/append following line:
ATTRS{idVendor}=="0457", ATTRS{idProduct}=="0819", ATTRS{busnum}=="1", ATTRS{devnum}=="2", SYMLINK+="touchscreen1", MODE="0666", OWNER=":YOUR_USER"
- get the variabled as follow:
- gsetting assigning a device as a touchscreen
gsettings set org.gnome.desktop.peripherals.touchscreen:/org/gnome/desktop/peripherals/touchscreens/:ID/ output "[':VENDOR', ':PRODUCT', ':SERIAL']"
# example:
gsettings set org.gnome.desktop.peripherals.touchscreen:/org/gnome/desktop/peripherals/touchscreens/0457:0819/ output "['CMN', '0x1626', '0x00000000']"
- how to get :ID
ssh-keygen -t rsa -b 4096 -C "user@remotehost"
ssh-copy-id -i ~/.ssh/id_rsa_user_remotehost.pub user@remotehost
[ -n "$SSH_AUTH_SOCK" ] || eval `ssh-agent -s` # create a new ssh-agent if no agent was found
ssh-add ~/.ssh/id_rsa_user_remotehost
NewerOlder