Before installation, you need to fill out the Titan L1 Validation Node Application Form above and qualify to install the L1 Validation node. If you qualify, you will receive a unique code. This code is single-use and can be used for one server only. Additionally, we will need an identity code to link the node to our account, which can be obtained from Titan's website.
sudo apt update && sudo apt upgrade -y
sudo apt install screen
sudo ufw allow 9000
sudo ufw allow 2345
wget https://github.com/zscboy/titan/releases/latest/download/titan-candidate
chmod 0755 titan-candidate
mkdir /root/titan
export TITAN_METADATAPATH=/root/titan
export TITAN_ASSETSPATHS=/root/titan
nohup ./titan-candidate daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0 --code özelkodumuzuburayagiriyoruz > /var/log/candidate.log 2>&1 &
./titan-candidate bind --hash=identitycodeyazalım https://api-test1.container1.titannet.io/api/v2/device/binding
nano /var/log/candidate.log
screen -S titanscript
nano titanscript.sh
# It starts an infinite loop.
while true; do
# The command that will run in the loop.
nohup ./titan-candidate daemon start --init --url https://test-locator.titannet.io:5000/rpc/v0 --code 5c0db7689c7d40ffae3b4170a850e3a0 > /var/log/candidate.log 2>&1 &
# The intervals at which the loop will repeat (in seconds)
sleep 60
done
chmod +x titanscript.sh
./titanscript.sh
ctrl+a aynı anda bastıktan sonra screen ekranı komut modu açılır sonrasında +d ye basarak ana ekrana dönebilirsin
screen -r -d titanscript
screen -ls (show all of them with their names, including id)
screen -X -S screenid quit