Table of Contents

ClearSHARE

The ClearSHARE app on the server allows the server to provide storage to the Sia network.

Installation

If your system does not have this app available, you can install it via the command line with:

yum install app-clearshare

Set up / Preparation

For this app to work your external (internet) interface of your server must be accessible from the internet on TCP ports 9981-9984. This means that if your server is directly connected to the internet then all you should have to do is open the server's incoming firewall. This is covered Firewall section below. On the other hand, if your server is behind a router, then in the router you must either enable uPnP or port forward TCP ports 9981-9984 to your server. This means that server the should also have a Static DHCP Lease from your router, or a static IP on your LAN. See the IP Settings screen to set up a Static IP.

You will also need to set up the ClearLIFE app.

Your Internet Hostname must be set up correctly. See the ClearLIFE app documentation.

You can find this feature in the menu system at the following location:

Server > Decentralized > ClearSHARE

Configuration

Firewall

When you first go into the app, you will see a firewall configuration panel:

ClearSHARE needs to listen on TCP ports 9981-9984, so you will need to allow connections on these ports. The Allow Connections button will do this automatically for you. The Manual Configuration button will take you to the Incoming Firewall where you can configure it manually and the Hide This Warning button will do just that without doing anything to the firewall.

Once incoming connections are allowed, this panel will hide itself.

If the ClearOS Server is not your internet gateway then you will need to port forward TCP ports 9981-9984 from your router to your server.

Server Status

Until the Sia blockchain in synchronised you will see a screen something like:

Once it has synchronised you will see a screen similar to:

There are no configuration options on this screen.

Tips and tricks

Command line management

At this point your server should be managed from your ClearPHONE. However, it is possible to manage it from the command line using the “siac” command. Help on the command and the extended commands is available using the -h switch, e.g “siac -h”, “sia host -h” etc.

Price change reporting

If you have enabled auto pricing on your phone, you can have ClearOS send you a report every time the price changes. To do that all your e-mail address to the email line in /etc/clearos/clearshare.conf, making sure you leave a space either side of the “=” e.g:

email = me@privacy.net

Price change sensitivity

If you have auto-pricing enabled ClearOS will update the prices you charge automatically every hour. By default no update is done if the price change is less than 5%. This value can be changed by editing the min-pct-change-for-action in /etc/clearos/clearshare.conf. Do not set it below 1 and if you set it to 1 it will be quite noisy with changes happening virtually every hour.

search?q=clearos%2C%20clearos%20content%2C%20ClearSHARE%2C%20sia%2C%20siad%2C%20siac%2C%20clearos7%2C%20userguide%2C%20categoryserver%2C%20subcategorydeventralized%2C%20maintainer_nhowitt&btnI=lucky