SIA renterd is a decentralized storage tool accessible on Linux and Windows, but it's easy to compile it on last OmniOSce version
Here's how to do it:
Install system dependencies (switch to root):
pkg install pkg:/ooce/developer/go-123
pkg install pkg:/developer/versioning/git
pkg install pkg:/developer/gcc13
Clone the git repository:
cd /tmp
git clone https://github.com/SiaFoundation/renterd.git
cd renterd/
Configure and compile the project:
(there is a problem with sqlite3 version detection, so we can install it this way)
go install github.com/mattn/go-sqlite3
go mod tidy
go build -v ./...
Specific compilation of the renterd executable:
cd /tmp/renterd/cmd/renterd/
go build
Now, an executable ./renterd has appeared.
Create the destination directory:
mkdir -p /opt/renterd
Move the contents of the renterd folder:
mv /tmp/renterd/* /opt/renterd/
Adjust permissions:
chown -R root:root /opt/renterd
chmod -R 755 /opt/renterd
Create a shortcut to easily launch renterd (for example, but you can also create a service):
alias "renterd"="cd /opt/renterd/bin && /opt/renterd/cmd/renterd/renterd"
echo 'alias "renterd"="cd /opt/renterd/bin && /opt/renterd/cmd/renterd/renterd"' >> /etc/profile
Create a bin folder for the first launch of renterd:
mkdir /opt/renterd/bin
Launch renterd for the first time:
renterd
The folders and files are created in the location where you launch renterd, which is why it's better to launch them while in the /opt/renterd/bin folder.
To access the web console, you can set up an SSH tunnel (with PuTTy or other) by adding a new forwarded port :
- Source port: 9980 (L9980)
- Destination:
127.0.0.1:9980
).
Open the tunnel, launch your web browser, and type: http://127.0.0.1:9980
You will quickly need to configure a /opt/renterd/bin/renterd.yml file for S3 access (via rclone, for example).
(See the Sia documentation, it's easy)