cd ~
git clone https://github.com/nanomsg/nanomsg
cd nanomsg
mkdir build
cd build
cmake .. -DNN_TESTS=OFF -DNN_ENABLE_DOC=OFF
cmake --build .
sudo cmake --build . --target install
sudo apt-get update ; sudo apt-get install -y dialog python3 python3-dev python3-pip netcat-openbsd wget curl git sudo coreutils bc haveged pollinate unzip unattended-upgrades cron ntp fail2ban rsyslog build-essential pkg-config git libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip python zlib1g-dev wget bsdmainutils automake libssl-dev libprotobuf-dev protobuf-compiler libqrencode-dev ntp ntpdate jq software-properties-common curl libcurl4-openssl-dev cmake clang libevent-dev libboost-all-dev build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-openssl-dev bsdmainutils automake curl python3 python3-requests libsodium-dev libdb++-dev
These are broken down into Komodo Platform's komodo dependencies, James Lee's komodo dependencies (new pre-alpha features), the convenience packages for the system & komodo-in-a-box dependencies.
sudo apt-get update
cc: error: cli/cli_main.o: No such file or directory
cc: error: cli/lightning-bet.o: No such file or directory
cc: error: common/configdir.o: No such file or directory
cc: error: common/json.o: No such file or directory
cc: error: common/json_escaped.o: No such file or directory
cc: error: common/version.o: No such file or directory
cc: error: ccan-asort.o: No such file or directory
cc: error: ccan-autodata.o: No such file or directory
cc: error: ccan-breakpoint.o: No such file or directory
Still in beta, the repo is komodo-in-a-box.
If you don't have a data directory or configuration First syncing the chain with this configuration and creating a data dir for wallet if one doesn't exist, otherwise just skip these commands.
mkdir ~/.komodo/KMDICE
This is a barebones install. It does not lock down SSH for key access only or configure the firewall.
This is on ubuntu 18.04
This part is for KVM VPS using make-vps from my repo Using my make-vps repository, clone an existing VPS template, start it and log in
VPSNAME=nntestnet2019 make clone18
virsh start nntestnet2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
mylo@cakeshop1:~$ komodod -regtest -ac_name=TTEST -ac_supply=5000 & | |
[1] 31633 | |
mylo@cakeshop1:~$ Created (/home/mylo/.komodo/TTEST/TTEST.conf) | |
call komodo_args.(komodod) NOTARY_PUBKEY.() | |
>>>>>>>>>> TTEST: p2p.12379 rpc.12380 magic.8ca6aa5b 2359732827 5000 coins | |
initialized TTEST at 1552909428 | |
finished loading blocks TTEST | |
fAddressIndex.0/0 fSpentIndex.0/0 | |
height.0 slowflag.1 possible.1 cmp.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install apt-transport-https | |
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' | |
sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' | |
sudo apt-get update | |
sudo apt-get install dart | |
echo 'export PATH="$PATH:/usr/lib/dart/bin"' >> ~/.profile | |
logout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############# | |
ENV different | |
############# | |
My cron restarts iguana like this: | |
13 0 * * 1 . $HOME/.profile;/home/me/cron_rotate.sh 2>&1 | |
The `. $HOME/.profile` is needed because the cron ENV is not the same as the logged in user ENV. | |
########################## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add-apt-repository ppa:certbot/certbot | |
apt-get update | |
apt-get install python-certbot-apache | |
certbot --apache -d example.com -d www.example.com | |
certbot renew --dry-run | |
Need to check out | |
https://medium.com/@richardkall/setup-lets-encrypt-ssl-certificate-on-amazon-cloudfront-b217669987b2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull gitlab/gitlab-ce | |
docker run --detach --hostname git.test.smartad.com.au --publish 2180:80 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest |