ln -s ~/bitcoin/bin/* /usr/local/bin
sudo vi /etc/systemd/system/bitcoind.service
[Unit]
Description=bitcoin
After=network.target
#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 |
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 |
#!/usr/bin/env bash | |
apt-get install -y libpcre3 libpcre3-dev libssl-dev unzip make \ | |
libgoogle-perftools-dev google-perftools jq | |
mkdir /tmp/ngxbuild | |
cd /tmp/ngxbuild | |
latestNginx=$(curl -s http://hg.nginx.org/nginx/tags | | |
grep "^ *release-" | head -1 | cut -c 9-) | |
latestNaxsi=$(curl -s https://api.github.com/repos/nbs-system/naxsi/releases | | |
jq -r .[].tag_name | grep -v rc | head -1) |
#!/bin/sh | |
apt update && apt install wget htop curl nano ssh -y | |
wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb | |
dpkg -i zabbix-release_3.2-1+xenial_all.deb && apt-get update | |
export DEBIAN_FRONTEND=noninteractive | |
apt install zabbix-server-mysql zabbix-frontend-php -y |
sudo su | |
echo "deb http://downloads.hipchat.com/linux/apt stable main" > /etc/apt/sources.list.d/atlassian-hipchat.list | |
wget -O - https://www.hipchat.com/keys/hipchat-linux.key | apt-key add - | |
apt-get update | |
apt-get install hipchat |
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.
#!/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 admin@example.com | |
## HOSTS www.example.com | |
## EMAIL admin@mail.example.com |