Quarkcoin 夸克币 Linux Ubuntu 安装使用原版教程
Actively being updated/monitored.
If you liked this guide, considering tipping: QRK Qe8t4VFboBgvazQoUapcA8bYdn15NB59k2 | BTC 1GDtPPhXJ8YXFUHUywrqPKAb6QBKQfsBk9
Resources
Mining:
Neisklar's Quark version of CPU Miner (source code): github.com/Neisklar/quarkcoin-cpuminer
Stonefoz's miner (source code) - stonefoz.myfastmail.com/cpuminer-quark.zip http://stonefoz.myfastmail.com/cpuminer-quark2.zip
Smolen's GPU miner thread - bitcointalk.org/index.php?topic=310975.0
Quick VPS script for Quark mining (warning, contains somebody's affiliate links): bitcointalk.org/index.php?topic=264866.0
I have also uploaded an Amazon AMI for EC2 mining under 'quark miner all tools'; just search for 'quark'
Meta-Mining:
Mining hardware comparison: quark.freeforums.net/thread/120/mining-hardware-performance-table?page=1&scrollTo=1011
Updated list of QRK mining pools:
Kryon's Pool: qrk.coinmine.pl/
P2Pool: 176.221.46.81:8372/static/
Mine-Pool: qrk.mine-pool.net/
Nogleg: nogleg.com:8372/
Blackpools: blackpools.pw:3336/
Utility:
x32_64 Linux Wallet source: github.com/MaxGuevara/quark
x64 Linux Wallet binaries: docs.google.com/file/d/0ByuuhJDWrO0wbWVjN056bkdtTzQ/edit
Mac OS X Wallet binary: www.dropbox.com/s/uwfy0rqd3x74o1u/Quarkcoin-Qt-0.8.30-1-Mac.zip
Block Explorer: explorer.andarazoroflove.org/quark/block_crawler.php
Preface - Mining Alone
Read below to hear the benefits of pool-mining, but if you insist on solo mining, the easiest way is to mine with the Quark wallet.
Compiling the wallet from source is pretty straightforward.
git clone https://github.com/MaxGuevara/quark.git
qmake
If your qmake throws an error like:
Project MESSAGE: Building with UPNP support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Build with:
qmake USE_UPNP=-
Or compile miniupnp from source; miniupnp.free.fr/files/
To star mining, launch your wallet with -gen=1, or add "gen=1" to your quarkcoin.conf file, or type "setgenerate true -1" from the debug console
Example quarkcoin.conf file
listen=1
maxconnections=80
gen=1
genproclimit=-1
rpcuser=myusername
rpcpassword=mypassword
rpcport=9999
server=1
daemon=1
The Quark wallet requires port 11973 to be opened/forwarded to your computer. Forward the port and post your IP address in this thread.
1.) Finding a mining pool
When mining a cryptocurrency, you have the option to either mine alone or mine as part of a pool. For newly released cryptos or those individuals who have a lot of hasing power, solo mining can be one way of reaping significant gains: for every block that a miner discovers, he reaps the entire coin reward. For many, however, it makes economic sense to join a mining pool. Most of us don't have the type of hashing power or resources that can yield significant returns in solo mining. A mining pool is just what it sounds like; it's a pool of miner's distributed hash power working collectively to mine the next block. Pooling hardware yields significantly higher return for most as the time between blocks is exponentially smaller.
Kryon's Pool (http://qrk.coinmine.pl) Getting Started
First you'll have to register an account.
Go to 'My Account' -> 'My Workers'. On this page, you'll be able to set up the 'workers' that will identify your mining software to the pool software. You can choose only to make one worker for all of your miners, to make a worker for each of your miners, or some combination thereof. Really, the only advantage of any of these configurations is being able to see the performance/hash-rate of a certain number of mining rigs together. If you don't really care about monitoring the performance of individual rigs or are only mining on a single computer, one worker will suffice.
Before you start mining, you are going to want to configure your account to payout to a certain quark address. Go to 'My Account' -> 'Edit Account'. Where it says 'Payment Address', enter your wallet receiving address. Usually using an exchange address is frowned upon because of the strain that it puts on the exchange software and the fees that are taken by the exchange for each deposit; that being said, if your payout minimum is high-enough and your payout frequency is wide-enough apart, it shouldn't be an issue. If you prefer the security of an exchange or being able to trade your quarks as soon as you've been paid out, using an exchange address might be one way to go.
The rest of the settings are fairly self explanatory. Some features of note:
Donation %: How much of each payout you'd like to donate to the pool operator. 1-4% is usually nice if your pool does not charge a fee, but for fee-d pools donations are NOT at all compulsory.
Automatic Payout Threshold: How many Quarks you have to mine before the pool software automatically pays out to your address. Set to '0' if you want to manually trigger payout.
To manually trigger a payout, use the Cash Out section under 'Edit Account'. If your pool charges a fee, remember that this is when the fee will be levied.
Setting up your miner:
Neisklar's CPU Miner:
First we need to make sure that we have the essential libraries. If you're running on a brand new box or a VPS, you may or may not have these installed:
Fedora/CentOS:
yum groupinstall "Development Tools"
yum install kernel-devel kernel-headers
OpenSUSE: zypper install --type pattern Basis-Devel
Debian/Ubuntu: sudo apt-get install build-essential
Mac OS XInstall XCode from DMG, from developer.apple.com/technologies/tools/
Install MacPorts from DMG, from guide.macports.org/#installing.macports.binary
From a terminal, run:
sudo port selfupdate
sudo port install cmake qt4-mac-devel boost autoconf automake jansson miniupnp ncurses openssl
Neisklar's miner depends on two libraries: libcurl and libjansson. Either you can use your distribution's package manager to search for something that installs libcurl (e.g. 'apt-cache search curl'), you can install them from a binary, or you can compile them from source. Mac users will have them installed by the above command.
For libjansson, I recommend you compiling it from source. Get the bzip from www.digip.org/jansson/releases/jansson-2.5.tar.bz2
We now need to clone the git repository for the miner. If you don't have git installed on your system, you can install it with:
Fedora/CentOS:
sudo yum install git
OpenSUSE: zypper install git
Debian/Ubuntu: sudo apt-get install git
Mac OS Xhttps://git-osx-installer.googlecode.com/files/git-1.8.4.2-intel-universal-snow-leopard.dmg
Checkout the repository with
git clone https://github.com/Neisklar/quarkcoin-cpuminer.git
Build the miner:
./autogen.sh # only needed if building from git rep
./configure CFLAGS="-O3"
make
Now we can execute 'minerd' to start mining. A standard, fully-crafted mining command will look something like this:
./minerd -a quark -o stratum+tcp://miningpool:port -u worker_name.1 -p password
For stratum and,
./minerd -a quark -o http://miningpool:port -u worker_name.1 -p password
For HTTP
If we want our miner to start on boot, we will have to add this command to either an init.d or rc script. The file you will want to edit will be:
For Fedora/CentOS: /etc/rc.d/rc.local
OpenSUSE: /etc/init.d/rc.local
Ubuntu: /etc/rc.local
It should look something like this:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/path/to/minerd -a quark -o stratum+tcp://miningpool:port -u worker_name.1 -p password
exit 0
Mac users should use follow this list:
Start Automator.app
Select "Application"
Click "Show library" in the toolbar
Add "Run shell script" (from the Actions/Utilities)
Copy-and-paste your script into the window:
/path/to/minerd -a quark -o stratum+tcp://miningpool:port -u worker_name.1 -p password
Save it somewhere: a file called your_name.app will be created)
Go to System Preferences → Accounts → Login items
Add the app
Stonefoz's miner
Stonefoz's miner is a fork of pooler's CPUminer and Neisklar's miner above with slight performance increases for SSE2 and SSE3 instruction-set processors.
Stonefoz's miner (source code) - stonefoz.myfastmail.com/cpuminer-quark.zip stonefoz.myfastmail.com/cpuminer-quark2.zip
The compiling process is the exact same as above, with the exception of the configuration parameters.
Build with:
./autogen.sh # only needed if building from git rep
./configure CFLAGS="-msse2 -O3"
make
Updated Mac Instructions from AltcoinCryptographer
From a terminal, run:
sudo port selfupdate
sudo port install cmake qt4-mac boost autoconf automake jansson ncurses openssl
After cloning the git repository some changes will need to be made. Make the changes from the below pull request. These changes fixes a few errors OS X users may encounter.
github.com/Neisklar/quarkcoin-cpuminer/pull/3
Then build is as per instructions below taken from the README. Note that "-O3" is the capital letter O and not the digit zero.
Basic *nix build instructions:
./autogen.sh # only needed if building from git repo
./nomacro.pl # only needed if building on Mac OS X or with Clang
./configure CFLAGS="-O3"
make
After that you should be ready to go with the following (a little more explicit than previous):
./minerd -a quark -o miningpool:port -u account_username.worker_name -p worker_password
This should work. But the mining will run at 100% of your CPU's capacity. This may not be ideal to wear out an expensive Mac.
Use the below to throttle the process. Instructions are given. Do note though I found that 25 isn't 25% CPU for mine. Probably because of the multiple cores. For 50% CPU capacity I had to pass the value 400 instead of 50.
www.willnolan.com/cputhrottle/cputhrottle.html
目录 返回
首页