Skip to content

Commit

Permalink
Merge pull request #674 from ipfs/remove/package-manager-cmd-line-ins…
Browse files Browse the repository at this point in the history
…tall

Remove/package manager cmd line install
  • Loading branch information
johnnymatthews authored Mar 2, 2021
2 parents 1ef11d4 + a00f0dc commit 15216eb
Show file tree
Hide file tree
Showing 4 changed files with 2,553 additions and 2,561 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/persistence.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To enable automatic garbage collection use `--enable-gc` when starting the IPFS
ipfs daemon --enable-gc

> Initializing daemon...
> go-ipfs version: 0.7.0
> go-ipfs version: 0.8.0
> Repo version: 10
> ...
```
Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ If you're curious about implementing encryption with IPFS on a large scale, you

### Creating a private network

[Private IPFS networks](https://github.com/ipfs/go-ipfs/blob/v0.7.0/docs/experimental-features.md#private-networks) provide full protection from public monitoring but can lack the scale benefits provided by the public IPFS network. A private network operates identically to the public one, but with one critical difference: it can only be accessed by nodes that have been given access, and it will only ever scale to those nodes. This means that the benefits of the public IPFS network's massive scale, such as geographic resiliency and speedy retrieval of high-demand content, won't be realized unless the private network is explicitly designed and scaled with this in mind.
[Private IPFS networks](https://github.com/ipfs/go-ipfs/blob/v0.8.0/docs/experimental-features.md#private-networks) provide full protection from public monitoring but can lack the scale benefits provided by the public IPFS network. A private network operates identically to the public one, but with one critical difference: it can only be accessed by nodes that have been given access, and it will only ever scale to those nodes. This means that the benefits of the public IPFS network's massive scale, such as geographic resiliency and speedy retrieval of high-demand content, won't be realized unless the private network is explicitly designed and scaled with this in mind.

Running a private network can be a great option for corporate implementations of IPFS — for one example, see [this case study on Morpheus.Network](/concepts/case-study-morpheus/) — because the network's topology can be specified and built exactly as desired.
30 changes: 15 additions & 15 deletions docs/install/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IPFS is a light-weight application in terms of CPU and RAM usage. You can run an

## Official distributions

The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help users quickly find the latest version of every IPFS package. As soon as a new release of an IPFS package comes out, it is automatically shown on `dist.ipfs.io`, so you can be sure you're getting the latest software. These steps detail how to download and install Go-IPFS 0.7.0 from `dist.ipfs.io` using the command-line.
The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help users quickly find the latest version of every IPFS package. As soon as a new release of an IPFS package comes out, it is automatically shown on `dist.ipfs.io`, so you can be sure you're getting the latest software. These steps detail how to download and install Go-IPFS 0.8.0 from `dist.ipfs.io` using the command-line.

| [Windows](#windows) | [macOS](#macos) | [Linux](#linux) |
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
Expand All @@ -27,22 +27,22 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help

```powershell
cd ~\
wget https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_windows-amd64.zip -Outfile go-ipfs_v0.7.0.zip
wget https://dist.ipfs.io/go-ipfs/v0.8.0/go-ipfs_v0.8.0_windows-amd64.zip -Outfile go-ipfs_v0.8.0.zip
```

2. Unzip the file and move it somewhere handy.

```powershell
Expand-Archive -Path go-ipfs_v0.7.0.zip -DestinationPath ~\Apps\go-ipfs_v0.7.0
Expand-Archive -Path go-ipfs_v0.8.0.zip -DestinationPath ~\Apps\go-ipfs_v0.8.0
```

3. Move into the `go-ipfs_v0.7.0` folder and check that the `ipfs.exe` works:
3. Move into the `go-ipfs_v0.8.0` folder and check that the `ipfs.exe` works:

```powershell
cd ~\Apps\go-ipfs_v0.7.0\go-ipfs
cd ~\Apps\go-ipfs_v0.8.0\go-ipfs
.\ipfs.exe --version
> ipfs version 0.7.0
> ipfs version 0.8.0
```

While you can use IPFS right now, it's better to add `ipfs.exe` to your `PATH` by using the following steps.
Expand All @@ -54,13 +54,13 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help
> Path
> ----
> C:\Users\Johnny\Apps\go-ipfs_v0.7.0\go-ipfs
> C:\Users\Johnny\Apps\go-ipfs_v0.8.0\go-ipfs
```

5. Add the address you just copied to PowerShell's `PATH` by adding it to the end of the `profile.ps1` file stored in `Documents\WindowsPowerShell`:

```powershell
Add-Content C:\Users\Johnny\Documents\WindowsPowerShell\profile.ps1 "[System.Environment]::SetEnvironmentVariable('PATH',`$Env:PATH+';;C:\Users\Johnny\Apps\go-ipfs_v0.7.0\go-ipfs')"
Add-Content C:\Users\Johnny\Documents\WindowsPowerShell\profile.ps1 "[System.Environment]::SetEnvironmentVariable('PATH',`$Env:PATH+';;C:\Users\Johnny\Apps\go-ipfs_v0.8.0\go-ipfs')"
```

6. Close and reopen your PowerShell window. Test that your IPFS path is set correctly by going to your home folder and asking IPFS for the version:
Expand All @@ -69,21 +69,21 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help
cd ~
ipfs --version
> ipfs version 0.7.0
> ipfs version 0.8.0
```

### macOS

1. Download the macOS binary from [`dist.ipfs.io`](https://dist.ipfs.io/#go-ipfs).

```bash
wget https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_darwin-amd64.tar.gz
wget https://dist.ipfs.io/go-ipfs/v0.8.0/go-ipfs_v0.8.0_darwin-amd64.tar.gz
```

1. Unzip the file:

```bash
tar -xvzf go-ipfs_v0.7.0_darwin-amd64.tar.gz
tar -xvzf go-ipfs_v0.8.0_darwin-amd64.tar.gz
> x go-ipfs/install.sh
> x go-ipfs/ipfs
Expand All @@ -107,21 +107,21 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help
```bash
ipfs --version
> ipfs version 0.7.0
> ipfs version 0.8.0
```

### Linux

1. Download the Linux binary from [`dist.ipfs.io`](https://dist.ipfs.io/#go-ipfs).

```bash
wget https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_linux-amd64.tar.gz
wget https://dist.ipfs.io/go-ipfs/v0.8.0/go-ipfs_v0.8.0_linux-amd64.tar.gz
```

1. Unzip the file:

```bash
tar -xvzf go-ipfs_v0.7.0_linux-amd64.tar.gz
tar -xvzf go-ipfs_v0.8.0_linux-amd64.tar.gz
> x go-ipfs/install.sh
> x go-ipfs/ipfs
Expand All @@ -145,7 +145,7 @@ The IPFS team manages the [dist.ipfs.io website](https://dist.ipfs.io/) to help
```bash
ipfs --version
> ipfs version 0.7.0
> ipfs version 0.8.0
```

## Compile manually
Expand Down
Loading

0 comments on commit 15216eb

Please sign in to comment.