First lesson is required to fully understand this video, you can find it here.
To install our cardano node we will need to download the executable file (easy way) that we can find on the official repository of Cardano here.
Once we find the linux executable link we can copy it and use it in our VPS to download it
Downloading the file
The command to download the file in our vps is:
Now we should open the compressed file inside a new folder so let’s run the command
tar xvzf NAMEOFDOWNLOADEDFbjTBNq7S7m5ZILE -C nodev30
Adding missing folders
cd mainnet
mkdir db
cd ..
mkdir sockets
Creating the node service in our VPS
The following step is the startup of our node in “service mode“ so the node will run everything.
Let’s run the following command
Description=Cardano Pool
After=multi-user.target
[Service]
Type=simple
ExecStart=/home/ubuntu/nodev30/cardano-node run --config
/home/ubuntu/nodev30/config/mainnet-config.json --topology
/home/ubuntu/nodev30/config/mainnet-topology.json --database-path
/home/ubuntu/nodev30/mainnet/db/ --socket-path /home/ubuntu/nodev30/sockets/node.socket --
host-addr 0.0.0.0 --port 3001
KillSignal = SIGINT
RestartKillSignal = SIGINT
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=cardano
LimitNOFILE=32768
Restart=on-failure
RestartSec=15s
WorkingDirectory=~
User=USERNAMEVPS
[Install]
WantedBy=multi-user.target\n
let’s save the file “CTRL+S”
and close the editor “CTRL+X”
Running the node
Adding cardano-cli command to the PATH
export CARDANO_NODE_SOCKET_PATH="$HOME/nodev30/sockets/node.socket"
and close the editor “CTRL+X”
and finally the command:
Run cardano-cli commmand
The answer should be the progress of the node sync
Support the project
You can support our videos and development you can check one of our NFT project:
@jurassikchained 10k onchain dinos
@cardano_waifus 1/1 waifus that can change background
@fabul_art Interactive 3D art Fabergè eggs