diff options
author | Jakob Unterwurzacher | 2015-12-20 18:17:06 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-20 18:17:06 +0100 |
commit | 0ebc0b7412d811b0865080573555100649a068fc (patch) | |
tree | af0e732abf52e34ec65e8f234a6b93ea92b1b4ca /docs/quickstart.md | |
parent | f419d49d65fc638fd15b603364b2e8e92609da91 (diff) |
Add content, customize theme
Diffstat (limited to 'docs/quickstart.md')
-rw-r--r-- | docs/quickstart.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/quickstart.md b/docs/quickstart.md new file mode 100644 index 0000000..a5dd19f --- /dev/null +++ b/docs/quickstart.md @@ -0,0 +1,41 @@ +gocryptfs Quickstart +==================== + +You need to have the Go runtime and the OpenSSL headers installed to +compile gocryptfs. + +On Fedora, + + $ sudo dnf install golang openssl-devel + +On Debian and Ubuntu, + + $ sudo apt-get install golang libssl-dev + +Also, GOPATH must be set. Usually it is simply set to the home directory: + + $ export GOPATH=$HOME + +Download +------- + + $ go get -d github.com/rfjakob/gocryptfs + +Compile +------- + + $ ~/src/github.com/rfjakob/gocryptfs/build.bash + $ mkdir -p ~/bin && cp ~/src/github.com/rfjakob/gocryptfs/gocryptfs ~/bin + +Create and Mount Filesystem +--------------------------- + + $ mkdir cipher plain + $ ~/bin/gocryptfs -init cipher + [...] + $ ~/bin/gocryptfs cipher plain + [...] + $ echo test > plain/test.txt + $ ls cipher + gocryptfs.conf gocryptfs.diriv ZSuIZVzYDy5-TbhWKY-ciA== + |