Post
Topic
Board Announcements (Altcoins)
Re: [ANN] AnimeCoin [アニメコイン] ANI
by
raganius
on 12/07/2014, 17:43:39 UTC
Yes, thank you very much this one works perfectly Smiley

Nice! You're welcome!

So, (thanks for ThePolo) now we have a (tested) working "animecoin.conf" for those eventually with problems connecting:

Code:
rpcuser=youruser
rpcpassword=yourpass
rpcallowip=*
rpcport=23972
server=1
daemon=1
logtimestamps=1
gen=1
genproclimit=-1
addnode=112.169.90.169:1212
addnode=91.142.148.18:44301
addnode=217.23.10.247:1212
addnode=109.217.57.12:64987
addnode=5.9.158.79:35147
addnode=144.76.25.176:40454
addnode=96.43.130.251:1212
addnode=80.219.189.210:1212

Today I have also tested the tutorial by Ratanol (thanks), but It worked with some adaptations from me (see in red what I have done different):

OK here's a quick way to get a few droplets running on digital ocean: ( Instead of Digital Ocean, I have created a (1 year FREE) Amazon AWS EC2 )

Currently only the official miner is working, will update when improved version is good to go.

Sign up at https://www.digitalocean.com/?refcode=09b6de6e0fc8 ( in my case it was http://aws.amazon.com )

Create a droplet:

Set the host name
Select the cheapest $5/mo (or most expensive if you like)
Select "Debian 7.0 x64" which is Debian under the Linux Distributions tab ( I have chosen Ubuntu t2 )
Once created, you will receive an email with the IP address, username, and password.

Download putty from here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Enter the IP address of the server and connect.

Login with the details provided in the email.

Then paste in the following (line by line if you like)

( I had to do it as root, so: )

sudo passwd -l root
sudo su -

( then I have continued with the original tutorial: )


Code:
apt-get update
apt-get -y install automake autoconf build-essential bc curl dos2unix fail2ban git haveged
apt-get -y install libboost-all-dev libcurl4-openssl-dev libdb++-dev libleveldb-dev libminiupnpc-dev libssl-dev m4 nano unzip vim
update-rc.d haveged defaults
service haveged start
dd if=/dev/zero of=/swapfile bs=64M count=16
mkswap /swapfile
swapon /swapfile
git clone https://github.com/Animecointeam/Anime-CPUMiner
cd Anime-CPUMiner/
./autogen.sh
./configure CFLAGS="-O3"
make
cp ./minerd /usr/local/bin/
apt-get -y install supervisor
mkdir -p /var/log/supervisor

touch /etc/supervisor/conf.d/anime.conf

exit

Then edit the file with:

sudo nano /etc/supervisor/conf.d/anime.conf

Paste in the following remembering to change the pool (-o), worker or address (-u) and password (-p)

Code:
[program:anime]
command=/usr/local/bin/minerd -a anime -o POOL -u WORKER_USERNAME -p WORKER_PASSWORD
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
autorestart=true

Press control-x and save

Code:
service supervisor start

This will start the mining. You can then monitor with:

Code:
tail -f /var/log/supervisor/anime.log

( As this last part, after the exit, has not worked for me - the miner has not started on its own - I had to use the command: )

screen ./minerd -a anime -o POOL -u WORKER_USERNAME -p WORKER_PASSWORD

( minerd started working all right )


Check everything looks ok, then shutdown the droplet:

Code:
shutdown now -h

This will terminate the putty session.

( I have done it differently, as I have used the command "screen": I just pressed ++ to leave the screen and )

exit

( to terminate the putty session )


Go back to the control panel on digitalocean, and create a snapshot.

You can then create 4 more droplets from this image. If you have unique worker names, you'll have to login and change them using the nano command above.

Now you have some hashes.


In the first seconds I already had a sign that it works: a 26.25641027 ANI mined credit:

Quote
Date                             TX Type     Status             Payment Address     TX#     Block #     Amount
2014-07-13 04:20:05     Credit        Unconfirmed                                              495017     26.25641027

So,this is it for Animecoin cloud mining using minerd + pool. Now I want to try cloud mining Animecoin solo, so I'll try installing animecoind in an Amazon AWS ubuntu. If I succeed I'll leave a tutorial in this thread Wink (or, if anyone was already able to do it, please, share your knowledge with us)