Open a Nextcloud's DB through a ssh connection

The following post explains how to open and connect your Nextcloud’s DB (MariaDB) by a ssh tunnel. Field description: Server side(GNULinux): Nextcloud: running on Docker-compose engine. OS: Debian with Docker compose installed. Database: MariaDB. Localhost side(GNULinux): OS: Fedora. CLient: Dbeader 7.2.5 Further information you can go to my docker compose Statement here. Edit your docker-compose.yml and add the “ports” key into the statement. $ nano docker-compose.yml ports: - 5555:3306 port: 5555 –> Host....

2020-11-23

Nextcloud bot as Notification System

Following the last post, where I shared how to use Telegram’s bot; on this post I’m going to explain how implement it by Chat Nextcloud API. This post is useful for those have a Nexctcloud deployment running at home/cloud. Assuming you have already Nextcloud up and running, we can create the new user, that we are gonna use it as “BOT” we will need the chat room token and the “BOT” credentials....

2020-10-09

Telegram Bot as Notification System

From one older post “Create a job using crontab” I used into my script the service exim4/ssmtp as mail server using gmail, but as we’re trying to walk away of Google’s jaw, I switched my notification engine to Telegram by an API service(bot)… almost it’s a step forward ! :) Requirement: Bot (Telegram) Web Browser Terminal(script) I will assume you have already set up your Bot on Telegram with BotFather...

2020-09-24

How to deploy Wordpress + Mariadb using Docker

Below you will see the statement I used to deploy a Wordpress as db mariadb (mysql); I shared it to you, cos I’ve been looking out for a good .yml statement piece, but some of them are older or put other set frontend as nginx, etc. I did a simple and easier deployment statement, so here we have: version: '3.3' services: wordpress: depends_on: - db image: wordpress:latest volumes: - ./html:/var/www/html ports: - "8080:80" restart: always environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_USER: wordpress WORDPRESS_DB_PASSWORD: password links: - db depends_on: - db db: image: mariadb:10....

2020-08-08

OpenVPN usando Raspberry Pi3 + Noip

Requisitos: RaspberryPi –> https://www.raspberrypi.org/downloads/raspberry-pi-os/ OpenVPN –> https://pivpn.io/ Cuenta abierta –> https://www.noip.com/ Una IP Estatica en tu Raspberry –> Router manual Router con capacidad de tunel VPN —> IPsec, PPTP, L2TP. Public IP —> https://www.whatismyip.net/ Pasos: 1. Crear DNS Record A en Noip Apunta tu IP publica Abre tu sesion con tus credenciales en Noip Dentro del Dashboard ve al apartado “Dynamic DNS > Create Hostname” rellena: hostname, ejemplo: test Domain, ejemplo: ddns....

2020-07-15

Setup Podman service in Silverblue by Systemd

Into my Devops learning path 👨‍💻 I decided to deploy a monitoring centre into my workstation where I could be able to watch my containers, resources, logs, etc and continue improving my knowledge, in my case I’m using Silverblue developed by Fedora so in here it’s a little bit different the setup; as monitoring tool I choose Cockpit for its great integration and support. Workstation: Silverblue 🖥️ Container engine: Podman ⚙️ Monitoring tool(app/service):Cockpit 📦 I splinted out the instructions in 4 simple parts:...

2020-07-07

How to set your Domain name in Linux

Resume to set a domain name in Linux concepts: FQDN (Fully Qualified Domain Name) eg: hostname = server1 // FQDN = server1.example.com 1. First add FQDN to your hostname in /etc/hosts file. # cat /etc/hosts 10.120.68.23 server1.example.com server1 confirm the FQDN issue the following command: # hostname -f server1.example.com 2.1. Configure domain name (Red Hat RHEL, Fedora and CentOS) From these path add the parameters needs vi /etc/sysconfig/network DOMAINNAME=<domainname> vi /etc/sysctl....

2020-05-31

Display OLED Arduino

On this post I’ll explaining how to setup a little OLED screen 128X64 on Arduino Leonardo Tools: Chit: Arduino Leonardo Screen: Led OLED display 128x64 bought here Workstation: Silverblue Fedora 33 Compiler: Arduino IDE Over here you can see the connection diagram. Steps: Install the Arduino IDE from Flathub repo. Now you have the flatpak Arduino app, below you will see older information related to a bug of the last Arduino Flatpak version, but now it fixed....

2020-05-17

LineageOS 17.1 in Xiaomi A2 Lite (Daisy)

LineageOS17.1 in Xiaomi A2 Lite (Daisy) The follow instructions are done by adb and twrp commands line. OS used: Windows 10 Requirement: adb fastboot tool USB drivers Xiaomi driver Set into your android device: USB debugging option enable. Disable Encryption on the phone (DisableForceEncryption.zip) Packages(download and leave the installation packages into your mobile SD): LineageOS 17.1 for Xiaomi “Daisy” TWRP GApps Press the dlower button + power button to boot in Plug the mobile on your pc....

2020-04-03

Add your app into the Gnome Desktop Menu

I’ve been looking for a encryptation app open source, to encrypt my files into Cloud with a touch of off-online control, and I found this nice app called Cryptomator. I downloaded the extension .Appimage, so the following instruction I will explain is how to set the .appimage into the app menu in Gnome. Download the Cryptomator by the link above. Set the permission below: #chmod a+x cryptomator-1.4.15-x86_64.AppImage The try to execute the file by a shell terminal or just double click on it ( to confirm it was downloaded fined)...

2020-03-30