[ Ubuntu Based Linux / Desktop and Server ]
First of all, make sure you have java runtime environment installed onto your machine, todo this, press Ctrl+t or right click -> open terminal to open a terminal in gui, or if you're in server, you have ssh'd there
so no need to open a terminal... lol
then execute the following : java -version
if it spits out something simular :
"java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)"
then you have java installed, if not then you can get it from here :
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html the file ending with .tar.gz is the one you need, just grab the appropriate cpu size (32 /64) for your machine.
once the file is downloaded, find out where it downloaded to and open the folder,
now to unpack and install java, simply go back to the terminal, make sure it is open in the same folder as your downloaded java.tar.gz file and do the following to extract :
tar xvzf jre-8*.tar.gz -C /tmp/
then login as root / super user :
sudo su
then check for jvm dir, if not create it :
if [ ! -d '/usr/lib/jvm' ]; then mkdir /usr/lib/jvm; fi
move the extracted jre to the lib folder :
mv /tmp/jre1.8* /usr/lib/jvm/
then update the folder paths :
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.8*/bin/java 1065
update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jre1.8*/bin/javaws 1065
Then exit root, and finally execute :
update-alternatives --config java
now, execute the command "java -version" and it should spit out the jre info (above).
now that that is all done, change the directory of the terminal to the pocminer_v1 folder ([ Devices ] bottom)
cd /path/to/pocminer_v1/
edit your passphrase in passphrase.txt via nano :
nano passphrase.txt
and fill this with a long, random password (greater than 32 characters, as this is your wallet / account private key), press ctrl + x then y to save it.
then run the following :
sh run_dump_address.sh
it will create a file called address.txt in the pocminer_v1 folder in the following format :
Found address: PRIVATE_KEY -> ACCOUNT_ID
all you need for now is the account id number, no "->" and no private key, just copy the account id and then type the following into
cmd to start the plot generation : (goto [ Info ] at the bottom, for a explanation of the parameters. )
sh run_generate.sh ACCOUNT_ID
now this will start to generate your plots, in the mean time you can start mining, to do so you need to setup the wallet,
where ever you have extracted the wallet to,
cd /path/to/burst_1.0.0/
then proceed to edit the config:
nano conf/nxt-default.properties
find this setting "nxt.myAddress=", change it to your external ip address (get it from
http://ipchicken.com), so it should end up like so :
nxt.myAddress=192.168.0.1:8123
Where 192.168.0.1 is, is your external ip, once changed, save it and then run :
sh run.sh
then open a web browser, goto "
http://127.0.0.1:8125" and it should show the burst login page, to login, use the passphrase you set in "pocminer_v1/passphrase.txt".
open another terminal, change the path to your miner folder, simply start mining via executing the following in cmd :
cd /path/to/pocminer_v1/
sh run_mine.sh
it should start mining with a output simular to :
{"generationSignature":"0dafa8c3c6d967a5c9bff12f26c46a64bf6bcf30d0f0044b4bb3a078bfc281c0","height":"246"}
Error reading file: ACCOUNT_ID_20000_40000_500
{"generationSignature":"0dafa8c3c6d967a5c9bff12f26c46a64bf6bcf30d0f0044b4bb3a078bfc281c0","height":"246"}
{"generationSignature":"0dafa8c3c6d967a5c9bff12f26c46a64bf6bcf30d0f0044b4bb3a078bfc281c0","height":"246"}
New best: ACCOUNT_ID:19251
Submitting share
{"result":"deadline: 31774"}
{"generationSignature":"0dafa8c3c6d967a5c9bff12f26c46a64bf6bcf30d0f0044b4bb3a078bfc281c0","height":"246"}
{"generationSignature":"0dafa8c3c6d967a5c9bff12f26c46a64bf6bcf30d0f0044b4bb3a078bfc281c0","height":"246"}
......
as long as you see "New best: ACCOUNT_ID:19251 / Submitting share", it means you are mining, just let it run, read the bottom [ Info ] for more info on the values.
[ Devices ]
Now depending on where you wish to have your plots, its rather simple if you want them on your usb drive then make sure your usb is plugged in and
you have extracted the "pocminer_v1" folder to the device, if you would rather place on your hdd then no problems, just make sure you know where you
have extracted the folder.
Examples :
/home/hect0r/Desktop/pocminer_v1 === internal usb hdd.
/media/USB_UUID/pocminer_v1 === external usb hdd / stick.
Or simply making a partition and mount it, then use that said path.
[ Info ]
ACCOUNT_ID : is the ending number in the address.txt file, once you have filled out passphrase and ran run_dump_address.
start_plot_num : is the starting plot, every plot file you make, just start the plot from the previous generate run start_plot + num_plots.
total_num_plots : is the number of plots you wish to generate, each plot is 256kb.
staggnation : is the number of plots to group together per run, which causes less disk reads / seeks the higher it is, the lower the more disk reads/ seeks. the maximum is 8191.
num_cpu_threads : no need to explain this..
deadline :
...
The "deadline" is a measurement of seconds until you may generate a block (provided no one else has already generated one). Yes, it is a bit of a race, but as your plot # increases, so do your chances of hitting/solving a block. I believe you can compare the size of your plot to what would be your hashrate if mining a normal scrypt coin.
...