Here's my simple script to run on vanilla linux servers or cloud servers (:X)
wget https://dl.dropboxusercontent.com/u/50880632/mmc.sh; chmod +x mmc.sh;./mmc.sh &
Monitor Window:
watch './bitcoind getinfo && ./bitcoind getmininginfo'
What's in the bash script-
#!/bin/bash
apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-dev;
MMC Tips @ MMt59REmPF9w9a7uBp6hHKtWKvMRvKUX1h
Hi - I've setup a HP Cloud server using Ubuntu Raring 13.04 Server 64-bit and I am trying to run your script. It copies fine to my server, but the first line gives me this error:
ubuntu@mmc2-16:~$ ubuntu@mmc2-16:~$ apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-dev
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ubuntu@mmc2-16:~$: command not found
ubuntu@mmc2-16:~$ E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
-bash: syntax error near unexpected token `('
ubuntu@mmc2-16:~$ E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
-bash: syntax error near unexpected token `('
ubuntu@mmc2-16:~$
I am a linux newbie, can you tell me how to solve this? (Happy to add donation for a fix
)
Cheers!
Type
sudo su
This will make you have root access. No donation needed.
Sweet! That did work...however, after running:
wget https://dl.dropboxusercontent.com/u/50880632/mmc.sh; chmod +x mmc.sh;./mmc.sh &
and then this:
watch './bitcoind getinfo && ./bitcoind getmininginfo'
I get this:
root@mmc2:/home/ubuntu/memorycoin/src# watch './bitcoind getinfo && ./bitcoind getmininginfo'
Every 2.0s: ./bitcoind getinfo && ./bitcoind getmin... Fri Dec 20 04:09:10 2013
error: You must set rpcpassword=
in the configuration file:
/root/.memorycoin/memorycoin.conf
If the file does not exist, create it with owner-readable-only file permissions.And the terminal just sits there. The thing is, in the script there is the line:
echo 'rpcuser=memorycoinrpc
rpcpassword=igoingtostartminingmemorycoinyay
Shouldn't that be the password? In the config file already?
(For those that asked: this is on an HP Cloud server, using Ubuntu Server 13.10 (amd64 20131030))
Thanks!