Skip to content

Instantly share code, notes, and snippets.

@dcnl1980
dcnl1980 / NOTES.md
Created January 2, 2017 21:41 — forked from DenisIzmaylov/NOTES.md
Step By Step Guide to Configure a CoreOS Cluster From Scratch

Step By Step Guide to Configure a CoreOS Cluster From Scratch

This guide describes how to bootstrap new Production Core OS Cluster as High Availability Service in a 15 minutes with using etcd2, Fleet, Flannel, Confd, Nginx Balancer and Docker.

Content

@dcnl1980
dcnl1980 / letsupdate
Created January 24, 2017 10:03 — forked from philcryer/letsupdate
auto renewal script for Let's Encrypt
#!/bin/bash
#
# this is going to be a rewrite of this:
# https://github.com/defsdoor/letsencrypt-autorenew/blob/master/get_certificates
# example file mycerts:
## EMAIL [email protected]
## HOSTS www.example.com
## EMAIL [email protected]
@dcnl1980
dcnl1980 / install-crypto-servers.sh
Last active August 19, 2022 15:13
install-crypto-servers-ubuntu
#Install Bitcoind
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt update
sudo apt install bitcoind
#Install Geth
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt update
sudo apt install ethereum
@dcnl1980
dcnl1980 / TOOLS.MD
Last active April 18, 2020 14:06
Install of blockchains

------- MAKE A SYMBOLIC LINK AFTER COMPILE OR INSTALL ----------

ln -s ~/bitcoin/bin/* /usr/local/bin

------- SETUP A DAEMON SERVICE ----------

sudo vi /etc/systemd/system/bitcoind.service

[Unit]
Description=bitcoin
After=network.target
@dcnl1980
dcnl1980 / next.csv
Created November 23, 2021 10:43
Where to buy NEXT tokens
Pair Blockchain Link
NEXT (native coin)/BTC NEXT.chain https://p2pb2b.io/trade/NEXT_BTC/
NEXT (ERC20)/ETH Ethereum https://app.uniswap.org/#/swap?outputCurrency=0x377d552914e7a104bc22b4f3b6268ddc69615be7
NEXT (BEP20)/BNB Binance Smart Chain https://pancakeswap.finance/swap?outputCurrency=0xb8f669e7cb0d52990670c9af7084cee0fcbe81fe
** Add repository and install bitcoind **
sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get install libevent-dev
sudo apt-get install libdb4.8-dev libdb4.8++-dev # if you are on ubuntu 18.04, skip this part and do the next on 20.04
# if you are ubuntu 20.04 there needs to be a patch for libdb4.8 applied
# https://gist.github.com/danieldk/5700533
# https://askubuntu.com/questions/393289/how-to-install-libdb4-8-dev-or-equivalent-on-13-10