Author

Topic: [ANN] [XMG] MAGI | CPU mining | mPoW | mPoS | [MagiPay] - page 1290. (Read 2375926 times)

full member
Activity: 238
Merit: 100
It seems that the developer is working on it.
Read page 26 quote # 511
newbie
Activity: 56
Merit: 0
Can someone explain how to mine @ windows, how to get the new wallet running? oO
hero member
Activity: 924
Merit: 1000
Windows compiled miner is coming before launch?
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
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
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
[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://bitcointalksearch.org/topic/m.11416220

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  -p 
To use Suprnova pool:
Code:
minerd -o stratum+tcp://xmg.suprnova.cc:7128 -u  -p 
and 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 
8232 is rpcport, rpcuser and rpcpass are user and password you set in magi.conf
set 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
legendary
Activity: 1190
Merit: 1004
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/


full member
Activity: 238
Merit: 100
Good things take more time!
I hope it's a good launch.
Many people follow Magicoin XMG.
It's nice to see that the community has confidence in the developer.
I have not seen that very often.
full member
Activity: 138
Merit: 100
This is a long-lauch.hmmm.Hope this coin have a real innovation!
sr. member
Activity: 378
Merit: 254
small fry
lol
i bet M7M isn't immune to particular cuda openGL optimization
i smell private miner a mile away from this one
member
Activity: 79
Merit: 10
Will you release the compiled Windows minerd ?
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
I will give details how the algo is modified. (tend to be more GPU resistant)
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
Algo is different, unlikely old miner works for new algo, the wallet is also new version?
http://cryptomagic.com/files/magi-release/testnet/
different algo?Huh
source?
i‘ll test it in windows

Cpuminer is here:

https://github.com/magi-project/magi-minerd

Coin source will be available at the launch.

algo different v1.0.0.2?Huh

The ver # here http://cryptomagic.com/files/magi-release/testnet/ is v1.0.0.1, that is starting number of formal wallet.
sr. member
Activity: 728
Merit: 251
Algo is different, unlikely old miner works for new algo, the wallet is also new version?
http://cryptomagic.com/files/magi-release/testnet/
different algo?Huh
source?
i‘ll test it in windows

Cpuminer is here:

https://github.com/magi-project/magi-minerd

Coin source will be available at the launch.

algo different v1.0.0.2?Huh
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
Algo is different, unlikely old miner works for new algo, the wallet is also new version?
http://cryptomagic.com/files/magi-release/testnet/
different algo?Huh
source?
i‘ll test it in windows

Cpuminer is here:

https://github.com/magi-project/magi-minerd

Coin source will be available at the launch.

Edit, I guess you're asking for coin; if you can compile miner, the qt wallet can be compiled too.
sr. member
Activity: 728
Merit: 251
Algo is different, unlikely old miner works for new algo, the wallet is also new version?
win32_magi-qt_v1.0.0.2_testnet for test

http://cryptomagic.com/files/magi-release/testnet/
different algo?Huh
source?
i‘ll test it in windows
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
will back for the mining guides  Embarrassed
legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
Launch will be held until Windows miner is avail yes?

I've found someone who can offer help on this; Let's see how is that going.

What's the difference between new miners and old?

i'll try to compilation win minerd

old miner working fine



Algo is different, unlikely old miner works for new algo, the wallet is also new version?
sr. member
Activity: 728
Merit: 251
Launch will be held until Windows miner is avail yes?

I've found someone who can offer help on this; Let's see how is that going.

What's the difference between new miners and old?

i'll try to compilation win minerd

old miner working fine

legendary
Activity: 1190
Merit: 1009
Coin of the Magi!
Testnet wallet is here: http://cryptomagic.com/files/magi-release/testnet/ (srry only linux yet)
legendary
Activity: 2954
Merit: 1153
Launch will be held until Windows miner is avail yes?

I've found someone who can offer help on this; Let's see how is that going.
this is a great news hopefully things will all go well according to plan; so launch will be smooth ^^,
Jump to: