NODE INSTALL
Install a node for your coin on Ubuntu Server 22.04 with the following tutorial.
Update your Ubuntu server with the following command:sudo apt-get update && sudo apt-get upgrade -y
Download the Linux daemon
Extract the tar file with the following command:tar -xzvf kotia-daemon-linux.tar.gz
Download the Linux tools for your wallet
Extract the tar file with the following command:tar -xzvf kotia-qt-linux.tar.gz
Type the following command to install the daemon and tools for your wallet:sudo mv kotiad kotia-cli kotia-tx /usr/bin/
Create the data directory for your coin with the following command:mkdir $HOME/.kotia
Open nano.nano $HOME/.kotia/kotia.conf -t
Paste the following into nano.rpcuser=rpc_kotia
rpcpassword=YOUR_PASSWORD
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
daemon=1
Save the file with the keyboard shortcut ctrl + x.
Type the following command to start your node: kotiad
COMPILE KOTIA FROM SOURCE
Tutorial – Compile Linux wallet on Ubuntu Server 22.04
Compile a wallet for Ubuntu Linux on Ubuntu Server 22.04 with the following tutorial.
Update your Ubuntu server with the following command:sudo apt-get update && sudo apt-get upgrade -y
Install the required dependencies with the following command:sudo apt-get install make automake cmake curl g++-multilib libtool binutils-gold bsdmainutils pkg-config python3 patch bison -y
Create your source code directory with the following commands:cd ~/
mkdir source_code
cd source_code
Download the source code of KOTIA
Type the following command to extract the tar file:tar -xzvf kotia-source.tar.gz
Type the following command to download the update for Boost:wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/scrypt-pos/2.13/boost_fix_scrypt_pos_213.diff
Type the following command to update Boost:patch -p1 < boost_fix_scrypt_pos_213.diff
Type the following command to download the patch for Boost:wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/scrypt-pos/2.13/patches/boost/pthread-stack-min-fix.patch -P depends/patches/boost
Type the following command to download the update for QT:wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/scrypt-pos/2.13/qt_fix_scrypt_pos_213.diff
Type the following command to update QT:patch -p1 < qt_fix_scrypt_pos_213.diff
Type the following command to download the patch for QT:wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/scrypt-pos/2.13/patches/qt/qt_fix_limit.patch -P depends/patches/qt
Type the following command to download the update for BDB:wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/scrypt-pos/2.13/bdb_fix_scrypt_pos_213.diff
Type the following command to update BDB:patch -p1 < bdb_fix_scrypt_pos_213.diff
64-bit
Build x86_64-w64-linux with the following commands:PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')
cd depends
make HOST=x86_64-w64-linux
cd ..
Type the following commands to compile your wallet for Ubuntu Linux../autogen.sh
CONFIG_SITE=$PWD/depends/x86_64-w64-linux/share/config.site ./configure --prefix=/
make
Type the following command to clean your source code:make clean
32-bit
Build i686-w64-linux with the following commands:PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g')
cd depends
make HOST=i686-w64-linux
cd ..
Type the following commands to compile your wallet for Ubuntu Linux../autogen.sh
CONFIG_SITE=$PWD/depends/i686-w64-linux/share/config.site ./configure --prefix=/
make
The compiled wallet for Ubuntu Linux is located in the directory src/qt, the tools are located in the directory src.