-
Notifications
You must be signed in to change notification settings - Fork 542
Home
Kristaps Jahimovics edited this page Jan 9, 2022
·
1 revision
For kira you have to choose CX41 and add extra 500GB volume to it
LOGIN as root
First of all you have to initialize new 500GB volume and make it primary data container for kira node
Replace HC_Volume_13371337 to your VOLUME_name
{ cd /var/lib && tar cf - . ; } | { cd /mnt/HC_Volume_13371337/ ; tar xvf - ; echo EXIT=$? ; }
nano /etc/fstab
EXAMPLE how it should look:
/dev/disk/by-id/scsi-0HC_Volume_13371337 /mnt/HC_Volume_13371337 ext4 discard,nofail,defaults 0 0
>>>>>>
/dev/disk/by-id/scsi-0HC_Volume_13371337 /var/lib ext4 discard,nofail,defaults 0 0
After that press CTRL+O and ENTER to overwrite file contents
Then press CTRL+x to close the file
mv /var/lib /var/lib-
mkdir /var/lib
mount /var/lib
sudo apt update && sudo apt -y upgrade
sudo apt-get install -y network-manager
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io
sudo useradd kira -m -s /bin/bash
sudo passwd kira
sudo usermod -aG sudo kira
sudo su - kira
sudo -s
cd /home/kira && mkdir ./.secrets && nano ./.secrets/mnemonics.env
After that press CTRL+O and ENTER to overwrite file contents
Then press CTRL+x to close the file
cd /tmp && read -p "Input branch name: " BRANCH && \
wget https://raw.githubusercontent.com/KiraCore/kira/$BRANCH/workstation/init.sh -O ./i.sh && \
chmod 555 -v ./i.sh && H=$(sha256sum ./i.sh | awk '{ print $1 }') && read -p "Is '$H' a [V]alid SHA256 ?: "$'\n' -n 1 V && \
[ "${V,,}" != "v" ] && echo "INFO: Setup was cancelled by the user." || ./i.sh "$BRANCH"
testnet-9
`
18.135.115.225 3.11.224.235 52.56.117.134
https://testnet-rpc.kira.network/download/peers.txt
https://testnet-rpc.kira.network/api/pub_p2p_list?ip_only=true&connected=true
`
https://raw.githubusercontent.com/KiraCore/testnet/main/testnet-9/genesis.json
sudo kira
sudo kira