Skip to content

honey-system/honeyserver

Repository files navigation

Клиент (honeyOS сборка) находится здесь: mega.nz

Возможности

- Настройка майнера

- Разгон карт

- Контроль хешрейта

- Просмотр логов

- Удаленные команды

- Удаленная консоль

- Показатели работы

- Уведомления Telegram

Обзор системы, настройка клиента, инструкции по использованию

Посмотреть в youtube


Логины / пароли по умолчанию

Сервер:
Логин - crypto@honey
Пароль - MiningLive

Клиент:
Логин - work
Пароль - 1


Установка сервера ~ 15 минут

Протестированно на ubuntu server 18

Действия перед настройкой:

  • Арендуйте vps сервер, большой выбор здесь
    Минимальные требования:
    -- HDD от 10 Gb
    -- RAM от 1 Gb
    -- Не в России (если будете подключать телеграм) или придется искать еще прокси
  • скачайте PuTTY (для соединения с серевом по ssh) greenend.org.uk или portableapps.com (portable)

После получения ip и логина/пароля root пользователя на ваш сервер, подключаетесь через PuTTY и далее:


Переключаемся на супер пользователя

sudo su

Установка основных репозиториев ubuntu

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restrict
sudo add-apt-repository multiverse

Установка необходимых пакетов

apt-get -y install git nodejs npm screen

Копирование последней версии сервера

cd /

git clone https://github.com/honey-system/honeyserver.git

Запуск установки

/honeyserver/server.sh setup



Настройка сервера

Перед запуском, необходимо произвести настройку:

Можно сконфигурировать имя пользователя (не обязательно), которое будет создаваться при инициализации сервера:

Редактирование файла:

nano /honeyserver/server/entity/account.json

изменить строчки

"email": "ваш email, важно наличие @ в строке",

"password": "ваш пароль",

сохранить файл и выйти из редактора:

ctrl + o => enter => ctrl + z


Если у вас уже была база данных, рекомендуется её удалить или переместить:

Удаление

rm /honeyserver/storage/database.db

Перемещение

mv /honeyserver/storage/database.db /honeyserver/storage/database.db.bkp

Запуск создания данных (Обязательно при первом запуске)

/honeyserver/server.sh init


Если в папке /honeyserver/server/ нет файла config.json - скопируйте его из образца коммандой:

cp /honeyserver/server/config.json.tmpl /honeyserver/server/config.json


Если будете использовать телеграмм бота, необходимо его создать и ввести полученный ключ в файл config.json :

Редактирование файла:

nano /honeyserver/server/config.json

изменить строчку

"telegramToken": "ваш ключ",

сохранить файл и выйти из редактора:

ctrl + o => enter => ctrl + z



Все, настройка закончена!

Если вы раньше вводили "sudo su" - теперь необходимо выйти из этого режима, выполнив команду "exit"

Теперь можно запустить сервер

/honeyserver/server.sh start



Команды сервера

Запуск

/honeyserver/server.sh start

Остановка

/honeyserver/server.sh stop

Перезапуск

/honeyserver/server.sh restart

Мониторинг

/honeyserver/server.sh monitor

или

/honeyserver/server.sh m

Важно: Как выйти из мониторинга:

CTRL + A => CTRL + D

Просмотр логов

/honeyserver/server.sh log

Обновление на новую версию сервера

/honeyserver/server.sh update


Быстрая настройка клиента (сборки)


  1. Скачать:

  2. Создать риги, присвоить им майнеры

    • Записать образ на диск или флешку:
    • Распаковать HoneyOS образ
    • Подключить флешку, или если это HDD - через переходник или напрямую к sata
    • В HDD Raw Copy Tool portable на первом шаге - выбрать образ, далее
    • Выбрать целевой диск - будте внимательны!
    • Start
    • По окончании - зайдите на диск "HONEY_CONF" и в файле "rig.conf" введите id рига и его пароль (или вы можете это сделать при запуске системы)
    • В файле "server.conf" введите IP адресс вашего VPS сервера и порт 3000, например:
      HONEY_SERVER="http://1.2.3.4:3000/"
      не забудьте / в конце адресса
    • Готово, флешку можно подключать к ригу

Если запись образа прерывается, воспользуйтесь "HDD LLF Low Level Format Tool" что бы стереть диск полностью, затем повторите



Команды клиента (сборки)

Запуск майнера

miner start

Остановка майнера

miner stop

Перезапуск майнера

miner restart

Монитор показателей рига

honey m

Важно: Как выйти из мониторинга (только так!):

honey sm

Лог последний

log

Лог предпоследний

log last

100% перезагрузка рига (бывает карты не дают это сделать)

honey hr

Получить конфигурацию с сервера (очень редко нужно)

honey updateconf

Обновить клиент на последнюю версию

honey upgrade

Очистить от информации риг для копирования на другую флешку

honey beforecopy





ENGLISH VERSION


The client (honeyOS build) is located here: mega.nz

Features

  • Miner setting
  • Overclocking cards
  • Hashrate control
  • View logs
  • Remote commands
  • Remote console
  • Performance indicators
  • Telegram notifications

An overview of the system client configuration, instructions for use


A login / password by default

Server:
login - crypto@honey
password - MiningLive

Client:
login - work
password - 1


Server installation ~ 15 minutes

Tested on ubuntu server 18

Pre-configuration steps:

  • Rent a vps server, great choice here
    Minimum requirement:
    -- HDD from 10 Gb
    -- RAM from 1 Gb
    -- Not in Russia (if you connect telegrams) or have to look for another proxy -- download PuTTY (to connect to the server via ssh) greenend.org.uk или portableapps.com (portable)

After receiving the ip and login / password root user on your server, connect via PuTTY and then:


Switch to superuser

sudo su

Installing the main Ubuntu repositories

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restrict
sudo add-apt-repository multiverse

Installing the required packages

apt-get -y install git nodejs npm screen

Copies the latest version of the server

cd /

git clone https://github.com/honey-system/honeyserver.git

Starting the installation

/honeyserver/server.sh setup



Server setting

Before starting, you need to configure:

You can configure the user name (optional) that will be created when the server is initialized:

Edit the file:

nano /honeyserver/server/entity/account.json

to change lines

"email": "your email, it is important to have @ in the line",

"password": "your password",

save the file and exit the editor:

ctrl + o => enter => ctrl + z


If you already had a database, we recommend that you delete or move it:

Удаление

rm /honeyserver/storage/database.db

Movement

mv /honeyserver/storage/database.db /honeyserver/storage/database.db.bkp

Start data creation (Required the first time)

/honeyserver/server.sh init


If there is no file config.json in the folder /honeyserver/server/ - copy it from the sample with the command:

cp /honeyserver/server/config.json.tmpl /honeyserver/server/config.json


If you use telegram bot, you need to create it and enter the received key in the file config.json :

Edit the file:

nano /honeyserver/server/config.json

to change the line

"telegramToken": "you key",

save the file and exit the editor:

ctrl + o => enter => ctrl + z



All setup is finished!

If you previously entered "sudo su" - now you need to exit this mode by running the command "exit"

You can now start the server

/honeyserver/server.sh start



Server commands

Start

/honeyserver/server.sh start

Stop

/honeyserver/server.sh stop

Restart

/honeyserver/server.sh restart

Monitoring

/honeyserver/server.sh monitor

or

/honeyserver/server.sh m

Important: how to exit monitoring:

CTRL + A => CTRL + D

View logs

/honeyserver/server.sh log

Upgrading to a new version of the server

/honeyserver/server.sh update


Quick setting of the client (build)


  1. Скачать:

  2. Create of Rigs, to assign them to the miners

    • Burn the image to a disk or USB flash drive:
    • Unzip HoneyOS image
    • Connect a USB flash drive, or if it is HDD - via adapter or directly to sata
    • In HDD Raw Copy Tool portable in the first step - select an image, then
    • Select target disk - be careful!
    • Start
    • When finished, go to the "HONEY_CONF" disk and in the "rig.conf" file enter the id of the rig and its password (or you can do this at system startup)
    • In the file "server.conf " enter the IP address of your VPS server and port 3000, for example:
      HONEY_SERVER="http://1.2.3.4:3000/"
      don't forget / at the end of the address
    • Ready, the flash drive or disk can be connected to Rig

If the image recording is interrupted, use the "HDD LLF Low Level Format Tool" to erase the disk completely, then try again



Client commands (builds)

Start the miner

miner start

Miner stop

miner stop

Restart miner

miner restart

Performance monitor of rig

honey m

Importantly: How to get out of monitoring (the only way!):

honey sm

A log of the last

log

Log penultimate

log last

100% reload Rig (sometimes the cards do not give it)

honey hr

Get the configuration from the server (very rarely needed)

honey updateconf

Update client to the latest version

honey upgrade

Clear information from rig to copy to another flash drive

honey beforecopy