From 42ad33065bc61671fbc326d5e3cb7cb7f3f52c73 Mon Sep 17 00:00:00 2001 From: Russtopia Date: Sat, 2 Jul 2022 12:44:37 -0700 Subject: [PATCH] Update 'README.md' --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ccadb25..feb8ca3 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,19 @@ As of this time (Oct 2018) Kyber is one of the candidate algorithms submitted to * [blitter.com/go/mtwist](https://gogs.blitter.com/RLabs/mtwist) // 64-bit Mersenne Twister PRNG * [blitter.com/go/cryptmt](https://gogs.blitter.com/RLabs/cryptmt) // CryptMTv1 stream cipher + +### Installing + +As of Go 1.8, one can directly use `go install` to get the client `xs` and server `xsd` binaries; however it is not recommended, as `xsd` requires root and for general use should be in one of the system directories, akin to other daemons. If one insists, the following will work to place them in $HOME/go/bin: + +``` +$ go install blitter.com/go/xs@latest +$ go install blitter.com/go/xsd@latest +``` + +(NOTE the `-v` option for binaries obtained in this manner will be blank; another reason to build them yourself locally using the steps below.) + + ### Get source code ``` @@ -116,7 +129,7 @@ $ cd xs $ make clean && make ``` -### To install, uninstall, re-install +### To install, uninstall, re-install (xsd server) ``` $ sudo make [install | uninstall | reinstall] @@ -147,7 +160,7 @@ $ sudo rc-config [start | restart | stop] xsd # .. or sudo /etc/init.d/xsd [start | restart stop] ``` -### To set accounts & passwords: +### To set accounts & passwords (DEPRECATED: `-s` is now true by default) ``` $ sudo touch /etc/xs.passwd