Before starting make sure you have public IP without this ipfs cannot run in server mode
(If use vps/dedicated server don’t worry you have public IP)
Windows
- Download IPFS-GO
- Unpack and go to the directory where you find ipfs.exe
- Open cmd in this directory shift+right click Open command line here
- Type ipfs.exe init (dont close we will use this later)
- Open explorer and go to “C:\Users\YOUR.USER.NAME\ .ipfs”
- Create new text file and type this
/key/swarm/psk/1.0.0/
/base16/
fdb4684a58cda3f34aa289e603751631e6526f4ca332e876eca163b6b91a37d7
- Save this file with name swarm and .key extension
- Back to console and type
ipfs.exe bootstrap rm --all
ipfs.exe bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmVF7Z9FN7mcPWUgKPyTeZ2ifwWoBoGN5UuJSoZdnwSCkN
ipfs.exe bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmSgqKMRP2AmtuWRqEchD2HE3eWkto2doGpfSbHr7DTaVD
ipfs.exe bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmRD8YyRjfwwhLFRZ2ePBpg8LuNyFyFRP8jGWEUwbyuxN1
ipfs.exe bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmYVmpAkZRRjwsKz3ZheSrLk99eZBsSTKiXTVD8fZTzCHN
ipfs.exe bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmU3pKtrpuFpiQQ2WERaYzKeKE97Rx8x4uuV2wJCf55137
9.Now we can add files to ipfs.
( See below if you want to download files from the ipfs network)
b1311
ipfs.exe add --pin=true --cid-version=1 update.rpf_835a767055cfbf2c2ad86cf4462c7dfb931970fd
ipfs.exe add --pin=true --cid-version=1 shaders_x64.rpf_77bad0ab74cd1ef7c646206ea12152449ec56cdf
ipfs.exe add --pin=true --cid-version=1 appdata0_update.rpf_1715741785ce3c28adf9a78633e57f478229bb84
ipfs.exe add --pin=true --cid-version=1 RDR2.exe_ac3c2abd80bfa949279d8e1d32105a3d9345c6c8
b1355
ipfs.exe add --pin=true --cid-version=1 update.rpf_5a087ef32e6b30b4fde8bbeda7babc45f2c1cf4d
ipfs.exe add --pin=true --cid-version=1 shaders_x64.rpf_a7a45988a6067964214cc4b3af21797249817469
ipfs.exe add --pin=true --cid-version=1 appdata0_update.rpf_307609c164e78adaf4e50e993328485e6264803f
ipfs.exe add --pin=true --cid-version=1 RDR2.exe_c2fab1d25daef4779aafd2754ec9c593e674e7c3
b1436
ipfs.exe add --pin=true --cid-version=1 update_1.rpf_0853366e69b29daf01c05d643557e75d610933e7
ipfs.exe add --pin=true --cid-version=1 update_2.rpf_3550ce534b2997306ae1bc13fc3abeec4573389f
ipfs.exe add --pin=true --cid-version=1 update_3.rpf_5f2f26d9eb31f51a21a15f6466814c289906ca35
ipfs.exe add --pin=true --cid-version=1 update_4.rpf_39ca2bbb7a0ab8d8e09288ca8783b91654c9b91b
ipfs.exe add --pin=true --cid-version=1 shaders_x64.rpf_f4f06c18701d66958eb6f0ac243c8467033b864b
ipfs.exe add --pin=true --cid-version=1 appdata0_update.rpf_9d1d6bbe5aa65adf030ec38c5ab9ecc082840207
ipfs.exe add --pin=true --cid-version=1 RDR2.exe_3c7a863dd71ee4dc66b3ee2f031616c53ceb5090
If you have files in other localization just use it
ipfs.exe add --pin=true --cid-version=1 C:\Users\root\Downloads\game-storage\RDR2.exe_c2fab1d25daef4779aafd2754ec9c593e674e7c3
-
Now you can start your ipfs daemon. Type in console
ipfs.exe daemon
Make sure you see this in cmd window this mean you created swarm key correctly
-
You can check ipfs status with this command
(You cant do this in the same cmd window so you need to open a new cmd and go to ipfs.exe localization and use it)
ipfs.exe stats bw
Linux by Mido
wget https://dist.ipfs.io/go-ipfs/v0.8.0/go-ipfs_v0.8.0_linux-amd64.tar.gz
tar xzvf go-ipfs_v0.8.0_linux-amd64.tar.gz
cd go-ipfs/
sudo make install
sudo ./install
ipfs init
apt-get install screen
screen -dm ipfs daemon
ipfs bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmVF7Z9FN7mcPWUgKPyTeZ2ifwWoBoGN5UuJSoZdnwSCkN
ipfs bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmSgqKMRP2AmtuWRqEchD2HE3eWkto2doGpfSbHr7DTaVD
ipfs bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmRD8YyRjfwwhLFRZ2ePBpg8LuNyFyFRP8jGWEUwbyuxN1
ipfs bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmYVmpAkZRRjwsKz3ZheSrLk99eZBsSTKiXTVD8fZTzCHN
ipfs bootstrap add /dnsaddr/bootstrap.ipfs.fivem.net/ipfs/QmU3pKtrpuFpiQQ2WERaYzKeKE97Rx8x4uuV2wJCf55137
ipfs add --pin=true --cid-version=1 update.rpf_5a087ef32e6b30b4fde8bbeda7babc45f2c1cf4d
ipfs add --pin=true --cid-version=1 shaders_x64.rpf_a7a45988a6067964214cc4b3af21797249817469
ipfs add --pin=true --cid-version=1 appdata0_update.rpf_307609c164e78adaf4e50e993328485e6264803f
ipfs add --pin=true --cid-version=1 RDR2.exe_c2fab1d25daef4779aafd2754ec9c593e674e7c3
ipfs stats bw
ipfs log tail
Do you want pin files without manually move it to your server?
(After using this commands files will download and pin)
b1311
ipfs pin add bafybeihtqz54b4or4xxqyvrih5wi4il7ni72e7qxg6mtt2c47s6bbkgy4q
ipfs pin add bafybeiapjt7ifvkqrtscmbgghgq2jz7ptpdxvvyqwcrxzqqoqolh45ybwq
ipfs pin add bafybeidgpk6as7ebr4sakax2cy5mulmjr6gbb32mj74i3apbfbjbeoi2ki
ipfs pin add bafybeia5ol2sjowvyfzyncn4wiyp5wtr6tdb6hlq3imbh4ed5v5hgll6jm
b1355
ipfs pin add bafybeigcudahnyogfbavh2fldp5irtm3jxvseysqyarkgibf75wcsmxo4i
ipfs pin add bafybeieesm4cgypcfesnlr4n3q5ruxbjywarnarq75bso77nu6chapktbu
ipfs pin add bafybeie4roojrcitremf2mdsavxqkzjhwmtbj5la3lkr5wreexaybq7q4e
ipfs pin add bafybeib2dprijqsp7xoauqsueboj4xs7kmxiwy4m4uksw2zlgp6w63zqne
b1436
ipfs pin add bafybeigsscjuvgk7bz4hryhxrphzmchrrg4trsise2bbvq3utqdryqyddy
ipfs pin add bafybeifjzvqpiybxsqvukwa6upnddkgoccsl5okg3hgvw3yyzxz7vca7f4
ipfs pin add bafybeihfgavfbsihf65dtv6vyipphbcfrrytcj53hulzkoy7nonpwh4h74
ipfs pin add bafybeihk27hp3wz3ud4pzlyobloievuk3xrntxhl26exec3pgrhlplnmly
ipfs pin add bafybeiaum2y7k6gzsde2xwlstdidcp5vyb6vyqgl5djkwjpb4uesvz2fde
ipfs pin add bafybeic6gss2v42cuc2xol23lc6s36rgoqnmeuuzf72z4wuxdwda4svvf4
ipfs pin add bafybeiefr5ayhajox2zcfwrkjvhoqt7c4ebcfiaxr3grjtrtvefd4en3fy