Skip to content

Instantly share code, notes, and snippets.

Change to root user
sudo su -
Locate device name for USB HDD
fdisk -l
Start fdisk using UDB HDD - Important!! replace "sdc" with your device name.
fdisk /dev/sdc
Delete existing partition
@normandmickey
normandmickey / setup_clightning.md
Created October 29, 2018 02:46 — forked from Stadicus/setup_clightning.md
Setup c-lightning on Digital Ocean

E-Commerce c-lightning node on Digital Ocean

Prerequisites

  • based on small Digital Ocean VPS (1CPU / 1GB RAM) with Ubuntu 16.04
  • SSH keys are recommended, but not described here
  • (sub) domain name necessary for SSL certificate

UFW & basic stuff

Login as "root"

0xa867f9035A5e48E40bB10C82e599aA05217ab370