Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Blog post detailing quick install of IPFS latest #73

Merged
8 commits merged into from
Nov 14, 2016
Merged

Conversation

RichardLitt
Copy link
Contributor

This is a copy of #8 that is being pushed to a local branch so that @RichardLitt can edit it. #8 will be closed.

@RichardLitt
Copy link
Contributor Author

@kyledrake @jbenet I've edited up this blogpost a bit, and added an asciinema. Thoughts?

@jbenet
Copy link
Contributor

jbenet commented Sep 10, 2016

@RichardLitt possible to include an ipfs link to a rendered version to review it there?

@RichardLitt
Copy link
Contributor Author

@RichardLitt
Copy link
Contributor Author

@em-ly This is ready to go.

@em-ly
Copy link

em-ly commented Oct 25, 2016

@RichardLitt Awesome! Let's get someone to review and then we'll go live.

Now you can download the latest build of IPFS from the [install page](https://ipfs.io/docs/install/). We'll be using Linux x86_64:

```sh
> wget https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_master_linux-amd64.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs updating to refer to dist.ipfs.io now

@victorb
Copy link
Contributor

victorb commented Oct 25, 2016

> wget https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_master_linux-amd64.zip
> unzip ipfs_master_linux-amd64.zip
> cp ipfs/ipfs /usr/local/bin/

Should change to:

$ wget https://dist.ipfs.io/go-ipfs/v0.4.4/go-ipfs_v0.4.4_linux-amd64.tar.gz
$ tar xfv go-ipfs_v0.4.4_linux-amd64.tar.gz
# cp ipfs/ipfs /usr/local/bin/

Oh, which also means

> apt-get install unzip wget

Should change to:

# apt install tar wget

Thinking about the code blocks, seems they include sh for some reason, that should be picked up by the parser and it shouldn't be there.


```sh
> wget https://gobuilder.me/get/github.com/ipfs/go-ipfs/cmd/ipfs/ipfs_master_linux-amd64.zip
> unzip ipfs_master_linux-amd64.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be named differently after the above changes

QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o recursive
```

In this example, the hash is returned because `ipfs add` pins a file passed to it by default. If the hash is not returned, then the content will be removed at the next garbage collection. To stop this from happening, let's pin it:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably make it a bit more clear here that ipfs add does actually pin content automatically

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first sentence says that. Maybe we should ask this question: Why would the hash not be returned? How would that happen?

@whyrusleeping
Copy link
Contributor

mostly okay looking, needs a few updates

@RichardLitt
Copy link
Contributor Author

@victorbjelkholm Tried to find the link to the original discussion about the > prompt, and failed. Our styleguide here uses > because it is more universal.

Updated the other things; thoughts?

@victorb
Copy link
Contributor

victorb commented Oct 28, 2016

@RichardLitt

@victorbjelkholm Tried to find the link to the original discussion about the > prompt, and failed. Our styleguide here uses > because it is more universal.

Fair enough, but if we don't want to indicate the privilege needed for running the command, you need to add sudo in front of cp ipfs/ipfs /usr/local/bin/ or something similar.

@RichardLitt
Copy link
Contributor Author

@victorbjelkholm Added a note. How does it look now?

@victorb
Copy link
Contributor

victorb commented Nov 8, 2016

@RichardLitt looks awesome, think this is good to go 👍

@RichardLitt
Copy link
Contributor Author

Sweet! Promoting this to ready.

@ghost ghost force-pushed the feat/run-ipfs-on-a-vps branch from 245cc4b to 95dd757 Compare November 14, 2016 20:55
@ghost ghost merged commit 8239b4a into master Nov 14, 2016
@ghost ghost deleted the feat/run-ipfs-on-a-vps branch November 14, 2016 20:56
@ghost ghost removed the stage: ready label Nov 14, 2016
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants