Step 1
If any version of postman is installed we need to remove it
sudo rm -rf /opt/Postman
Step 2
# libssl1.1, the only missing mongodb dependency. | |
# I prefer enable oldstable in case this get backport security patches | |
echo "deb http://deb.debian.org/debian bullseye main" | sudo tee /etc/apt/sources.list.d/oldstable-bullseye.list | |
# MongoDB 4.4, [end of life Feb 2024](https://www.mongodb.com/support-policy/lifecycles) | |
curl -fsSL https://pgp.mongodb.com/server-4.4.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg --dearmor | |
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list | |
sudo apt-get update && sudo apt-get install mongodb-org-server -y | |
# Unifi |
https://1drv.ms/u/s!AlN1V2_cNJ1Un1C10Ix36trEuQba?e=II3EG8 |
This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.
This gist will no longer update, instead please go to https://github.com/lifehome/systemd-cfddns for more updated versions.
cfupdater
files to /usr/local/bin
-v4
to cfupdater
in the following systemd service unit.alias wget='wget -q --no-check-certificate' | |
# so that we can install virtualbox via apt-get | |
for x in xenial xenial-security xenial-updates; do | |
egrep -qe "deb-src.* $x " /etc/apt/sources.list || echo "deb-src http://archive.ubuntu.com/ubuntu ${x} main universe" | tee -a /etc/apt/sources.list | |
done | |
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" | tee -a /etc/apt/sources.list.d/virtualbox.list | |
wget https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | apt-key add - | |
apt-get update |
Well, in hope to get more reliable and modern firmware on my Totolink A850R router from aliexpress.com I decided to upgrade it by TOTOLINK A850R-V1.0.2-20151104.zip from Totolink official site. So, I unpacked downloaded ZIP, started to upgrade the TOTOLINK-A850R-V1.0.2-B20151104.1609.web firmware from web admin panel, where the web form counted from 90 till 1 sec, after that page has been reloaded, I waited few more mins, and ... I figured out that my upgrade failed, with next "achievements":
So,
These instructions should work for Streisand as well for others VPN providers (Streisand is a Software that automatically configures a VPS online server with OpenVPN and other VPN/Proxy Softwares in order to have a private VPN Server)
These instructions are for getting an OpenWrt Based Router working as OpenVPN Client (should work for LEDE, Gargoyle and another distributions). Computers connected to Lan Ports of the OpenWrt Router will navigate through the Internet connection of the OpenVPN Server (in this case the Streisand one previously set up) you need a working Router with OpenWrt based firmware flashed on it (LEDE or eko.one.pl could also work) steps works well on Chaos Calmer 15.05 or 15.05.1.
telnet 192.168.1.1
(OpenWrt Router) and set up a password using passwd
You can skip this if you already have a password and can connect using ssh.
/etc/init/tty.conf
to /etc/init/tty-autologin.conf
and edit the new file as follows ("myuser" is the user we want to end up logged in automatically on TTY1):# tty - getty
#
# This service maintains a getty on the specified device.
#
# Do not edit this file directly. If you want to change the behaviour,
# please create a file tty.override and put your changes there.
Our goal here is to have one USB stick to rule them all. Objectives:
The last bullet is subject to interpretation, but I'm defining functional as:
#!/bin/bash | |
# btrfs-undelete | |
# Copyright (C) 2013 Jörg Walter <[email protected]> | |
# This program is free software; you can redistribute it and/or modify it under | |
# the term of the GNU General Public License as published by the Free Software | |
# Foundation; either version 2 of the License, or any later version. | |
if [ ! -b "$1" -o -z "$2" -o -z "$3" ]; then | |
echo "Usage: $0 <dev> <file/dir> <dest>" 1>&2 | |
echo |