Post
Topic
Board Announcements (Altcoins)
Re: [ANN] AnimeCoin [アニメコイン]
by
Ratanol
on 27/01/2014, 06:38:45 UTC
OK here's a quick way to get a few droplets running on digital ocean:

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

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
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)

Code:
sudo 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

Then edit the file with:

Code:
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

Check everything looks ok, then shutdown the droplet:

Code:
shutdown now -h

This will 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.