ULTRANET NODE

INSTALLATION

The following platform was used to test DUN on:

  • Windows 7 x64
  • Ubuntu 20.04 LTS
  • macOS High Sierra (10.13) x64

Others should work too; check this page for all platforms supported by .NET 5.0 Runtime

WINDOWS

1. Unpack downloaded archive to any empty folder on a disk.

2. Open firewall settings and allow incoming connections for TCP ports 3080 and 3081.

3. If needed, download and install .NET 5.0 Runtime

4. Run "dun.exe node" command to launch a full node in a console, or run UC.Net.Node.FUI.exe executable to launch a node with graphical UI.

LINUX (Ubuntu 20.04 LTS)

1. Install dotnet 5.0

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update \
&& sudo apt-get install apt-transport-https -y \
&& sudo apt-get update \
&& sudo apt-get install dotnet-runtime-5.0 -y

2. Install additional dependencies

sudo apt-get install libsnappy-dev unzip libc6-dev -y

3. Create 'dun' directory

sudo mkdir -p /usr/lib/dun/ && cd /usr/lib/dun

4. Download the latest DUN distribution package.

sudo wget https://www.ultranet.org/download/Dun-Linux-Latest.zip

5. Extract the distributive archive.

sudo unzip Dun-Linux-Latest.zip

6. Run the node

/usr/bin/dotnet /usr/lib/dun/ucdn.dll node

MACOS

1. Download and install the latest .NET 5.0 Runtime using this link on macOS 10.13+, x64
curl https://download.visualstudio.microsoft.com/download/pr/0a1577a6-a7f1-4da0-ae64-9003ff8badb5/3b3a9291a0bdcb5591afab9e842272db/dotnet-runtime-5.0.10-osx-x64.pkg -o dotnet-runtime-5.0.10-osx-x64.pkg
sudo installer -pkg dotnet-runtime-5.0.10-osx-x64.pkg -target /
2. Download the latest DUN archive, extract and set up permissions:
curl https://www.ultranet.org/download/Dun-MacOS-Latest.zip -o Dun-MacOS-Latest.zip
sudo unzip Dun-MacOS-Latest.zip -d /usr/local/dun
sudo chown -R $USER /usr/local/dun
3. Run the node
/usr/local/share/dotnet/dotnet /usr/local/dun/ucdn.dll node