Post
Topic
Board Mining (Altcoins)
Re: [Minera v0.8.1] Your next mining dashboard - Networked/CPUminer/CGminer/BFGminer
by
freak1
on 10/11/2017, 14:55:02 UTC
Im having problems getting this installed on a ubuntu on Hyper-V. I tried in installing it a few times but the site never comes up.

Here is whats going on when i try to install it.


freak1@minera:~$ curl -o- https://raw.githubusercontent.com/getminera/minera/mas                                                                                                   ter/install_minera_ubuntu.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                 [sudo] password for freak1:                 Dload  Upload   Tot                                                                                                   al   Spent    Left  Speed
100   697  100   697    0     0    697      0  0:00:01 --:--:--  0:00:01  1428

Sorry, try again.
[sudo] password for freak1:
-----
Installing Git
-----

Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.14.1-1ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
-----
Installing Minera in /var/www
-----

mkdir: cannot create directory ‘/var/www’: File exists
fatal: destination path 'minera' already exists and is not an empty directory.
-----
START Minera Install script
-----

-----
Install extra packages
-----

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.0-cli
E: Couldn't find any package by glob 'php7.0-cli'
E: Couldn't find any package by regex 'php7.0-cli'
E: Unable to locate package php7.0-curl
E: Couldn't find any package by glob 'php7.0-curl'
E: Couldn't find any package by regex 'php7.0-curl'
E: Unable to locate package php7.0-fpm
E: Couldn't find any package by glob 'php7.0-fpm'
E: Couldn't find any package by regex 'php7.0-fpm'
E: Unable to locate package php7.0-readline
E: Couldn't find any package by glob 'php7.0-readline'
E: Couldn't find any package by regex 'php7.0-readline'
E: Unable to locate package php7.0-json
E: Couldn't find any package by glob 'php7.0-json'
E: Couldn't find any package by regex 'php7.0-json'
Adding Minera user
-----

adduser: The user `minera' already exists.
Adding groups to Minera
-----

Adding sudoers configuration for www-data and minera users
-----

Adding SSL certificate
-----

mkdir: cannot create directory ‘/etc/lighttpd/certs’: No such file or directory
cp: cannot create regular file '/etc/lighttpd/certs/': No such file or directory
chmod: cannot access '/etc/lighttpd/certs/lighttpd.pem': No such file or directory
Copying Lighttpd conf
-----

cp: cannot create regular file '/etc/lighttpd/': Not a directory
cp: cannot create regular file '/etc/lighttpd/conf-available/10-fastcgi.conf': No such file or directory
cp: cannot create regular file '/etc/lighttpd/conf-available/15-php-fpm.conf': No such file or directory
ln: failed to create symbolic link '/etc/lighttpd/conf-enabled/10-fastcgi.conf': No such file or directory
ln: failed to create symbolic link '/etc/lighttpd/conf-enabled/15-php-fpm.conf': No such file or directory
Failed to restart lighttpd.service: Unit lighttpd.service not found.
Playing with minera dirs
-----

Adding Minera logrotate
-----

Adding default startup settings to redis
-----

./install_minera.sh: line 53: redis-cli: command not found
./install_minera.sh: line 54: redis-cli: command not found
./install_minera.sh: line 55: redis-cli: command not found
./install_minera.sh: line 56: redis-cli: command not found
./install_minera.sh: line 57: redis-cli: command not found
./install_minera.sh: line 58: redis-cli: command not found
./install_minera.sh: line 59: redis-cli: command not found
./install_minera.sh: line 60: redis-cli: command not found
./install_minera.sh: line 61: redis-cli: command not found
./install_minera.sh: line 62: redis-cli: command not found
./install_minera.sh: line 63: redis-cli: command not found
./install_minera.sh: line 64: redis-cli: command not found
./install_minera.sh: line 65: redis-cli: command not found
Adding minera startup command to rc.local
-----

Adding cron file in /etc/cron.d
-----

Configuring shellinabox
-----

Failed to restart shellinabox.service: Unit shellinabox.service not found.
Copying cg/bfgminer udev rules
-----

Installing NVM and Node requirements
-----

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7766  100  7766    0     0   7766      0  0:00:01 --:--:--  0:00:01 16045
=> nvm is already installed in /home/minera/.nvm, trying to update using git
=>
=> Source string already in /home/minera/.bashrc
=> Close and reopen your terminal to start using nvm
Downloading https://nodejs.org/dist/v6.12.0/node-v6.12.0-linux-x64.tar.xz...
######################################################################## 100.0%
Now using node v6.12.0 (npm v3.10.10)
cp: cannot create regular file '/etc/supervisor/conf.d/': No such file or directory
npm WARN minera@1.0.0 No description
npm WARN minera@1.0.0 No repository field.
Failed to restart supervisor.service: Unit supervisor.service not found.
Generating unique SSH keys
-----

Creating SSH2 RSA key; this may take some time ...
2048 SHA256:ZPdLoFbiiU/RLcLFzkK0IpqBzmW9hSXbK1CrTGCvwqA root@minera (RSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:U3sEiFzKMzHDhSOagEgiRDyadGYxS156YHRGL++lTs0 root@minera (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:l/+4K+vHImQHga+wDhutEKmhz+Or7tgJmAwwHmt93IU root@minera (ED25519)
Building miners, this will take loooooooot of time in a low resource system, I strongly suggest you to take a beer (better two) and relax a while. Your Minera will be ready after this.
-----

Usage: build_miner.sh [OPTION] [MINER NAME(S)]...

Arguments:
  -l                Link binaries only (do not build)

Miner Names:
  cgminer           cgminer official
  cpuminer          cpuminer GC3355 fork
  bfgminer          bfgminer official
  cgminer-dmaxl     cgminer dmaxl fork (gridseed and zeus support)
  ccminer           ccminer official
  all               build all the above

DONE! Minera is ready!

Open the URL: http://192.168.2.101/minera/

And happy mining!