Skip to content

Instantly share code, notes, and snippets.

View rubi022's full-sized avatar
πŸ’­
I may be slow to respond.

rubi022

πŸ’­
I may be slow to respond.
View GitHub Profile
@rubi022
rubi022 / proxmox-proxy
Created April 3, 2020 09:49 — forked from basoro/proxmox-proxy
Running Proxmox behind a single IP address
I ran into the battle of running all of my VMs and the host node under a single public IP address. Luckily, the host is just pure Debian, and ships with iptables.
What needs to be done is essentially to run all the VMs on a private internal network. Outbound internet access is done via NAT. Inbound access is via port forwarding.
Network configuration
Here’s how it’s done:
Create a virtual interface that serves as the gateway for your VMs:
@rubi022
rubi022 / logical-volume-resize-ubuntu
Created March 6, 2020 04:56
logical-volume-resize-ubuntu
appliance@zabbix:~$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/zabbix-vg/root
LV Name root
VG Name zabbix-vg
import big files to mysql database
mysql -u username -p
use db_name;
source backup-file.sql;
@rubi022
rubi022 / gist:9dc9339a7b8a80f80d2efad965228900
Last active August 26, 2020 10:23 — forked from whiskerz007/gist:53c6aa5d624154bacbbc54880e1e3b2a
How to setup a community version of Proxmox VE 5.x-6.x
#Install Proxmox VE on Debian Stretch
#https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch
# Disable Commercial Repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
apt-get update
# Add PVE Community Repo
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
@rubi022
rubi022 / Install Proxomox 4.4 on OVH(soyoustart) Debian 8.md
Created February 27, 2020 09:28 — forked from plar/Install Proxomox 4.4 on OVH(soyoustart) Debian 8.md
OVH/Soyoustart Install Proxomox 4.4 over Debian 8 + ZFS

OVH (Soyoustart) - Install Proxomox 4.4 over Debian 8 + ZFS

Prepare your bare server

Select template

  1. Install template - Debian 8.7 stable (Jessie) (6.4)
  2. Select [ x ] Custom installation
@rubi022
rubi022 / 001-Tradingview-Watchlist.md
Created February 5, 2020 18:59 — forked from cryppadotta/001-Tradingview-Watchlist.md
Tradingview Watchlist Import Files for Crypto Exchanges

Tradingview Watchlist Import Files for Crypto Exchanges

Below you'll find Tradingview import files for Bittrex and Binance BTC-base markets

Ordered by CMC's Market Cap

I use Tradingview and I like to quickly click through all coins on a particular exchange. The files below can be imported into a Tradingview watchlist.

β˜… β˜… β˜… If you use these, leave a comment or a star above β˜… β˜… β˜…

@rubi022
rubi022 / add-new-crypto-to-peatio.md
Created February 5, 2020 05:23 — forked from brossi/add-new-crypto-to-peatio.md
Adding A New Cryptocurrency to Peatio

State: Draft
Based on the Peatio Stable branch


Coin Daemon

To the coin daemon's {coin}.conf file, include the -walletnotify command:

# Notify when receiving coins
@rubi022
rubi022 / setup.sh
Created January 27, 2020 14:42 — forked from alinetskyi/setup.sh
Setup Debian machine for docker-compose
#!/bin/bash -x
COMPOSE_VERSION="1.23.2"
COMPOSE_URL="https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)"
# Opendax bootstrap script
install_core() {
sudo bash <<EOS
apt-get update
apt-get remove -y --purge unscd