instalação do jitsi unstable no debian buster

apt update -y && apt full-upgrade -y && apt install gnupg2 -y && wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | apt-key add - && sh -c "echo 'deb https://download.jitsi.org unstable/' > /etc/apt/sources.list.d/jitsi-unstable.list" && apt update -y && apt install jitsi-meet -y

alterar o ficheiro /etc/systemd/system.conf e adicionar o que se segue:
DefaultLimitNOFILE=65000
DefaultLimitNPROC=65000
DefaultTasksMax=65000

resolver problema câmara web invertida no debian buster

para o Francisco ter vídeo no chrome:
sudo rmmod v4l2loopback
sudo modprobe v4l2loopback exclusive_caps=1
ffmpeg -f v4l2 -i /dev/video0 -vf "vflip" -f v4l2 /dev/video1

para o Francisco ter vídeo no skype:
LIBV4LCONTROL_FLAGS=3 && LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so skypeforlinux

para o Francisco ter vídeo no cheese:
LIBV4LCONTROL_FLAGS=3 && LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so cheese

instalar teamviewer

instalar versão 15:
apt purge teamviewer -y && apt autoremove -y && wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb && apt install ./teamviewer_amd64.deb -y && rm teamviewer_amd64.deb

instalar versão 14:
apt purge teamviewer -y && apt autoremove -y && wget https://download.teamviewer.com/download/linux/version_14x/teamviewer_amd64.deb && apt install ./teamviewer_amd64.deb -y && rm teamviewer_amd64.deb

comandos para gerir rede wireless

iw dev

phy#0
Interface wlp3s0
ifindex 3
wdev 0x1
addr a4:4e:31:88:d8:70
ssid fiota
type managed
channel 6 (2437 MHz), width: 20 MHz, center1: 2437 MHz
txpower 15.00 dBm

iw dev wlp3s0 link

SSID: fiota
freq: 2437
RX: 98769808 bytes (352204 packets)
TX: 124024132 bytes (394757 packets)
signal: -59 dBm
rx bitrate: 115.6 MBit/s MCS 13 short GI
tx bitrate: 130.0 MBit/s MCS 14 short GI

instalar o composer no debian buster

sudo apt install php-cli php-zip wget unzip
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e0012edf3e80b6978849f5eff0d4b4e4c79ff1609dd1e613307e16318854d24ae64f26d17af3ef0bf7cfb710ca74755a') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
php -r "unlink('composer-setup.php');"

atualização do debian 9 (stretch) para o debian 10 (buster) num só comando

apt update -y && apt upgrade -y && apt full-upgrade -y && apt --purge autoremove -y && cp -v /etc/apt/sources.list /root/ && cp -rv /etc/apt/sources.list.d/ /root/ && sed -i 's/stretch/buster/g' /etc/apt/sources.list && sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/* && apt update -y && apt upgrade -y && apt full-upgrade -y && apt --purge autoremove -y && reboot

Subscrever debian