Bitcoin Forum
November 17, 2018, 01:41:06 AM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 ... 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 416743 times)
hmage
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
June 03, 2016, 09:46:39 PM
 #761

On the other hand, is there some "newbie" guide to doing this with a fresh install of say, Debian 8.4? (Or would you recommend Ubuntu?)

I just made a Debian 8.4 VM. Maybe I'll do it over again.

Simple way to do it on fresh Debian or Ubuntu is this (assuming sudo is already configured):
Code:
sudo apt-get install git build-essential libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake
git clone https://github.com/hmage/cpuminer-opt
cd cpuminer-opt
./build.sh

With git it's easier to get the source code in command line than from joblo's google drive — there are no direct links to tar.gz.
1542418866
Hero Member
*
Offline Offline

Posts: 1542418866

View Profile Personal Message (Offline)

Ignore
1542418866
Reply with quote  #2

1542418866
Report to moderator
1542418866
Hero Member
*
Offline Offline

Posts: 1542418866

View Profile Personal Message (Offline)

Ignore
1542418866
Reply with quote  #2

1542418866
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542418866
Hero Member
*
Offline Offline

Posts: 1542418866

View Profile Personal Message (Offline)

Ignore
1542418866
Reply with quote  #2

1542418866
Report to moderator
1542418866
Hero Member
*
Offline Offline

Posts: 1542418866

View Profile Personal Message (Offline)

Ignore
1542418866
Reply with quote  #2

1542418866
Report to moderator
ctgiant
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
June 03, 2016, 10:14:06 PM
 #762

I continue to encourage Windows users to compile their own. That is always the best way

How would I go about doing that? LOL. Is there a "free" Windows compiler out there? I have Xeon E5640.

I do have access to Visual Studio Community 2015; supposed to be the same as Professional without CodeLens.

On the other hand, is there some "newbie" guide to doing this with a fresh install of say, Debian 8.4? (Or would you recommend Ubuntu?)

I just made a Debian 8.4 VM. Maybe I'll do it over again.

This is compiled on windows with a free compiler, but it is a pain to set up if you don't know what you are doing.  It can compile using mingw-w64 and msys, but you need to first compile all of the dependencies and link everything correctly.

MiningAlts Block Explorers and Windows/Mac Wallet Building Services - http://miningalts.com
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 03, 2016, 10:19:12 PM
 #763

I continue to encourage Windows users to compile their own. That is always the best way

How would I go about doing that? LOL. Is there a "free" Windows compiler out there? I have Xeon E5640.

I do have access to Visual Studio Community 2015; supposed to be the same as Professional without CodeLens.

On the other hand, is there some "newbie" guide to doing this with a fresh install of say, Debian 8.4? (Or would you recommend Ubuntu?)

I just made a Debian 8.4 VM. Maybe I'll do it over again.

cpuminer-opt doesn't compile on any form of VS.

There are two viable options.

1. Compile natively on Windows with mingw and msys. Instructions are in the README.md file.
Installing msys and mingw_w64 can be a bit confusing. They are two seperate installs with different installers
but they are built to work together.

2. Install a Linux VM and compile and run cpuminer from the vm, full speed. I would recommend Ubuntu or
Mint. Fedora and centos are also good choices. Debian is not for newbies but if you already have it installed
go with it. Once the OS is installed you have to install the development tools. I don't have the minimalist command
to get everything (note to self to do that), I usually start with gcc and any of its dependencies and iterate from there
until it works. In addition to the develpopment tools there are some libraries that need to be installed. They are listed
in README.md.

Usng a VM may be preferable if you intend to mine hodl with an older CPU because that doesn't work on Windows.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 03, 2016, 10:23:09 PM
 #764

I continue to encourage Windows users to compile their own. That is always the best way

How would I go about doing that? LOL. Is there a "free" Windows compiler out there? I have Xeon E5640.

I do have access to Visual Studio Community 2015; supposed to be the same as Professional without CodeLens.

On the other hand, is there some "newbie" guide to doing this with a fresh install of say, Debian 8.4? (Or would you recommend Ubuntu?)

I just made a Debian 8.4 VM. Maybe I'll do it over again.

This is compiled on windows with a free compiler, but it is a pain to set up if you don't know what you are doing.  It can compile using mingw-w64 and msys, but you need to first compile all of the dependencies and link everything correctly.

That was not the case for me using msys and mingw_w64. Nothing to compile except cpuminer-opt itself.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
My9bot
Full Member
***
Offline Offline

Activity: 243
Merit: 100


View Profile
June 03, 2016, 11:08:36 PM
 #765

With git it's easier to get the source code in command line than from joblo's google drive — there are no direct links to tar.gz.

Quote

you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

I'm better with code than with words-SatoshiNakamoto
Espers [ESP]SiteOnBlockchain
th3.r00t
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile WWW
June 04, 2016, 08:06:07 AM
 #766

The Google Drive "direct" link somehow works on Chrome and Windows, but don't work with wget on Ubuntu
Code:
urban@storm:~$ wget -4 https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
[1] 10374
urban@storm:~$ --2016-06-04 11:03:26--  https://drive.google.com/uc?export=download
Resolving drive.google.com (drive.google.com)... 216.58.209.206
Connecting to drive.google.com (drive.google.com)|216.58.209.206|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2016-06-04 11:03:26 ERROR 400: Bad Request.

BitSend ◢◤Clients | Source
www.bitsend.info
█▄
█████▄
████████▄
███████████▄
██████████████
███████████▀
████████▀
█████▀
█▀












Your Digital Network | 10MB Blocks
Algo: XEVAN | DK3 | Masternodes
Bitcore - BTX/BTC -Project












BSD -USDT | Bittrex | C.Gather | S.Exchange
Cryptopia | NovaExchange | Livecoin
CoinPayments | Faucet | Bitsend Airdrop













████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████

████
 ████
  ████
   ████
    ████
     ████
      ████
       ████
        ████
       ████
      ████
     ████
    ████
   ████
  ████
 ████
████
My9bot
Full Member
***
Offline Offline

Activity: 243
Merit: 100


View Profile
June 04, 2016, 12:30:43 PM
 #767

The Google Drive "direct" link somehow works on Chrome and Windows, but don't work with wget on Ubuntu
Code:
urban@storm:~$ wget -4 https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
[1] 10374
urban@storm:~$ --2016-06-04 11:03:26--  https://drive.google.com/uc?export=download
Resolving drive.google.com (drive.google.com)... 216.58.209.206
Connecting to drive.google.com (drive.google.com)|216.58.209.206|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2016-06-04 11:03:26 ERROR 400: Bad Request.
You may need quotes around your URL

Code:
pi@raspberrypi:~ $ wget -O cpuminer-opt.tar.gz -4 "https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M"
--2016-06-04 12:39:10--  https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
Resolving drive.google.com (drive.google.com)... 64.15.112.84, 64.15.112.103, 64.15.112.118, ...
Connecting to drive.google.com (drive.google.com)|64.15.112.84|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://doc-00-7o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/dm3nstjm774g792jpfu2h5q95p8c1g2j/1465041600000/02937440540891330699/*/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M?e=download [following]
Warning: wildcards not supported in HTTP.
--2016-06-04 12:39:14--  https://doc-00-7o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/dm3nstjm774g792jpfu2h5q95p8c1g2j/1465041600000/02937440540891330699/*/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M?e=download
Resolving doc-00-7o-docs.googleusercontent.com (doc-00-7o-docs.googleusercontent.com)... 216.58.214.65
Connecting to doc-00-7o-docs.googleusercontent.com (doc-00-7o-docs.googleusercontent.com)|216.58.214.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/gzip]
Saving to: ‘cpuminer-opt.tar.gz’

cpuminer-opt.tar.gz                           [           <=>                                                                          ]  17.50M   464KB/s   in 40s

2016-06-04 12:39:55 (446 KB/s) - ‘cpuminer-opt.tar.gz’ saved [18348257]

pi@raspberrypi:~ $

 or try curl
Code:
pi@raspberrypi:~ $ curl -L "https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M" > cpuminer-opt.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   383    0   383    0     0     94      0 --:--:--  0:00:04 --:--:--    94
100 17.4M    0 17.4M    0     0   352k      0 --:--:--  0:00:50 --:--:--  384k
pi@raspberrypi:~ $

I'm better with code than with words-SatoshiNakamoto
Espers [ESP]SiteOnBlockchain
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 01:51:35 PM
 #768

The Google Drive "direct" link somehow works on Chrome and Windows, but don't work with wget on Ubuntu
Code:
urban@storm:~$ wget -4 https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
[1] 10374
urban@storm:~$ --2016-06-04 11:03:26--  https://drive.google.com/uc?export=download
Resolving drive.google.com (drive.google.com)... 216.58.209.206
Connecting to drive.google.com (drive.google.com)|216.58.209.206|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2016-06-04 11:03:26 ERROR 400: Bad Request.
You may need quotes around your URL

Code:
pi@raspberrypi:~ $ wget -O cpuminer-opt.tar.gz -4 "https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M"
--2016-06-04 12:39:10--  https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M
Resolving drive.google.com (drive.google.com)... 64.15.112.84, 64.15.112.103, 64.15.112.118, ...
Connecting to drive.google.com (drive.google.com)|64.15.112.84|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://doc-00-7o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/dm3nstjm774g792jpfu2h5q95p8c1g2j/1465041600000/02937440540891330699/*/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M?e=download [following]
Warning: wildcards not supported in HTTP.
--2016-06-04 12:39:14--  https://doc-00-7o-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/dm3nstjm774g792jpfu2h5q95p8c1g2j/1465041600000/02937440540891330699/*/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M?e=download
Resolving doc-00-7o-docs.googleusercontent.com (doc-00-7o-docs.googleusercontent.com)... 216.58.214.65
Connecting to doc-00-7o-docs.googleusercontent.com (doc-00-7o-docs.googleusercontent.com)|216.58.214.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/gzip]
Saving to: ‘cpuminer-opt.tar.gz’

cpuminer-opt.tar.gz                           [           <=>                                                                          ]  17.50M   464KB/s   in 40s

2016-06-04 12:39:55 (446 KB/s) - ‘cpuminer-opt.tar.gz’ saved [18348257]

pi@raspberrypi:~ $

 or try curl
Code:
pi@raspberrypi:~ $ curl -L "https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M" > cpuminer-opt.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   383    0   383    0     0     94      0 --:--:--  0:00:04 --:--:--    94
100 17.4M    0 17.4M    0     0   352k      0 --:--:--  0:00:50 --:--:--  384k
pi@raspberrypi:~ $

Thanks for this. For me on Linux it works with curl but not wget or Firefox.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 03:06:05 PM
 #769

A little more info for users with early corei CPUs. I found this which lists the mapping between -march
and the processor family.

This help clarify how CMB has built their binaries for Intel CPUs.

They have chosen to only build for CPUs with AES and AVX. This includes:

- westmere (-march=corei7-avx)
- sandybridge ivybridge (-march=corei7-avx-i)
- haswell broadwell (-march=corei7-avx2)

This excludes the following architectures that are supported by cpuminer-opt with SSE2 optimizations:

- nehalem (-march=corei7)
- core2 (-march=core2)

In order to use cpuminer-opt on these CPUs it is necessary to compile from source on that machine using
-march=native which will automatically select the correct architecture for your CPU.

For those who desire to specify the architecture manually please note that in GCC 4.9 and above you may
specify the family name, ie -march=haswell rather than -march=corei7-avx2.

I'm still waiting for feedback from more Westmere and Nehalem users. I presume the lack of feedback means
things are working (or  not) as expected.

I still don't have any issues that would justify a new release so I'll wait a little longer.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
hmage
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
June 04, 2016, 03:08:19 PM
 #770

you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

Still, something like http://hmage.net/cpuminer-opt/cpuminer-opt-3.3.4.tar.gz would be much more convenient.
My9bot
Full Member
***
Offline Offline

Activity: 243
Merit: 100


View Profile
June 04, 2016, 03:15:35 PM
 #771

you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

Still, something like http://hmage.net/cpuminer-opt/cpuminer-opt-3.3.4.tar.gz would be much more convenient.
yes i think so too

I'm better with code than with words-SatoshiNakamoto
Espers [ESP]SiteOnBlockchain
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 03:17:37 PM
 #772

you need the
https://drive.google.com/file/d/0B0lVSGQYLJIZVTFNSkZ0elRQZ2M/view?usp=sharing
part
than direkt link :
https://drive.google.com/uc?export=download&id=0B0lVSGQYLJIZVTFNSkZ0elRQZ2M

Still, something like http://hmage.net/cpuminer-opt/cpuminer-opt-3.3.4.tar.gz would be much more convenient.

 Smiley
I don't disagree. But I'll have to spend some time playing with git before I comit cpuminer-opt to it. And that
will have to wait until the development slows. It will happen eventually.

Still looking for an endian.h package that will work with Windows so I can enable hodl on non-AES CPUs.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
ljglug
Full Member
***
Offline Offline

Activity: 165
Merit: 100


View Profile
June 04, 2016, 03:41:50 PM
 #773

My 2 E5 Xeon 2670 dual platform, a total of 16 nuclear 32 threads, HMQ1725 algorithm is only 361K, this is not the normal bar @3.3.4 version

joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 04:34:10 PM
 #774

My 2 E5 Xeon 2670 dual platform, a total of 16 nuclear 32 threads, HMQ1725 algorithm is only 361K, this is not the normal bar @3.3.4 version

Can you provide more information? Are you saying HMQ1725 on v3.3.4 is slower than previous versions?
Did you compile yourself or use a precompiled binary? Also please post the startup messages showing the
CPU capabilities.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 04:39:39 PM
 #775

I am proposing a new direction for the CPU capabilities check...

Code:
Checking CPU capatibility...
Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU features: SSE2 AES AVX AVX2
SW built on Jun  4 2016 with GCC 4.8.4
Build features: SSE2 AES AVX AVX2
Algo features: SSE2 AES
Start mining with AES-AVX optimizations...

More technical detail but last line summarizes for users. Better?
It would also be nice to include the -march flag either as specified
or translated from native. Haven't found a way except indirectly via
build features. Fortunately the ambuguity does not affect the miner's
decision to use AES.

mine with sse2:
core2    -> SSE2        
corei7    -> SSE2      
corei7-i  -> SSE2 AES
mine with aes:
corei7-avx -> SSE2 AES AVX
corei7-avx-i -> SSE2 AES AVX
corei7-avx2  -> SSE2 AES AVX AVX2

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Dabs
Staff
Legendary
*
Offline Offline

Activity: 2184
Merit: 1105



View Profile
June 04, 2016, 05:03:25 PM
 #776

Does ubuntu have a "console" install? Non-graphical type? Of course I will go to their website. I know how to run a Pi2 a bit, and I think Rasbian is based on Debian, so ... well, that's just what I've been using for 20 years (as a newbie, 20 years a Linux newbie, go figure). Ubuntu is more recent (about 10+ years old), and is also Debian based.

Anyway, queuing download for 16.04 LTS ubuntu 64-bit, desktop and server versions.

Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: Dabs
All messages concerning escrow or with bitcoin addresses are GPG signed. Please verify.
CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 05:20:42 PM
 #777

Does ubuntu have a "console" install? Non-graphical type? Of course I will go to their website. I know how to run a Pi2 a bit, and I think Rasbian is based on Debian, so ... well, that's just what I've been using for 20 years (as a newbie, 20 years a Linux newbie, go figure). Ubuntu is more recent (about 10+ years old), and is also Debian based.

Anyway, queuing download for 16.04 LTS ubuntu 64-bit, desktop and server versions.

Last I checked (many moons ago) the server edition of ubuntu was text only so I'msure they do.
I don't think you need to switch. If you 've been using Debian for so long and you know how to compile
it should be a brease. I only recommended Ubuntu because it's trivial to install and has a lot more
bells and whistles to make it more desktop friendly. Strip that away and it's basically all Debian.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Dabs
Staff
Legendary
*
Offline Offline

Activity: 2184
Merit: 1105



View Profile
June 04, 2016, 06:23:22 PM
 #778

My plan is to do a "net" install of Debian, basically the bare minimum, then figure out what I need to type next. Essentially a "step-by-step" from complete scratch/zero. It's in a VM, so no biggie if I have to do over and over just to get it right.

Escrow Service (Services) - GPG ID: 32AD7565, OTC ID: Dabs
All messages concerning escrow or with bitcoin addresses are GPG signed. Please verify.
CompTIA A+, Microsoft Certified Professional, MCSA: Windows 10; Windows Server 2012, MCSE: Cloud Platform and Infrastructure; Productivity; Messaging
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
June 04, 2016, 06:41:48 PM
 #779

My plan is to do a "net" install of Debian, basically the bare minimum, then figure out what I need to type next. Essentially a "step-by-step" from complete scratch/zero. It's in a VM, so no biggie if I have to do over and over just to get it right.

My only experience with minimal installs is Centos. It provide the install time options for both
a minimal install and development tools. After that install some of the missing dependencies for cpuminer-opt
then pick off any stragglers when the compiler complains about them. That would make for a pretty lean machine.

But I'm sure Debian can do it just as well.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
hmage
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
June 04, 2016, 06:51:00 PM
 #780

My plan is to do a "net" install of Debian, basically the bare minimum, then figure out what I need to type next. Essentially a "step-by-step" from complete scratch/zero. It's in a VM, so no biggie if I have to do over and over just to get it right.

I've been doing Debian minimal netinstalls as part of job for 16 years.

You might want to set up sudo first, debian doesn't install it for you (ubuntu does).

so login as root first, "apt-get install sudo", then run "visudo" to edit /etc/sudoers and add yourself there, then log out and login as yourself.

Then run "sudo apt-get install build-essential" -- it will install essential stuff needed to have a C/C++ compiler that can compile.

After that it boils down to what you need to compile, in case of cpuminer-opt it's "sudo apt-get install libssl-dev libcurl4-openssl-dev libjansson-dev libgmp-dev automake".

The reason why I suggest using sudo is because doing everything as root is _very_ bad practice -- http://unix.stackexchange.com/questions/52268/why-is-it-a-bad-idea-to-run-as-root

In fact, even for installing most software you don't need root, for example my package manager revolves precisely around that -- https://github.com/hmage/norm
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 ... 191 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!