Bitcoin Forum
June 22, 2017, 12:28:36 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
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 ... 807 »
  Print  
Author Topic: [ANN] [XMG] MAGI | CPU mining | mPoW | mPoS | [MagiPay]  (Read 1422933 times)
joelao95
Legendary
*
Online Online

Activity: 924


Coin of the Magi!


View Profile
September 13, 2014, 05:51:00 AM
 #521

[Wallet compiling & VPS mining guide]

Please follow this guide to compile Linux version. There was some issues in static linked wallet; I'll make some tests and upload the files.

Note: Berkeley DB v4.8.30.NC (http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz) is recommended.
See: https://bitcointalk.org/index.php?topic=735170.msg11416220#msg11416220

Register your VPS through the following referral link to support this project:
Digitalocean: https://www.digitalocean.com/?refcode=0881d086fee6
VULTR: http://www.vultr.com/?ref=6812659
Through the referral link, Digitalocean gives free credit which allows free VPS service.

This guild covers wallet compiling, VPS setting up, compiling cpuminer and running pool or solo mining.

If you only want to compile wallet, please read steps #5 and #9. If you want to create a new user, take a look at #3.

1) Set up a VPS server.

2) Get the login information from the email received (IP and password), typically
Code:
ssh root@IP
This is a command to ssh login the VPS. You'lll need to figure out ssh, for example, http://www.putty.org/ for windows.

3) Once login, copy and paste the following commands (you can choose different username than magi)
Code:
adduser magi
follow instructions to set up a user (only need to create password)

Code:
/usr/sbin/visudo
edit this section (add line"magi ..."):
Quote
## User privilege specification
root    ALL=(ALL:ALL) ALL
magi   ALL=(ALL:ALL) ALL

4) Exit and ssh again with (i.e., regular user login rather prior root user)
Code:
ssh magi@IP

5) Upgrade and install packages:
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git screen automake build-essential libboost-all-dev libdb5.1-dev libdb5.1++-dev libminiupnpc-dev libcurl4-openssl-dev libgmp-dev libssl-dev
To compile Qt wallet:
Code:
sudo apt-get install qt-sdk qt5-qmake libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev-tools qt5-default
(input your password once asking)

6) This is needed if you choose 512 M memory during VPS creation (normally you don't need to do this if you're compiling using personal computer)
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

Turn on swap permanently by adding it to the fstab file:
Code:
sudo nano /etc/fstab
 /swapfile       none    swap    sw      0       0

DON'T do the following steps unless you know what they mean:
Code:
sudo swapon -s
sudo swapoff /swapfile
sudo rm /swapfile

7) Compile cpuminer (copy and past following command)
Code:
cd
git clone https://github.com/magi-project/wolf-m7m-cpuminer-V2
cd m7magi-cpuminer-v2

I recommend the following minerd source which allows adjusting CPU usage.

Code:
cd
git clone https://github.com/magi-project/m-cpuminer-legacy-v2
cd m-cpuminer-legacy-v2

Code:
./autogen.sh
CFLAGS="-O3 -march=native" ./configure
make
sudo cp minerd /usr/local/bin
(notice any errors, let me know if you stuck somewhere)

8-) Pool mining

Notice the following is to run general minerd. If you want to use m-cpuminer-legacy, add the "-e" option as follows:
Code:
minerdlegacy -o stratum+tcp://pool_url:pool_port -u pool_user.worker -p password -t thread_numbers -e cpu_efficiency

We need put the miner a screen session so it will run even when we logout VPS:
Code:
screen -S magi
To use Nonce-pool:
Code:
minerd -o stratum+tcp://mine2.magi.nonce-pool.com:4090 -u <username> -p <password>
To use Suprnova pool:
Code:
minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u <username> -p <password>
<username> and <password> are the worker and password you setup in the pool (check the pool website for info; ask me if you don't know how to set it up)
Press “CTRL+a” and then press “D” to detach from the screen session (get back to prior command line). Under regular command line you can check if the screen section is alive:
Code:
screen -ls
If you remember (i.e., magi), simply issue
Code:
screen -r magi
to back to the mining screen. You logout/login to check if the mining is still going on.
Quote
Press “CTRL+A+D”;
Code:
exit
ssh magi@IP
screen -r magi

Basically you're done pool mining! [screen shot]


If you interested to solo mining, please continue reading.

9) Compile and run Magi wallet
Code:
git clone https://github.com/magi-project/magi

To compile daemon (this is the only one needed for VPS mining)
Code:
cd magi/src
make -f makefile.unix

To compile Qt wallet
Code:
cd magi
qmake
make
The above commands are enough to compile the walle. Please read relevant documents, if you want to add options to qmake.

magi.conf is the configuration file to set up various parameters, for example nodes in order to successfully sync the network. Usually you don't need it. The following steps are to set up the conf file.

The magi.conf file should be in the folder: ~/.magi (for windows, browse into folder %appdata%\magi) (if the folder .magi or magi is not there, you can simply create it, or simply run the daemon or Qt wallet, it will be automatically created)
(magi.conf is also needed if you do sole mining; notice you can use any username and password for rpcuser and rpcpassword)
Code:
cd ~/.magi
emacs magi.conf
emacs is text edit tool, use any you like. save the following content:
Quote
daemon=1
server=1
rpcport=8232
rpcallowip=127.0.0.1
rpcuser=rpcuser
rpcpassword=rpcpass

If you need network nodes or can get the wallet sync work, add the following into magi.conf:
Quote
addnode=104.128.225.215
addnode=216.189.144.213
addnode=162.245.217.165
addnode=104.131.57.65
addnode=104.131.42.100

To run the daemon (don't do this if you want to use Qt wallet),
Code:
cd ~/magi/src
./magid &

10) Solo mining
Code:
./minerd --url http://127.0.0.1:8232 --user rpcuser --pass rpcpass --threads <number of threads>
8232 is rpcport, rpcuser and rpcpass are user and password you set in magi.conf
set <number of threads> to a number, matching with the threads of your needs.



Code:
sudo apt-get install build-essential libcurl4-openssl-dev automake autoconf git openssl libgmp-dev screen
git clone https://github.com/magi-project/m-cpuminer-legacy-v2
./autogen.sh && CFLAGS="-O3 -march=native" ./configure && make

screen -S mining
./minerd -o stratum+tcp://stratum1.suchpool.pw:3333 -u magi.u -p p -e 90
screen -r mining

Join the Crowdfunding Revolution ►► FundYourselfNow.com ◄◄ Crowdsale with
attractive rewards
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1498134516
Hero Member
*
Offline Offline

Posts: 1498134516

View Profile Personal Message (Offline)

Ignore
1498134516
Reply with quote  #2

1498134516
Report to moderator
joelao95
Legendary
*
Online Online

Activity: 924


Coin of the Magi!


View Profile
September 13, 2014, 05:53:24 AM
 #522

I downloaded this file onto ubuntu. How do I open it?    ubuntu_14_amd64__magi-qt_v1.0.0.1

http://cryptomagic.com/files/magi-release/testnet/


Code:
chmod 755 ubuntu_14_amd64__magi-qt_v1.0.0.1
and then
Code:
./ubuntu_14_amd64__magi-qt_v1.0.0.1

opossum
Hero Member
*****
Offline Offline

Activity: 941


View Profile
September 13, 2014, 06:01:01 AM
 #523

Windows compiled miner is coming before launch?


 
         ▄▄█████████▄▄
      ▄█████████████████▄
   ▄████▀            ▀████▄
  █████                █████▄
 ███████████████████████████▄
████▀▀▀▀▀▀▀████████▀▀▀▀▀▀▀███▄
████        ██████        ████
████        ██████        ████
████        ██████        ████
████        ██████        ████
 ████▄      ██████      ▄████
  ▀████     ██████    ▄████▀
    ▀████▄▄▄██████▄▄▄████▀
      ▀▀██████████████▀▀
TIDEX



Zlush1337
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 13, 2014, 06:16:08 AM
 #524

Can someone explain how to mine @ windows, how to get the new wallet running? oO
lama82
Full Member
***
Offline Offline

Activity: 238


View Profile
September 13, 2014, 07:04:12 AM
 #525

It seems that the developer is working on it.
Read page 26 quote # 511
Zlush1337
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 13, 2014, 07:17:23 AM
 #526

alright, but he have to hurry... just a few hours untill the coin will be released Cheesy
joelao95
Legendary
*
Online Online

Activity: 924


Coin of the Magi!


View Profile
September 13, 2014, 07:31:04 AM
 #527

Anyone who already compiled the window version, please let me know. Thx.

Sellman
Full Member
***
Offline Offline

Activity: 154

U fk troll if dont respect opinion.


View Profile
September 13, 2014, 07:49:30 AM
 #528

Anyone who already compiled the window version, please let me know. Thx.

KMON WE NEED WIN VERSION OR STOP THIS ANN, POSTICIPATE TOMORROW OR AFTER!

IF U DONT BUILD WIN VERSION 70% DROP U !!!!!!!!!

Aliyah
Full Member
***
Offline Offline

Activity: 140


View Profile
September 13, 2014, 08:53:07 AM
 #529

waiting for the lauch.I have noticed this coin for long time ago.I will mine some!
Superxfast
Full Member
***
Offline Offline

Activity: 161


View Profile
September 13, 2014, 09:05:16 AM
 #530

Dear joelao95

Can I install only one wallet qt on ubuntu, and 5 servers running minerd to connect to this 1 wallet?

Thanks.
[A guide for VPS mining]

Setting Amazon AWS up is not that much different from VPS. Here is a reference; notice this is for GPU spot instance (http://aloysius.wordpress.com/2013/12/02/is-mining-litecoins-on-aws-ec2-profitable-part-2-gpu-mining/)

A conversation about setting up wallet & cpuminer:
Quote

1) Sign up for an account.
If you like, use my referral link, and support this project too.  Smiley
Quote
Input a name for the vps, Select Size (all types work), Select image: Debian 7.0 x64; all others default, then click Create Droplet.

2) You will receive an email about login info, typically
Code:
ssh root@IP
to login the system

3) Once you login, copy and paste following commands (magi is username, use any else you like)

Code:
adduser magi
follow instructions
Code:
/usr/sbin/visudo
to edit the section:
Quote
## User privilege specification
root    ALL=(ALL:ALL) ALL
magi   ALL=(ALL:ALL) ALL

3) exit and ssh again with
Code:
ssh magi@IP

4) Upgrade and install packages:
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential libboost-all-dev libdb5.1-dev libdb5.1++-dev libminiupnpc-dev git
sudo apt-get install gfortran
sudo apt-get install libgmp-dev

5) this is needed if you choose the minimum size during VPS creation
Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

6) run magi wallet
Code:
cd
git clone https://github.com/magi-project/magi
cd magi/src
make -f makefile.unix
Create a conf file which should be in the folder: ~/.magi (magi is the user we created)
Code:
cd ~/.magi
emacs magi.conf
emacs is text edit tool, use any you like. save the following content:
Quote
daemon=1
server=1
rpcport=18232
rpcallowip=127.0.0.1
rpcuser=rpcuser
rpcpassword=rpcpass

Code:
cd ~/magi/src
./magi &
The last command runs the daemon.

7) compile cpuminer
Code:
cd
git clone https://github.com/magi-project/magi-minerd
./autogen.sh
CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native" ./configure
make
Edit magi-minerd.sh in case you need to change something, and "--threads 1" to change the number of threads
Code:
./magi-minerd.sh
to run the miner.
Zlush1337
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 13, 2014, 09:10:56 AM
 #531

c'mon, set the release 1 week later...
RedZeppelin
Member
**
Offline Offline

Activity: 70


View Profile
September 13, 2014, 09:20:11 AM
 #532

c'mon, set the release 1 week later...

Why, all we need is a windows build not linux only.

Kahir - Scamming dev of Rebirthcoin https://bitcointalk.org/index.php?topic=798159.msg8977686#msg8977686 gets a free happy meal!!
Superxfast
Full Member
***
Offline Offline

Activity: 161


View Profile
September 13, 2014, 09:25:14 AM
 #533

Can I install only one wallet qt on ubuntu, and 5 servers running minerd to connect to this 1 wallet?

Thanks.
ehmdjii
Sr. Member
****
Offline Offline

Activity: 350


View Profile
September 13, 2014, 09:32:34 AM
 #534

is there a 32bit build of the wallet somewhere?

BTC: 1LsD5HpnX1Kfyti7CnHiVB1rjUEXGqmR2H
LTC: LQbpdMZmYyJa9bJG6NweBNxkSTfgZorkrG
lionheart78
Legendary
*
Offline Offline

Activity: 980



View Profile
September 13, 2014, 09:36:16 AM
 #535

here is another back-up solution if Dev failed to release win miner on launch; just build a linux sytem within windows system.

things needed; oracle virtual box; ubuntu (linux OS)

1. Download oracle virtual box here: http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
2. download ubuntu (linux OS) here : http://www.ubuntu.com/download/desktop
3. install oracle virtual box
4. install ubuntu(linux OS) inside the oracle virtual box

that pretty much give u a linux system within the windows system; am not familiar with linux but at least you have back up solution if XMG dont have win miner on launch

.BitDice.               ▄▄███▄▄
           ▄▄██▀▀ ▄ ▀▀██▄▄
      ▄▄█ ▀▀  ▄▄█████▄▄  ▀▀ █▄▄
  ▄▄██▀▀     ▀▀ █████ ▀▀     ▀▀██▄▄
██▀▀ ▄▄██▀      ▀███▀      ▀██▄▄ ▀▀██
██  ████▄▄       ███       ▄▄████  ██
██  █▀▀████▄▄  ▄█████▄  ▄▄████▀▀█  ██
██  ▀     ▀▀▀███████████▀▀▀     ▀  ██
             ███████████
██  ▄     ▄▄▄███████████▄▄▄     ▄  ██
██  █▄▄████▀▀  ▀█████▀  ▀▀████▄▄█  ██
██  ████▀▀       ███       ▀▀████  ██
██▄▄ ▀▀██▄      ▄███▄      ▄██▀▀ ▄▄██
  ▀▀██▄▄     ▄▄ █████ ▄▄     ▄▄██▀▀
      ▀▀█ ▄▄  ▀▀█████▀▀  ▄▄ █▀▀
           ▀▀██▄▄ ▀ ▄▄██▀▀
               ▀▀███▀▀
        ▄▄███████▄▄
     ▄███████████████▄
    ████▀▀       ▀▀████
   ████▀           ▀████
   ████             ████
   ████ ▄▄▄▄▄▄▄▄▄▄▄ ████
▄█████████████████████████▄
██████████▀▀▀▀▀▀▀██████████
████                   ████
████                   ████
████                   ████
████                   ████
████                   ████
████▄                 ▄████
████████▄▄▄     ▄▄▄████████
  ▀▀▀█████████████████▀▀▀
        ▀▀▀█████▀▀▀
▄▄████████████████████████████████▄▄
██████████████████████████████████████
█████                            █████
█████                            █████
█████                            █████
█████                            █████
█████                     ▄▄▄▄▄▄▄▄▄▄
█████                   ▄█▀▀▀▀▀▀▀▀▀▀█▄
█████                   ██          ██
█████                   ██          ██
█████                   ██          ██
██████████████████▀▀███ ██          ██
 ████████████████▄  ▄██ ██          ██
   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ██          ██
             ██████████ ██          ██
           ▄███████████ ██████▀▀██████
          █████████████  ▀████▄▄████▀
[/]
djm34
Legendary
*
Offline Offline

Activity: 1078


View Profile WWW
September 13, 2014, 09:42:32 AM
 #536

lol, the funny thing is that before he wanted that everybody has the miner on launch, and with that piece of algo crap (seriously a fortran routine, like if the c++ counterpart didn't exist  Grin), we end up with what Catia is good at: making stuff which doesn't compile on windows  Grin
(yeah... that's what you get for free   Wink )


ps: And to be honest, I am always suspicious when someone writing gpu miner is making "cpu only" algo  Grin (that's sound fishy...) 

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
opossum
Hero Member
*****
Offline Offline

Activity: 941


View Profile
September 13, 2014, 09:44:26 AM
 #537

You should not launch the coin before we have working windows miner, that's my humble opinion.


 
         ▄▄█████████▄▄
      ▄█████████████████▄
   ▄████▀            ▀████▄
  █████                █████▄
 ███████████████████████████▄
████▀▀▀▀▀▀▀████████▀▀▀▀▀▀▀███▄
████        ██████        ████
████        ██████        ████
████        ██████        ████
████        ██████        ████
 ████▄      ██████      ▄████
  ▀████     ██████    ▄████▀
    ▀████▄▄▄██████▄▄▄████▀
      ▀▀██████████████▀▀
TIDEX



RedZeppelin
Member
**
Offline Offline

Activity: 70


View Profile
September 13, 2014, 09:46:49 AM
 #538

You should not launch the coin before we have working windows miner, that's my humble opinion.

Aye but that would give everyone a fair opportunity, something rarely seen on launches cause the devs simple dont want it.
They have X amount of servers already waiting and they want the most $$$ out of them.

Kahir - Scamming dev of Rebirthcoin https://bitcointalk.org/index.php?topic=798159.msg8977686#msg8977686 gets a free happy meal!!
Monopoly
Hero Member
*****
Offline Offline

Activity: 546



View Profile
September 13, 2014, 09:59:39 AM
 #539

Some one tell us how we can mine the coin ?
Please give software and command line .bat .
Thanks

RedZeppelin
Member
**
Offline Offline

Activity: 70


View Profile
September 13, 2014, 10:02:22 AM
 #540

Some one tell us how we can mine the coin ?
Please give software and command line .bat .
Thanks

No windows miner at the moment, i guess you see it 1 week after launch or something.
Seriously this coin been announced long ago and there is no ready to go miner yet, things usually turns out like this when
A: the DEV cant compile and release a windows miner
or..
B: the DEV simply dont want there to be a windows miner upon launch
Dev started looking for someone to do it for him in this thread a few hours prior to launch, awesome planning i must say.

Why even compile a windows miner when you can have 1000 desperate retards eager to mine this willingly clicking your digitalocean refferal link?

Kahir - Scamming dev of Rebirthcoin https://bitcointalk.org/index.php?topic=798159.msg8977686#msg8977686 gets a free happy meal!!
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 ... 807 »
  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!