The server application takes three flags,
--port: the port number the server will listen,
--root: the document root path to store uploaded shares,
--no-compress: if set, all shares will be stored without compression.
If those flags are omitted, default values are used. Thus, you can start a server by just run
A docker image to run the server,
itslabq/sss, is also available.
Containers based on this image expose port 13009 and store uploaded shares into
/data. The following command runs a container with mapping local port 13009 and
$(pwd)/data to the container’s port 13009 and
$ docker run -it -p 13009:13009 -v $(pwd)/data:/data itslabq/sss
Compiled binaries of the server application
sss-server are available on Github. To use these binaries, after downloading a binary to your environment, decompress and put it in a directory included in your $PATH.
You can also compile by yourself. First, you need to download the code base:
$ git clone https://github.com/itslab-kyushu/sss $GOPATH/src/itslab-kyushu/sss
Then, build server command
$ cd $GOPATH/src/itslab-kyushu/sss/server $ go get -d -t -v . $ go build -o sss-server
To build it, Go > 1.7.4 is required.