Install WireGuard VPN on AlmaLinux linux

Posted on Wed 02 June 2021 in sysadmin • Tagged with RHEL, wireguard, AlmaLinux, VPN, OpenSUSE

Configure WireGuard on AlmaLinux server

Install WireGuard packages on AlmaLinux

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
sudo yum install kmod-wireguard wireguard-tools

Configure new interface

sudo ip link add dev wg0 type wireguard

References


Continue reading

Send Raspberry Pi Camera Video Stream to PeerTube Live

Posted on Sat 08 May 2021 in sysadmin • Tagged with streaming, live video, peertube, raspberrypi, PiCameraTrap

Set Up PeerTube Live

Login into a PeerTube instance that allows live streaming. Create a new live video. Copy the Live RTMP Url and Live stream key.

Install ffmpeg

sudo apt install ffmpeg

Start streaming

ffmpeg -i /dev/video0 -vcodec copy -acodec copy -f flv rtmp://tube.example.com/live …

Continue reading

Build your Own IDE; Install Theia on Fedora

Posted on Fri 26 March 2021 in sysadmin • Tagged with IDE, vscode, yarn, nodejs

Install dependencies

sudo dnf install gcc-g++
source ~/.bashrc
sudo nvm install v12.16.2 -g

Install nodejs and yarn

 https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash

Create a new directory

mkdir theia
cd theia

Create package.json

vim package.json
{
  "private": true,
  "dependencies": {
    "@theia/callhierarchy": "next",
    "@theia …

Continue reading

Install Nvidia drivers on fedora 34

Posted on Fri 26 March 2021 in sysadmin • Tagged with Nvidia, drivers, gpu, fedora

Update package manager and reboot

dnf update
reboot

Enable Nvidia driver repository

sudo dnf config-manager --set-enabled rpmfusion-nonfree-nvidia-driver

Sources


Continue reading

Créer un site .onion sur le Dark Net avec Tor

Posted on Wed 24 March 2021 in sysadmin

Prérequis

Pour créer un site sur le darknet en .onion, il vous faut un serveur avec accès en ssh. Je prendrais l'exemple d'une machine tournant sur debian buster.

Installation de Tor

Ajout du dépôt

vim /etc/apt/sources.list.d/tor.list

deb https://deb.torproject.org/torproject.org buster …

Continue reading