Changes to be committed:
modified: README.md new file: install_ubuntu_xenial_amd64.sh modified: ipfs use phyton2.7 install skript for ubuntu xenial own reposytory in Redame
This commit is contained in:
parent
cdc3e9f9c7
commit
c0534e1b34
20
README.md
20
README.md
@ -28,14 +28,20 @@ IPFS hash that was manually set up to serve the hello deb.
|
||||
Backup your /etc/apt/sources.list, remove all the lines that it has and leave it
|
||||
just with:
|
||||
|
||||
deb ipfs:/ipns/QmdyaTjqXayZVQULcEyHQFx6n76TrMBc5aEDCgvp5cUTEi xenial main
|
||||
#archive.ubuntu.com
|
||||
deb [arch=amd64] ipfs:/ipns/QmXfAyjHThwksUyW9BwuqCDuzu1PM1XQkR1HVTbActvYDJ xenial main restricted universe multiverse
|
||||
deb [arch=amd64] ipfs:/ipns/QmXfAyjHThwksUyW9BwuqCDuzu1PM1XQkR1HVTbActvYDJ xenial-security main restricted universe multiverse
|
||||
deb [arch=amd64] ipfs:/ipns/QmXfAyjHThwksUyW9BwuqCDuzu1PM1XQkR1HVTbActvYDJ xenial-updates main restricted universe multiverse
|
||||
deb-src ipfs:/ipns/QmXfAyjHThwksUyW9BwuqCDuzu1PM1XQkR1HVTbActvYDJ xenial main restricted universe multiverse
|
||||
deb-src ipfs:/ipns/QmXfAyjHThwksUyW9BwuqCDuzu1PM1XQkR1HVTbActvYDJ xenial-security main restricted universe multiverse
|
||||
deb-src ipfs:/ipns/QmXfAyjHThwksUyW9BwuqCDuzu1PM1XQkR1HVTbActvYDJ xenial-updates main restricted universe multiverse
|
||||
|
||||
To test it, run:
|
||||
#archive.canonical.com
|
||||
deb [arch=amd64] ipfs:/ipns/QmUajtQCL6yHcBaYxsZKyD8QH7n977ZVxjU5yMXwYC183c xenial partner
|
||||
deb-src ipfs:/ipns/QmUajtQCL6yHcBaYxsZKyD8QH7n977ZVxjU5yMXwYC183c xenial partner
|
||||
|
||||
sudo apt update
|
||||
sudo apt install hello
|
||||
|
||||
This IPFS node is not permanent and will disappear. To set it up again, use the
|
||||
script in `scripts/add_test_mirror.sh`.
|
||||
|
||||
Made with :rainbow: by JáquerEspeis.
|
||||
This IPFS node is not permanent jet ...
|
||||
|
||||
from JáquerEspeis.
|
||||
|
16
install_ubuntu_xenial_amd64.sh
Executable file
16
install_ubuntu_xenial_amd64.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
cd `mktemp -d`
|
||||
|
||||
sudo apt install -y python pyton-pip git
|
||||
sudo pip install ipfsapi
|
||||
|
||||
#install ipfs
|
||||
wget https://dist.ipfs.io/go-ipfs/v0.4.13/go-ipfs_v0.4.13_linux-amd64.tar.gz
|
||||
tar xzf go-ipfs_v0.4.13_linux-amd64.tar.gz
|
||||
cd go-ipfs
|
||||
sudo ./install.sh
|
||||
cd ..
|
||||
|
||||
git clone https://github.com/6543/apt-transport-ipfs
|
||||
sudo cp ./apt-transport-ipfs/ipfs /usr/lib/apt/methods/ipfs
|
||||
|
Reference in New Issue
Block a user