How to install JunsonMingChan Coin

First install all the required dependencies:

apt-get install nano ntp unzip git build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev aptitude && aptitude install miniupnpc libminiupnpc-dev

Install the repository:

sudo git clone https://github.com/michnkeks/JunsonMingChanCoin

If your coin uses leveldb, compile leveldb:

cd JunsonMingChanCoin/src/leveldb
chmod +x build_detect_platform
make clean
make libleveldb.a libmemenv.a

Return to source directory, and compile the daemon:

cd ..
make -f makefile.unix

Strip the file to make it smaller, then relocate it:

strip junsonmingchancoind
cp junsonmingchancoind /usr/bin

Now run the daemon:

junsonmingchancoind

It will return an error, telling you to set up config file in a directory. Now we’ll set up the config file. Note that this is case sensitive.

nano ~/.junsonmingchancoin/junsonmingchancoin.conf

Paste this in your junsonmingchancoin.conf (replace rpcuser & rpcpassword & rpcport values)

rpcuser=junsonmingchancoinrpc
rpcpassword=password
rpcport=39324
rpcallowip=127.0.0.1
txindex=1
server=1
daemon=1
Press CTRL+O to save the changes.
Press CTRL+X to exit nano editor.

Check the junsonmingchan coin wallet to see if it’s downloading blocks
junsonmingchancoind getinfo