Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Delinquency

Pages: 1 ... 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 ... 25
211
MemoryCoin / [GUIDE] Headless ATI/AMD Scrypt Middlecoin GPU Mining Tutorial
« on: February 17, 2014, 08:45:19 pm »
This guide will help you run an scrypt miner more efficiently and headless as compared to a VRAM consuming KDE on your mining rig.

Unrelated to Memorycoin, however, this guide suggests to promote the sale of Memorycoin through BTC.
To generate a BTC Address, create an account on BTer, generate a BTC address, then use that address to mine Middlecoin, receive BTC, then buy MMC and withdraw to your MMC wallet.

Middlecoin generally has a 4% fee but always mines the most profitable scrypt coin on the market.

Now let's get to the guide.

[Note: This is a similar guide to mine MMC, but with more steps to compile CGminer.]

Steps
1. Download the latest Debian Net installer and put it on a USB drive/disk [Note: a USB Drive is faster and environmentally friendly]


Pen Drive Linux (Universal USB Installer)
Code: [Select]
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ Debian 7.4.0 64-bit Net Installer [Mirror: Steadfast.net]
Code: [Select]
http://mirror.steadfast.net/debian-cd/7.4.0/amd64/iso-cd/debian-7.4.0-amd64-netinst.iso Debian 7.4.0 32-bit Net Installer [Mirror: Steadfast.net]
Code: [Select]
http://mirror.steadfast.net/debian-cd/7.4.0/i386/iso-cd/debian-7.4.0-i386-netinst.iso

2. Install.
 Only select the packages for boxes SSH Server and Standard System Utilities. Uncheck the desktop environment and others.
   Tip: Use the cdn.debian.net mirror when selecting the package server.


3. Login to your server through SSH or use the console.


4. Add 'non-free' and 'contrib' to the end of each deb line in /etc/apt/sources.list
Quote
apt-get update; apt-get install nano -y;
nano /etc/apt/sources.list;

It should look something like this:
Code: [Select]
deb http://cdn.debian.net/debian/ wheezy main contrib non-free
deb-src http://cdn.debian.net/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://cdn.debian.net/debian/ wheezy-updates main contrib non-free
deb-src http://cdn.debian.net/debian/ wheezy-updates main

5. Now install the required packages. [Not sure if you need libudev-dev]
Code: [Select]
apt-get clean && apt-get update && apt-get upgrade
apt-get -fy install bzip2 fglrx-driver libcurl4-openssl-dev libncurses5-dev libudev-dev ntp screen unzip xdm xorg
apt-get -fy purge libfglrx
apt-get -fy install firmware-linux-nonfree
apt-get clean

6. Download the latest AMD Catalyst Drivers from the AMD website.
This step may be annoying because AMD's website requires a web referrer to download any file on their server through wget. An alternative would be to upload it to a web server or even just upload it to your server through SFTP.

Quote
http://support.amd.com/en-us/download/desktop?os=Linux+x86
a. Please place the AMD Catalyst Drivers Archive into the /root or base directory.

7. Unzip and run the file.
Quote
cd ~ && unzip amd-catalyst-13.12-linux-x86.x86_64.zip && sh amd-catalyst-13.12-linux-x86.x86_64.run --force
Accept all the dialogues.

8. Download the AMD APP SDK
Code: [Select]
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
Code: [Select]
AMD-APP-SDK-v2.9-lnx64.tgz
OR
AMD-APP-SDK-v2.9-lnx32.tgz

a. Upload the tgz archive onto your server. (preferably in /root)

b. Install AMD APP SDK
Code: [Select]
cd ~;mkdir app-sdk && cd app-sdk && tar xzf ~/AMD-APP-SDK-v2.9-lnx*.tgz && sh Install-AMD-APP.sh && cd ..Accept all the dialogues and continue.

9. Fix the X-Server settings
Code: [Select]
rm /etc/X11/xorg.conf && aticonfig --adapter=all --initial
10. Add this bottom of your /etc/profile file
Quote
nano /etc/profile
Code: [Select]
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export XAUTHORITY=/.Xauthority
11. Restart.
Code: [Select]
'reboot'
12. Download and untar cgminer 3.7.2
Code: [Select]
cd ~;wget http://ck.kolivas.org/apps/cgminer/3.7/cgminer-3.7.2.tar.bz2
tar jxf cgminer-3.7.2.tar.bz2

13. Download the ADL_SDK Libraries
Code: [Select]
http://developer.amd.com/tools-and-sdks/graphics-development/display-library-adl-sdk/
a. Unzip and extract ADL_SDK in its own folder; Take what is required from the library and place it in the cgminer's compilation directory.
Code: [Select]
cd ~;mkdir ADL_SDK;cd ADL_SDK; unzip ../ADL_SDK_6.0.zip
cp include/*.h ../cgminer-3.7.2/ADL_SDK/

b. Change directory to the cgminer-3.7.2:
Code: [Select]
cd ~/cgminer-3.7.2;
14. Compile!
Code: [Select]
CFLAGS="-O2 -Wall -march=native -I/opt/AMDAPP/include" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure --enable-opencl --enable-scrypt --without-libudev

Note: If you compiling on 32-bit, you may want to find the real LDFLAGS= directory for AMD_APP Lib in /opt/AMDAPP/lib/ with your OS's architecture. [Presumably x86, i386 or something.]

a. Install:
Code: [Select]
make; make install; cp cgminer ~; cd ~; chmod +x cgminer
15. Run!
Voila! Your cgminer executable is now located in the root folder.

Run it!
Code: [Select]
~/cgminer
16. Post Install: CGMiner Settings

Input the URL as
Code: [Select]
middlecoin.com:3333
Username:
Code: [Select]
BTER's BTC Wallet Deposit Address
Password:
Code: [Select]
ANY
Wait for your GPU to start mining!

To fine-tune your configuration, modify the cgminer.conf at ~/.cgminer/cgminer.conf.

Code: [Select]
nano ~/.cgminer/cgminer.conf
a. You can find your Miner Stats at this address:
Code: [Select]
http://www.middlecoin.com/reports/BTCWALLETADDRESS.html
b. Auto-Start upon reboot

Add this to your crontab -e:
Code: [Select]
crontab -e:
@reboot ~/startup.sh &
---
nano ~/startup.sh;

Code: [Select]
sleep 60;
screen -mDs cg /root/cgminer &

Tips in MMC
MVHuEf3C7EoANzq7BMg7MLgiFY57S4kh5v


Thanks for reading!

212
MemoryCoin / Re: [GUIDE] Headless ATI/AMD GPU Mining Tutorial
« on: February 16, 2014, 10:13:37 pm »
Awesome! I use cgminer to mine BTC and buy MMC to keep upward price pressure.  Tried other gpu / yam for Ubuntu, but no luck so far.  Will try yours.

I will add a head-ful / head-more / mined-full install script for cgminer...whatever the opposite of headless is...for cgminer.  I like to have a local desktop, because I'm usually swapping cards about once a week or so.

This is what I use for Ubuntu 13.10, with a small HDD to allow for desktop troubleshooting, wallets, etc during initial burn-in of the card.  Cut-and-paste from last week's new install - so recent - but untested by anyone else.

Each should be written as a full script.  In ubuntu, create new folder, cut-and-paste, save, right-click, properties, permissions tab -> allow to execute as program (or chmod +x).  Also, open file manager, under properties, behavior tab -> programs execute in terminal / ask each time.

Code: [Select]
#!/bin/bash
#Based on cryptobager.com's guide, with updates

#cgminer / AMD install starting from Ubuntu 13.10 new install

#install AMD video drivers
sudo apt-get -y install fglrx-updates fglrx-amdcccle-updates
fglrx-updates-dev && sudo apt-get -y update && sudo apt-get -y upgrade

#dependencies, etc to build/run cgminer and ssh
sudo apt-get -y install build-essential libcurl4-gnutls-dev yasm
libncurses5-dev git autoconf automake openssh-server byobu curl
libjansson-dev

#Update gpu config (reboot required) - necessary each time GPUs change
sudo aticonfig --lsa
sudo aticonfig --adapter=all --initial
#sudo reboot

#GPU status after initial config
#sudo aticonfig --adapter=all --odgt

#Install and build cgminer 3.7.2 for Scrypt
# See https://bitcointalk.org/index.php?topic=95718.0
#1. manually download AMD SDK (e.g., to ~/Desktop/AMDSDK), view Readme, and run install script
#2. manually download AMD SDL (e.g., to Desktop/AMDSDL). Copy /include/*.h to cgminer/ADL_SDK/
#Get CGMINER 3.7.2 and build
wget http://ck.kolivas.org/apps/cgminer/3.7/cgminer-3.7.2-x86_64.tar.bz2
tar jxvf cgminer-3.7.2-x86_64-built.tar.bz2
rm *.bz2
mv cgminer-3.7.2 ~/Desktop/cgminer
 cd cgminer
 ./configure
CFLAGS="-O2 -Wall -march=native -I/opt/AMDAPP/include"
LDFLAGS="-L/usr/lib" ./configure --enable-scrypt
 make

This is my script to launch cgminer for middlecoin - replace with your settings:
 
Code: [Select]
#!/bin/bash
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd ~/Desktop/cgminer
./cgminer --scrypt -o stratum+tcp://middlecoin.com:3333 -u
12s3ZEkjBbLRpMayaCXtjAaKDE5D84gFT5 -p x -I 15,17 --auto-fan
--temp-target 84 --gpu-engine 800 --gpu-memclock 300

That guide is sort of unrelated to memorycoin, but just make a new topic :\

213
MemoryCoin / Re: New YAM version release
« on: February 16, 2014, 03:44:04 am »
YAM works best with AES-NI enabled processors.
This coin features anti-botnet capabilities because the miner requires 1GB of RAM, or more.

Non-AES-NI processors work much better with aesni=off and non-YAM miners.

214
MemoryCoin / Re: New YAM version release
« on: February 15, 2014, 08:53:55 pm »
Very cool I had not known that.
So are there even more optimizations?


For those who haven't realized,
Version M now available: Update your YAM!
My servers report around a 30-50% increase in hashing power.

215
MemoryCoin / Re: [GUIDE] Headless ATI/AMD GPU Mining Tutorial
« on: February 15, 2014, 08:52:32 pm »
I'm sending 1 mmc for your detailed guide. But the poor wallet is broken without reason. I'll do't later.
haha
 +5%

216
MemoryCoin / Re: New YAM version release
« on: February 15, 2014, 04:45:41 am »
For those who haven't realized,
Version M now available: Update your YAM!

217
MemoryCoin / [GUIDE] Headless ATI/AMD Memorycoin GPU Mining Tutorial
« on: February 15, 2014, 02:09:30 am »
Want to run the MMC Miner on your debian server without a hassle? Well now you can with this tutorial!

Note: I tried Lubuntu and Xubuntu and even Ubuntu to run the GPU MMC Miner, but this setup is more efficient and  headless.

Steps:
1. Download the latest Debian Net installer and put it on a USB drive/disk [Note: a USB Drive is faster and environmentally friendly]
Pen Drive Linux (Universal USB Installer)
Code: [Select]
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ Debian 7.4.0 64-bit Net Installer  [Mirror: Steadfast.net]
Code: [Select]
http://mirror.steadfast.net/debian-cd/7.4.0/amd64/iso-cd/debian-7.4.0-amd64-netinst.iso Debian 7.4.0 32-bit Net Installer [Mirror: Steadfast.net]
Code: [Select]
http://mirror.steadfast.net/debian-cd/7.4.0/i386/iso-cd/debian-7.4.0-i386-netinst.iso

2. Install.
 Only select the packages for boxes SSH Server and Standard System Utilities. Uncheck the desktop environment and others.
   Tip: Use the cdn.debian.net mirror when selecting the package server.


3. Login to your server through SSH or use the console.


4. Add 'non-free' AND 'contrib' to the end of each deb line in /etc/apt/sources.list
Quote
apt-get update; apt-get install nano -y;
nano /etc/apt/sources.list;

It should look something like this:
Code: [Select]
deb http://cdn.debian.net/debian/ wheezy main contrib non-free
deb-src http://cdn.debian.net/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://cdn.debian.net/debian/ wheezy-updates main contrib non-free
deb-src http://cdn.debian.net/debian/ wheezy-updates main

5. Now install the required packages. [Not sure if you need libncurses5-dev and libudev-dev]
Code: [Select]
apt-get update && apt-get upgrade
apt-get install bzip2 fglrx-driver libcurl4-openssl-dev libncurses5-dev libudev-dev ntp screen unzip xdm xorg
apt-get purge libfglrx
apt-get install firmware-linux-nonfree
apt-get clean

6. Download the latest AMD Catalyst Drivers from the AMD website.
This step may be annoying because AMD's website requires a web referer to download any file on their server through wget. An alternative would be to upload it to a web server or even just upload it to your server through SFTP.

Quote
http://support.amd.com/en-us/download/desktop?os=Linux+x86

7. Unzip and run the file.
Quote
unzip amd-catalyst-13.12-linux-x86.x86_64.zip && sh amd-catalyst-13.12-linux-x86.x86_64.run --force
Accept all the dialogues.

8. Fix up the X-Server settings:
Code: [Select]
rm /etc/X11/xorg.conf && aticonfig --adapter=all --initial
9. Add this your /etc/profile file:
Quote
nano /etc/profile
Code: [Select]
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export XAUTHORITY=/.Xauthority

10. Restart. 'reboot'

11. You'll get a lousy glibc error when you try to start the gpu miner. (from mmcpool's GPU Miner)
There is an easy fix - ADD THIS to your /etc/apt/sources.list:

Quote
deb http://cdn.debian.net/debian testing main

  Now install the necessary packages:
Code: [Select]
apt-get update && apt-get -t testing install libc6-dev
Accept all the dialogues in order to install this package.

12. Download the latest MMC-Minerd Package and unzip it using TAR
Note: The download link may change if there is an update. I am also referring to mmcpool's GPU miner because it is more stable than 1gh's and promotes pool decentralization.
Quote
cd ~;wget http://dl.mmcpool.com/gpu/mmcpool-gpu-miner-ubuntu-x64.tgz?tm=1392439225243; tar -xvf *.tgz;chmod +x start.sh;chmod +x minerd-mmc

13. Run it with your wallet address.

Quote
./minerd-mmc WALLETID 0

14. Post Install:

'apt-get install screen'
If you install screen you can use the command:
Code: [Select]
screen -mDs mmc-miner ~/minerd-mmc WALLETID &
and even add it to the bottom of
'crontab -e'
[Untested. You may need to fine tune a delay after your system starts up, or even use some other method of running the miner upon startup.]
Code: [Select]
@reboot screen -mDs mmc-miner ~/minerd-mmc WALLETID &

Warning: Please remove the line with testing in /etc/apt/sources.list after installing the necessary libc library or your system may break.
Quote
#COMMENT IT OUT deb http://cdn.debian.net/debian testing main

The MMC GPU Miner is easier to install and run compared to compiling Scrypt's cgminer.

Tips @ MVHuEf3C7EoANzq7BMg7MLgiFY57S4kh5v :)

218
MemoryCoin / Re: Memorycoin Open Source Pool Software
« on: February 11, 2014, 04:33:42 am »
Have you got anyone to sponsor/host your pool code?

i.e. it will run the pool and update using the latest nightly builds -- etc...

Oh and FaSaan already forked it ^^

219
MemoryCoin / Re: Open Source or Licensed Pool Software
« on: February 09, 2014, 05:38:40 pm »
Now to think of it, I think we all could lend a helping hand to create a pool becuase it will make MMC stand out from the crowd.

I'd still want extasie's original pool code because that seemed to work for a while before everyone left -

220
MemoryCoin / Re: [JOB] Video Creation
« on: February 08, 2014, 06:21:28 pm »
I think the btc video was made in flash, and we could easily get someone on fiverr to annotate.

221
MemoryCoin / Re: Open Source or Licensed Pool Software
« on: February 08, 2014, 01:31:53 am »
I'll stick to the poll.

222
MemoryCoin / Re: Memorycoind ARM-Architecture Compilation Error
« on: February 08, 2014, 01:17:59 am »
All working now, thanks.

223
MemoryCoin / Re: Open Source or Licensed Pool Software
« on: February 07, 2014, 11:27:56 pm »
Don't open source it.
I'm afraid you need to keep the pool software on a tight lease.
  • 51% attack is probably easier to commence with manipulated code
  • More pool failures/DDoS and copy paste scripters who cannot run a pool
  • More Orphans on the network
  • Pools should be left to the respected groups
  • A powerful pool may be closed to the public

I will pay 0.1BTC (>~$100) MONTHLY for a license to host a pool. (Give or take the varying profits from a 0%-5% fee)
If you can code a feature for options to donate to charity, then I'd set my pool to 10%-20% charity.

I would promote a 2% fee or donations to help keep the pool running.

224
MemoryCoin / Re: hashrate down (was: 1gh under ddos, 90% hashrate gone)
« on: February 07, 2014, 07:07:10 pm »
31k MMC was dumped at one time at around the price that the big miner(s) left.

225
I would run a distributed pool :D
-Please, do not open source it.

Pages: 1 ... 8 9 10 11 12 13 14 [15] 16 17 18 19 20 21 22 ... 25