How to Build Unobtanium on Ubuntu Linux

Yet another SHA256 crypto-currency based on Bitcoin. According to the developers Unobtanium is SHA256, Proof of Work only type coin with a block reward of 1 coin per block, halving every 102,000 blocks and finishing with a minimum subsidy of .00001 after 612,000 blocks. A maximum of 250,000 coins will be created.

To build Unobtanium on Ubuntu is very simple as long as you are using the correct version of the operating system.

Requirements

  • Ubuntu Linux 10.04.3 LTS Server 32-bit or 64-bit
  • About 2 Hours of time

I am installing Ubuntu Server on a VMWare virtual machine. If you are using a regular computer or some other type of vitalization software you may skip the VMWare Tools Installation section. The rest of these instructions assume you have a fresh clean installation of Ubuntu 10.04.3 LTS all ready.

Pre-Setup

Before we continue, lets apply any pending updates and reboot:

sudo -s
apt-get update
apt-get upgrade
reboot

If you are using VMWare, the following commands will install VMWare tools with minimal effort:

sudo -s
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
ls /mnt/cdrom
tar xzvf /mnt/cdrom/VMwareTools-9.0.0-782409.tar.gz -C /tmp/
cd /tmp/vmware-tools-distrib/
./vmware-install.pl -d
reboot

Install Dependencies

Installing all the required libraries and header files is as simple as just copying and pasting each line below into your console.

sudo -s
apt-get install build-essential
apt-get install libssl-dev
apt-get install libdb4.8-dev
apt-get install libdb4.8++-dev
apt-get install libboost-all-dev
apt-get install git-core
apt-get install ntp

We install NTPd to keep our system's time in sync. This is very important for crypto-currencies.

Download Source Code, Build, and Install

Now comes the exciting part. We download the Unobtanium source from the GIT repository then build the binary. Just copy and paste each line below into your console.

cd /usr/local/
git clone https://github.com/thegreatoldone/Unobtanium.git
cd Unobtanium/
cd src/
make -f makefile.unix USE_UPNP=

The build should take about 1 hour to complete depending on the speed of your system. When done, finish up the process by removing the debug symbols from the Unobtanium binary. Lastly copy the binary to it's final install location:

strip unobtaniumd
cp unobtaniumd ..

Congratulations! Unobtanium has been built and installed.

Final Steps

We need to install a configuration file and the startup scripts. Luckily for you this can be done with just a few more commands that you can copy and paste into your console:

wget -qO /etc/init.d/unobtanium http://www.unibia.com/unibianet/sites/default/files/unobtanium-init.txt
wget -qO /etc/default/unobtanium http://www.unibia.com/unibianet/sites/default/files/unobtanium-default.txt
wget -qO /etc/unobtanium.conf http://www.unibia.com/unibianet/sites/default/files/unobtanium-conf.txt
mkdir -p -m 777 /var/db/unobtanium
chmod +x /etc/init.d/unobtanium

The configuration file needs to be adjusted to your needs. Mostly you need to setup a "rpcpassword". Edit the file /etc/unobtanium.conf using your favorite editor. On Ubuntu 10.04.3LTS you can use "nano /etc/unobtanium.conf".

rpcuser=admin
rpcpassword=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
rpcport=65535
port=65534
rpcallowip=127.0.0.1
rpcallowip=192.168.0.*
maxconnections=300
addnode=63.247.147.163
addnode=71.7.130.11
addnode=69.85.86.195
addnode=98.186.65.97
addnode=174.126.220.190
addnode=24.189.235.39
addnode=64.251.188.32
addnode=69.147.229.226
addnode=92.145.148.165
addnode=162.213.155.46
addnode=144.76.166.163
server=1
listen=1
daemon=1
logtimestamps=1

You should be able to start, stop, and check the status of the Unobtanium service with these commands:

service unobtanium stop
service unobtanium start
service unobtanium status

Found this helpful? Show thanks by sending a Unobtanium: ueJo82oqnUDjN7jnyYQXStGcNxrH24wB3E

AttachmentSize
Unobtanium Configuration226 bytes
Unobtanium Default Settings116 bytes
Unobtanium Init Script4.33 KB
PacyWorld Button
Powered by Pacy