Уважаемые пользователи Голос!
Сайт доступен в режиме «чтение» до сентября 2020 года. Операции с токенами Golos, Cyber можно проводить, используя альтернативные клиенты или через эксплорер Cyberway. Подробности здесь: https://golos.io/@goloscore/operacii-s-tokenami-golos-cyber-1594822432061
С уважением, команда “Голос”
GOLOS
RU
EN
UA
proctologic
7 лет назад

Complete guide for installing golosd on Ubuntu 17 Полное руководство по установке golosd на Ubuntu 17

Building under Docker

We ship a Dockerfile. This builds both common node type binaries.

git clone https://github.com/goloschain/golos
cd golos
docker build -t goloschain/golos .
Building on Ubuntu 16.04

For Ubuntu 16.04 users, after installing the right packages with apt Golos will build out of the box without further effort:

Required packages

sudo apt-get install -y \
autoconf \
automake \
cmake \
g++ \
git \
libssl-dev \
libtool \
make \
pkg-config

Boost packages (also required)

sudo apt-get install -y \
libboost-chrono-dev \
libboost-context-dev \
libboost-coroutine-dev \
libboost-date-time-dev \
libboost-filesystem-dev \
libboost-iostreams-dev \
libboost-locale-dev \
libboost-program-options-dev \
libboost-serialization-dev \
libboost-signals-dev \
libboost-system-dev \
libboost-test-dev \
libboost-thread-dev

Optional packages (not required, but will make a nicer experience)

sudo apt-get install -y \
doxygen \
libncurses5-dev \
libreadline-dev \
perl

git clone https://github.com/goloschain/golos
cd golos
git submodule update --init --recursive
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
or lowmem cmake -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON CMakeLists.txt
make -j$(nproc) golosd
make -j$(nproc) cli_wallet

optional

make install # defaults to /usr/local
"If problems"
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

sudo -s
apt-get update
apt-get upgrade

To install from fresh, the config includes sane defaults.
Чистая установка, включает в себя работающую конфигурацию.

Step 1. Install docker
Шаг 1. Установка Docker

apt update && apt install curl git
curl https://get.docker.com | sh
Step 2. Clone golos-docker
Шаг 2. Клонирование golos-docker

git clone https://github.com/Someguy123/golos-docker.git
cd golos-docker
Step 3. Install my latest GOLOS docker image
Шаг 3. Установка последней версии образа ГОЛОС докера.

./run.sh install
Step 4. Configure as needed
Шаг 4. Настройка
./run.sh start
./run.sh logs
ctrl+c

More info here https://golos.io/ru--otkrytyij-kod/@someguy123/golos-docker-golos-in-a-box-obnovlenie-do-versii-khardforka-16-03

mount -o remount,size=8G /dev/shm
nano programs/golosd/witness_node_data_dir/config.ini

##########################################################
seed-node = 95.85.33.35:4243
seed-node = 95.89.13.228:4243 # @cyberfounder (NL)
seed-node = 95.85.33.35:4243 # @litvintech (NL)
seed-node = 136.243.33.85:4243 # @smailer (DE)
seed-node = golos-seed.someguy123.com:4243 # @someguy123 (USA)
seed-node = steemul.ru:4243 # @xtar (DE)
seed-node = 88.99.13.48:4243 # @primus (DE)
seed-node = 52.57.156.202:4243 # @smooth (DE)
seed-node = golos.steem.ws:4243 # @jesta (US)

Shared file size

shared-file-size = 8G
shared-file-dir = /dev/shm/

Target blocks to flush

flush = 100000

name of witness controlled by this node (e.g. initwitness )
witness = "yourname"

name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] ) active key for mining
#miner = ["yourname","5Jactivekeyforminer"]

Number of threads to use for proof of work mining
#mining-threads = 4

WIF PRIVATE KEY to be used by one or more witnesses or miners signing key for witness
private-key = 5Jsigningkeyforwitness
#private-key = 5Jactivekeyformining
#########################################################

cd ..

cd program/cli_wallet

./cli_wallet -s ws://golos.steem.ws

set_password password

unlock password

import_key activeprivatekey

get_witness yourname

update_witness "yourname" "https://golos.io/witness-category/@yourname/my-witness-application" "GLS7C7yQ4CNaBmjvBBYtSPDZ6BCDEi8WosduA6SyXTYyG2ewRXPjx" {"account_creation_fee":"10.000 GOLOS","maximum_block_size":65536,"gbg_interest_rate":1000} true

vote_for_witness yourname proctologic true true

publish_feed yourname { "base":"0.050 GBG", "quote":"1.000 GOLOS"} true

Vote for me at https://golos.io/~witnesses
cli_wallet
vote_for_witness yourname proctologic true true

4
5.213 GOLOS
Комментарии (1)
Сортировать по:
Сначала старые