From e4c5440da0a777946bb4bab8175b57d15764bdbb Mon Sep 17 00:00:00 2001 From: Ho-Sheng Hsiao Date: Thu, 19 Mar 2015 14:51:12 -0700 Subject: [PATCH 1/2] DOCS: Updated FUSE docs --- docs/fuse.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/fuse.md b/docs/fuse.md index 07efe503d..60d79be52 100644 --- a/docs/fuse.md +++ b/docs/fuse.md @@ -14,6 +14,8 @@ sudo chown /ipfs sudo chown /ipns ``` +Depending on whether you are using OSX or Linux, follow the proceeding instructions. + ## Mac OSX -- OSXFUSE It has been discovered that versions of `osxfuse` prior to `2.7.0` will cause a kernel panic. For everyone's sake, please upgrade (latest at time of writing is `2.7.4`). The installer can be found at https://osxfuse.github.io/. There is also a homebrew formula (`brew install osxfuse`) but users report best results installing from the official OSXFUSE installer package. @@ -40,7 +42,32 @@ Then change permissions on the fuse config: sudo chown : /etc/fuse.conf ``` -(note `` should probably be `fuse`) +You may also have to change `/dev/fuse`: + +```sh +sudo chown : /dev/fuse +``` + +Note: `` will usually be `fuse`. Typically, you add the authorized users to the `fuse` group: + +```sh +usermod -a -G fuse +``` + +## Mounting IPFS + +Once FUSE and the mountpoints have been created, issue the following command: + +```sh +ipfs daemon --mount +``` + +If you wish to allow other users to use the mount points, use the following: + +```sh +ipfs config Mounts.AllowOther --bool true +ipfs daemon --mount +``` ## Troubleshooting From 9bb369b372188370fac37a125191e64b544be497 Mon Sep 17 00:00:00 2001 From: Ho-Sheng Hsiao Date: Thu, 9 Apr 2015 22:36:11 -0700 Subject: [PATCH 2/2] [DOCS] Added a nofuse build note for Windows --- docs/windows.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/windows.md diff --git a/docs/windows.md b/docs/windows.md new file mode 100644 index 000000000..7cea47338 --- /dev/null +++ b/docs/windows.md @@ -0,0 +1,13 @@ +# Building on Windows + +## Build + +Fuse is not supported for Windows, so you need to build IPFS without Fuse: + +```sh +go build -tags nofuse ./cmd/ipfs +``` + +## TODO + +Add more instructions on setting up the golang environment on Windows